From 54700ee069ddcc7650e732413ec420a7f3d62374 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 9 Feb 2022 13:19:59 +0100 Subject: [PATCH] fix e2e --- apps/remix-ide-e2e/src/tests/gist.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/gist.test.ts b/apps/remix-ide-e2e/src/tests/gist.test.ts index d52085e5a5..ce348cbdae 100644 --- a/apps/remix-ide-e2e/src/tests/gist.test.ts +++ b/apps/remix-ide-e2e/src/tests/gist.test.ts @@ -36,9 +36,9 @@ module.exports = { .addFile('File.sol', { content: '' }) .executeScript(`remix.loadgist('${gistid}')`) // .perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('gists') } done() }) - .waitForElementVisible(`[data-id="treeViewLitreeViewItemgist-${gistid}"]`) - .click(`[data-id="treeViewLitreeViewItemgist-${gistid}"]`) - .openFile(`gist-${gistid}/README.txt`) + .waitForElementVisible(`[data-id="treeViewLitreeViewItem${gistid}"]`) + .click(`[data-id="treeViewLitreeViewItem${gistid}"]`) + .openFile(`${gistid}/README.txt`) // Remix publish to gist /* .click('*[data-id="fileExplorerNewFilepublishToGist"]') .pause(2000)