fix e2e test

pull/5370/head
yann300 4 years ago
parent 6993c90dc5
commit a6bbd39193
  1. 2
      apps/remix-ide-e2e/src/commands/removeFile.ts

@ -40,7 +40,7 @@ function removeFile (browser: NightwatchBrowser, path: string, done: VoidFunctio
.perform(() => {
console.log(path, 'to remove')
browser.waitForElementVisible('*[data-id="default_workspaceModalDialogContainer-react"] .modal-ok')
.click('.modal-ok')
.click('*[data-id="default_workspaceModalDialogContainer-react"] .modal-ok')
.waitForElementNotPresent('[data-path="' + path + '"]')
done()
})

Loading…
Cancel
Save