From 9512ea7a0d8bf624309f911f748e34bbd7f99b03 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 3 Jun 2021 14:39:15 +0100 Subject: [PATCH] Fixed failing test --- apps/remix-ide-e2e/src/tests/gist.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/gist.spec.ts b/apps/remix-ide-e2e/src/tests/gist.spec.ts index 214aacae47..a46dba097f 100644 --- a/apps/remix-ide-e2e/src/tests/gist.spec.ts +++ b/apps/remix-ide-e2e/src/tests/gist.spec.ts @@ -54,8 +54,8 @@ module.exports = { .click('[data-id="default_workspace-modal-footer-cancel-react"]') .executeScript(`remix.loadgist('${gistid}')`) // .perform((done) => { if (runtimeBrowser === 'chrome') { browser.openFile('gists') } done() }) - .waitForElementVisible(`[data-id="treeViewLitreeViewItem/gist-${gistid}"]`) - .click(`[data-id="treeViewLitreeViewItem/gist-${gistid}"]`) + .waitForElementVisible(`[data-id="treeViewLitreeViewItemgist-${gistid}"]`) + .click(`[data-id="treeViewLitreeViewItemgist-${gistid}"]`) .openFile(`gist-${gistid}/README.txt`) } })