Delete test workspaces in "Stop and remove workspace step" using deleteByAPI methods(DependecyAnalytics and CustomPlugin tests). For now we are using Dashboard for it and it is unnecessary check.
Removal of workspaces through UI is not reliable and leaving uncleaned workspaces after E2E and so exceeding limited resources on PSI.
An example: https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CodereadyWorkspaces/job/e2e/job/basic/job/typescript-tests/11065/console
06:38:05 ✓ Stop and remove workspace 06:38:05 06:38:05 06:38:05 8 passing (3m) 06:38:05 06:38:06 ‣ DriverHelper.wait (1000 milliseconds) 06:38:07 ▼ Dashboard.waitPage 06:38:07 ‣ DriverHelper.waitVisibility By(xpath, //div[@id='page-sidebar']//a[contains(text(), 'Workspaces (')]) 06:38:08 ‣ DriverHelper.waitVisibility - Polling timed out attempt #1, retrying with 1000ms timeout 06:38:09 ‣ DriverHelper.waitVisibility - Polling timed out attempt #2, retrying with 1000ms timeout 06:38:10 ‣ DriverHelper.waitVisibility - Element is located and is visible. 06:38:10 ‣ DriverHelper.waitVisibility By(xpath, //div[@id='page-sidebar']//a[text()='Create Workspace']) 06:38:10 ‣ DriverHelper.waitVisibility - Element is located and is visible. 06:38:10 ▼ Dashboard.clickWorkspacesButton 06:38:10 ‣ DriverHelper.waitAndClick By(xpath, //div[@id='page-sidebar']//a[contains(text(), 'Workspaces (')]) 06:38:10 ‣ DriverHelper.waitVisibility By(xpath, //div[@id='page-sidebar']//a[contains(text(), 'Workspaces (')]) 06:38:10 ‣ DriverHelper.waitVisibility - Element is located and is visible. 06:38:10 [ERROR] DriverHelper.waitAndClick - failed with an unexpected exception - WebDriverError: invalid session id 06:38:10 Build info: version: '4.0.0-rc-1', revision: '74745cf081' 06:38:10 System info: host: 'b425442e2bb4', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-957.el7.x86_64', java.version: '11.0.11' 06:38:10 Driver info: driver.version: unknown 06:38:10 /tmp/e2e-codeready/node_modules/mocha/lib/runner.js:878 06:38:10 throw err; 06:38:10 ^ 06:38:10 06:38:10 WebDriverError: invalid session id 06:38:10 Build info: version: '4.0.0-rc-1', revision: '74745cf081' 06:38:10 System info: host: 'b425442e2bb4', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-957.el7.x86_64', java.version: '11.0.11' 06:38:10 Driver info: driver.version: unknown 06:38:10 at Object.checkLegacyResponse (/tmp/e2e-codeready/node_modules/selenium-webdriver/lib/error.js:546:15) 06:38:10 at parseHttpResponse (/tmp/e2e-codeready/node_modules/selenium-webdriver/lib/http.js:509:13) 06:38:10 at /tmp/e2e-codeready/node_modules/selenium-webdriver/lib/http.js:441:30 06:38:10 at runMicrotasks (<anonymous>) 06:38:10 at processTicksAndRejections (node:internal/process/task_queues:96:5)