pull/3023/head
Joseph Izang 2 years ago committed by Aniket
parent 38339033b8
commit d3338bb575
  1. 8
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -352,7 +352,7 @@ module.exports = {
}) })
.click('//*[@id="workspacesMenuDropdown"]/span/i') .click('//*[@id="workspacesMenuDropdown"]/span/i')
.waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul') .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul')
.click('//*[@id="workspacesMenuDropdown"]/div/ul/a[4]') // rename workspace_name .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') // rename workspace_name
.useCss() .useCss()
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]')
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextRename"]') .waitForElementVisible('*[data-id="modalDialogCustomPromptTextRename"]')
@ -393,7 +393,7 @@ module.exports = {
.useXpath() .useXpath()
.click('//*[@id="workspacesMenuDropdown"]/span/i') .click('//*[@id="workspacesMenuDropdown"]/span/i')
.waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]')
.click('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[4]')
.useCss() .useCss()
.waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]')
.click('[data-id="fileSystemModalDialogModalBody-react"]') .click('[data-id="fileSystemModalDialogModalBody-react"]')
@ -466,8 +466,8 @@ module.exports = {
locateStrategy: 'xpath', locateStrategy: 'xpath',
}) })
.click('//*[@id="workspacesMenuDropdown"]/span/i') .click('//*[@id="workspacesMenuDropdown"]/span/i')
.waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') .waitForElementVisible('//*[@id="workspacesMenuDropdown"]/div/ul/a[4]')
.click('//*[@id="workspacesMenuDropdown"]/div/ul/a[3]') .click('//*[@id="workspacesMenuDropdown"]/div/ul/a[4]')
.useCss() .useCss()
.waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]') .waitForElementVisible('[data-id="fileSystemModalDialogModalBody-react"]')
.click('[data-id="fileSystemModalDialogModalBody-react"]') .click('[data-id="fileSystemModalDialogModalBody-react"]')

Loading…
Cancel
Save