From 8044a19ee82966a212fcd718804bd530af9d8a74 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 7 Dec 2020 19:09:16 +0530 Subject: [PATCH] fileexplorer and gist tests fix --- apps/remix-ide-e2e/src/tests/fileExplorer.test.ts | 4 ++-- apps/remix-ide-e2e/src/tests/gist.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts b/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts index e82b214b43..3f3041fb30 100644 --- a/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts +++ b/apps/remix-ide-e2e/src/tests/fileExplorer.test.ts @@ -46,8 +46,8 @@ module.exports = { 'Should create a new folder': function (browser: NightwatchBrowser) { browser - .waitForElementVisible('*[data-id="treeViewLibrowser/contracts/1_Storage.sol"]') - .rightClick('[data-path="browser/contracts/1_Storage.sol"]') + .waitForElementVisible('*[data-id="treeViewLibrowser/readme"]') + .rightClick('[data-path="browser/readme"]') .click('*[id="menuitemcreate folder"]') .waitForElementVisible('*[data-id="modalDialogContainer"]') .setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests') diff --git a/apps/remix-ide-e2e/src/tests/gist.test.ts b/apps/remix-ide-e2e/src/tests/gist.test.ts index f459fb7027..d878195b6d 100644 --- a/apps/remix-ide-e2e/src/tests/gist.test.ts +++ b/apps/remix-ide-e2e/src/tests/gist.test.ts @@ -26,7 +26,7 @@ module.exports = { browser .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .clickLaunchIcon('fileExplorers') - .rightClick('[data-path="browser/contracts/1_Storage.sol"]') + .rightClick('[data-path="browser/readme"]') .click('*[id="menuitemcreate folder"]') .waitForElementVisible('*[data-id="modalDialogContainer"]') .setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')