From ec1389a28c7d2cf5e97d9e513b2f7e78672d0397 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 9 Feb 2022 13:11:44 +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 0fd6efa234..d52085e5a5 100644 --- a/apps/remix-ide-e2e/src/tests/gist.test.ts +++ b/apps/remix-ide-e2e/src/tests/gist.test.ts @@ -140,9 +140,9 @@ module.exports = { }) .setValue('*[data-id="gisthandlerModalDialogModalBody-react"] input[data-id="modalDialogCustomPromp"]', testData.validGistId) .modalFooterOKClick('gisthandler') - .openFile(`gist-${testData.validGistId}/README.txt`) - .waitForElementVisible(`div[title='default_workspace/gist-${testData.validGistId}/README.txt']`) - .assert.containsText(`div[title='default_workspace/gist-${testData.validGistId}/README.txt'] > span`, 'README.txt') + .openFile(`${testData.validGistId}/README.txt`) + .waitForElementVisible(`div[title='default_workspace/${testData.validGistId}/README.txt']`) + .assert.containsText(`div[title='default_workspace/${testData.validGistId}/README.txt'] > span`, 'README.txt') .end() } }