Skip to content

Commit

Permalink
revert selector
Browse files Browse the repository at this point in the history
  • Loading branch information
joeizang committed Sep 18, 2023
1 parent 8ee2dfb commit 93f4142
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/remix-ide-e2e/src/commands/addFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo
done()
})
} else {
// browser.click('span[data-id="fileExplorerNewFilecreateNewFile"]')
browser.click('#fileExplorerMenuContainer > span#createNewFile')
browser.click('*[data-id="fileExplorerNewFilecreateNewFile"]')
.waitForElementContainsText('*[data-id$="/blank"]', '', 60000)
.sendKeys('*[data-id$="/blank"] .remixui_items', name)
.sendKeys('*[data-id$="/blank"] .remixui_items', browser.Keys.ENTER)
Expand Down

0 comments on commit 93f4142

Please sign in to comment.