fix gist.spec.ts e2e test

pull/1671/head
Joseph Izang 3 years ago
parent 569db2fddc
commit e028786d35
  1. 6
      apps/remix-ide-e2e/src/tests/gist.test.ts

@ -72,7 +72,11 @@ module.exports = {
browser.clickLaunchIcon('home')
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('filePanel')
.scrollAndClick('*[data-id="landingPageImportFromGistButton"]')
// .scrollAndClick('*[data-id="landingPageImportFromGistButton"]')
.click('div[title="home"]')
.waitForElementVisible('button[data-id="landingPageImportFromGistButton"]')
.pause(1000)
.scrollAndClick('button[data-id="landingPageImportFromGistButton"]')
.waitForElementVisible('*[data-id="modalDialogModalTitle"]')
.assert.containsText('*[data-id="modalDialogModalTitle"]', 'Load a Gist')
.waitForElementVisible('*[data-id="modalDialogModalBody"]')

Loading…
Cancel
Save