Remove unreachable element

pull/668/head
ioedeveloper 4 years ago
parent ef325e4fe5
commit 9c9aecf5fe
  1. 2
      apps/remix-ide-e2e/src/commands/addFile.ts

@ -19,7 +19,7 @@ function addFile (browser: NightwatchBrowser, name: string, content: NightwatchC
.click('li[data-id="treeViewLitreeViewItembrowser/README.txt"]') // focus on root directory
.click('.newFile')
.waitForElementVisible('*[data-id="treeViewLitreeViewItembrowser/blank"]')
.scrollAndClick('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items')
// .scrollAndClick('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items')
.sendKeys('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items', name)
.sendKeys('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items', browser.Keys.ENTER)
.pause(2000)

Loading…
Cancel
Save