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) }