Git SSH E2E test fails:
02:35:01 [ERROR] DriverHelper.waitVisibility - failed with exception, out of attempts - TimeoutError: Waiting for element to be located By(css selector, div[aria-label="Clone from URL"]) 02:35:01 Wait timed out after 1003ms 02:35:01 [ERROR] DriverHelper.waitAndClick - failed with exception, out of attempts - TimeoutError: Waiting for element to be located By(css selector, div[aria-label="Clone from URL"]) 02:35:01 Wait timed out after 1003ms 02:35:01 1) Add a SSH key to GitHub side and clone by ssh link 02:35:01 ‣ FullTitle:Git with ssh workflow Add a SSH key to GitHub side and clone by ssh link 02:35:01 ‣ FullTitleSanitized:Git_with_ssh_workflow_Add_a_SSH_key_to_GitHub_side_and_clone_by_ssh_link 02:35:01 ‣ TestTitle:Add a SSH key to GitHub side and clone by ssh link 02:35:01 ‣ TestTitleSanitized:Add_a_SSH_key_to_GitHub_side_and_clone_by_ssh_link 02:35:01 [ERROR] CodereadyReporter runner.on.fail: Git with ssh workflow Add a SSH key to GitHub side and clone by ssh link failed after 26091ms 02:35:01 Additional information (logs, dumps, screenshots) you can find in the 02:35:01 "./report/Git_with_ssh_workflow_Add_a_SSH_key_to_GitHub_side_and_clone_by_ssh_link" folder. 02:35:01 02:35:01 02:35:01 2 passing (3m) 02:35:01 1 failing 02:35:01 02:35:01 1) Git with ssh workflow 02:35:01 Add a SSH key to GitHub side and clone by ssh link: 02:35:01 TimeoutError: Waiting for element to be located By(css selector, div[aria-label="Clone from URL"]) 02:35:01 Wait timed out after 1003ms 02:35:01 at /tmp/e2e-codeready/node_modules/selenium-webdriver/lib/promise.js:2201:17 02:35:01 at ManagedPromise.invokeCallback_ (/tmp/e2e-codeready/node_modules/selenium-webdriver/lib/promise.js:1376:14) 02:35:01 at TaskQueue.execute_ (/tmp/e2e-codeready/node_modules/selenium-webdriver/lib/promise.js:3084:14) 02:35:01 at TaskQueue.executeNext_ (/tmp/e2e-codeready/node_modules/selenium-webdriver/lib/promise.js:3067:27)
Possible solution: https://gitlab.cee.redhat.com/codeready-workspaces/e2e-codeready/-/blob/latest/tests/miscellaneous/GitPublishBranch.spec.ts#L101
Git SSH test script source code:
- for CRW Next: https://github.com/eclipse/che/blob/main/tests/e2e/tests/e2e/GitSsh.spec.ts
- for CRW 2.14: https://github.com/eclipse/che/blob/7.40.x/tests/e2e/tests/e2e/GitSsh.spec.ts
Git SSH test script pipeline executed nightly against Eclipse Che Next: