From cd9e2a996e0658bc75e2571271f438919ad5f2c4 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 7 Dec 2020 20:58:52 +0530 Subject: [PATCH] fileExplorer and Gist tests improvement --- 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 3f3041fb30..a5ef6242b3 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/readme"]') - .rightClick('[data-path="browser/readme"]') + .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 d878195b6d..f67af4aa65 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/readme"]') + .rightClick('[data-path="browser/README"]') .click('*[id="menuitemcreate folder"]') .waitForElementVisible('*[data-id="modalDialogContainer"]') .setValue('*[data-id="modalDialogCustomPromptText"]', 'Browser_Tests')