fileExplorer and Gist tests improvement

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent 169d8322d6
commit 574da6460d
  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/readme"]')
.rightClick('[data-path="browser/readme"]')
.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/readme"]')
.rightClick('[data-path="browser/README"]')
.click('*[id="menuitemcreate folder"]')
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')

Loading…
Cancel
Save