From 3bbf045dac7ca259d35a5633266bf917fb6cdc62 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 9 Dec 2020 19:01:58 +0530 Subject: [PATCH] gist tests fixed --- apps/remix-ide-e2e/src/tests/gist.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/gist.test.ts b/apps/remix-ide-e2e/src/tests/gist.test.ts index 721ddbfb54..5754689b5c 100644 --- a/apps/remix-ide-e2e/src/tests/gist.test.ts +++ b/apps/remix-ide-e2e/src/tests/gist.test.ts @@ -48,6 +48,8 @@ module.exports = { .modalFooterCancelClick() .executeScript(`remix.loadgist('${gistid}')`) .perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('browser/gists') } done() }) + .waitForElementVisible(`li[key="browser/gists/${gistid}"]`) + .click(`li[key="browser/gists/${gistid}"]`) .openFile(`browser/gists/${gistid}/README`) .perform(done) }