pull/3493/head
bunsenstraat 2 years ago committed by bunsenstraat
parent f96fdd26d2
commit 3a1c77e1a1
  1. 4
      apps/remix-ide-e2e/src/commands/addFile.ts

@ -54,6 +54,10 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo
suppressNotFoundErrors: true,
timeout: 60000
})
.waitForElementPresent({
selector: `//*[@data-id="tab-active" and contains(@title, "${name}")]`,
locateStrategy: 'xpath',
})
.setEditorValue(content.content)
.getEditorValue((result) => {
if(result != content.content) {

Loading…
Cancel
Save