pull/2868/head
filip mertens 2 years ago
parent 4d702acd54
commit c0e75c375a
  1. 4
      apps/remix-ide-e2e/src/commands/addFile.ts

@ -46,10 +46,8 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo
.waitForElementContainsText('*[data-id$="/blank"]', '', 60000)
.sendKeys('*[data-id$="/blank"] .remixui_items', name)
.sendKeys('*[data-id$="/blank"] .remixui_items', browser.Keys.ENTER)
.isVisible({
.waitForElementVisible({
selector: `li[data-id="treeViewLitreeViewItem${name}"]`,
abortOnFailure: false,
suppressNotFoundErrors: true,
timeout: 60000
})
.setEditorValue(content.content)

Loading…
Cancel
Save