pull/2729/head
bunsenstraat 2 years ago committed by Aniket
parent ad1688ff22
commit 582838b1e0
  1. 2
      apps/remix-ide-e2e/src/commands/switchWorkspace.ts

@ -6,12 +6,10 @@ class switchWorkspace extends EventEmitter {
const timestamp = new Date().getTime()
this.api.waitForElementVisible('[data-id="workspacesSelect"]')
.click('[data-id="workspacesSelect"]')
//.saveScreenshot(`./reports/screenshots/workspace_group1.test/1_switchWorkspace${timestamp}.png`)
.waitForElementVisible(`[data-id="dropdown-item-${workspaceName}"]`)
.pause(2000)
.click(`[data-id="dropdown-item-${workspaceName}"]`)
.pause(3000)
//.saveScreenshot(`./reports/screenshots/workspace_group1.test/2_afterSwitchWorkspace${timestamp}.png`)
.perform((done) => {
done()
this.emit('complete')

Loading…
Cancel
Save