diff --git a/apps/remix-ide-e2e/src/tests/gist.test.ts b/apps/remix-ide-e2e/src/tests/gist.test.ts index 97d7f6509f..2cbefb4d0c 100644 --- a/apps/remix-ide-e2e/src/tests/gist.test.ts +++ b/apps/remix-ide-e2e/src/tests/gist.test.ts @@ -153,7 +153,7 @@ module.exports = { .url('http://127.0.0.1:8080/#gist=' + gistId) .refreshPage() .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 15000) - .waitForElementVisible(`div[data-path='code-sample/gist-${gistId}/README.txt']`, 30000) + .waitForElementVisible(`#fileExplorerView li[data-path='gist-${gistId}/README.txt']`, 30000) .openFile(`gist-${gistId}/scripts/deploy_with_ethers.ts`) .getEditorValue((content) => { browser.assert.ok(content !== '')