From 1a1df924f477320ced94fa1e16104bae423e71ab Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 12 Oct 2022 13:46:34 +0100 Subject: [PATCH] fix group2 e2e --- apps/remix-ide-e2e/src/tests/workspace.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index d9a12f04a0..f4728ad347 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -466,8 +466,8 @@ module.exports = { locateStrategy: 'xpath', }) .click('//*[@id="workspacesMenuDropdown"]/span/i') - .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') - .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[5]') + .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') + .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') .useCss() .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') .click('[data-id="fileSystemModalDialogModalBody-react"]')