Update data-id for fileExplorer test

pull/668/head
ioedeveloper 4 years ago
parent 670329ddd4
commit ce4ee2d6d1
  1. 8
      apps/remix-ide-e2e/src/tests/fileExplorer.test.ts

@ -39,7 +39,7 @@ module.exports = {
.waitForElementVisible('*[data-id="treeViewLitreeViewItembrowser/5_Renamed_Contract.sol"]')
.rightClick('[data-path="browser/5_Renamed_Contract.sol"]')
.click('*[id="menuitemdelete"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.waitForElementVisible('*[data-id="modalDialogContainer-react"]')
.pause(2000)
.click('.modal-ok')
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItembrowser/5_Renamed_Contract.sol"')
@ -67,7 +67,7 @@ module.exports = {
.waitForElementVisible('*[data-id="treeViewLitreeViewItembrowser/Browser_E2E_Tests"]')
.rightClick('[data-path="browser/Browser_E2E_Tests"]')
.click('*[id="menuitemdelete"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.waitForElementVisible('*[data-id="modalDialogContainer-react"]')
.pause(2000)
.click('.modal-ok')
.waitForElementNotPresent('*[data-id="treeViewLitreeViewItembrowser/Browser_E2E_Tests"]')
@ -80,11 +80,11 @@ module.exports = {
.pause(10000)
.waitForElementVisible('*[data-id="fileExplorerNewFilepublishToGist"]')
.click('*[data-id="fileExplorerNewFilepublishToGist"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.waitForElementVisible('*[data-id="modalDialogContainer-react"]')
.pause(2000)
.click('.modal-ok')
.pause(2000)
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.waitForElementVisible('*[data-id="modalDialogContainer-react"]')
.pause(2000)
.click('.modal-ok')
.pause(2000)

Loading…
Cancel
Save