fix addfile

pull/3530/head^2
filip mertens 2 years ago committed by Aniket
parent 0db3626137
commit 5835569826
  1. 2
      apps/remix-ide-e2e/src/commands/addFile.ts

@ -55,7 +55,7 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo
timeout: 60000
})
.waitForElementVisible({
selector: `//*[@data-id='tab-active' and @data-path="${name}"]`,
selector: `//*[@data-id='tab-active' and contains(@data-path, "${name}")]`,
locateStrategy: 'xpath'
})
.setEditorValue(content.content)

Loading…
Cancel
Save