fileexplorer and gist tests fix

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent 1021eb47e9
commit 169d8322d6
  1. 4
      apps/remix-ide-e2e/src/tests/fileExplorer.test.ts
  2. 2
      apps/remix-ide-e2e/src/tests/gist.test.ts

@ -46,8 +46,8 @@ module.exports = {
'Should create a new folder': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('*[data-id="treeViewLibrowser/contracts/1_Storage.sol"]')
.rightClick('[data-path="browser/contracts/1_Storage.sol"]')
.waitForElementVisible('*[data-id="treeViewLibrowser/readme"]')
.rightClick('[data-path="browser/readme"]')
.click('*[id="menuitemcreate folder"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')

@ -26,7 +26,7 @@ module.exports = {
browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('fileExplorers')
.rightClick('[data-path="browser/contracts/1_Storage.sol"]')
.rightClick('[data-path="browser/readme"]')
.click('*[id="menuitemcreate folder"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')

Loading…
Cancel
Save