Commit fe0bb2e6 authored by yann300's avatar yann300

fix e2e test

parent 4fe31d7e
......@@ -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()
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment