Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle 'TrustAuthor' popup in factory and WorkspaceWithParent tests #23098

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

dmytro-ndp
Copy link
Contributor

@dmytro-ndp dmytro-ndp commented Aug 16, 2024

What does this PR do?

Fix Factory test failure eclipse-che/che-server#708 (comment)

Failed test logs:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/eclipse-che_che-server/708/pull-ci-eclipse-che-che-server-main-v14-gitlab-with-oauth-setup-flow/1824432770110197760/build-log.txt

Screenshot/screencast of this PR

What issues does this PR fix or reference?

#23063

How to test this PR?

Factory test has passed Trust author popup: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/24953/console

...
14:32:48            ▼ BrowserTabsUtil.navigateTo - https://devspaces.apps.ocp416.crw-qe.com/dashboard/#/https://github.com/eclipse-che/che-server.git
14:32:48              ‣ DriverHelper.navigateToUrl
14:32:48              ‣ DriverHelper.getDriver
14:32:48            ▼ CreateWorkspace.performTrustAuthorPopup
14:32:48            ▼ TrustAuthorPopup.clickContinue
14:32:48            ▼ TrustAuthorPopup.waitPopupIsOpened
14:32:48              ‣ DriverHelper.waitVisibility - By(xpath, //span[contains(text(), "Do you trust the authors of this repository?")])
14:32:48              ‣ DriverHelper.waitVisibility - element is located and is visible.
14:32:48              ‣ DriverHelper.waitAndClick - By(xpath, //button[text()="Continue"])
14:32:48              ‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Continue"])
14:32:48              ‣ DriverHelper.waitVisibility - element is located and is visible.
14:32:48      ✔ Navigate to the factory URL
14:32:48              ‣ DriverHelper.getDriver
...

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
@dmytro-ndp dmytro-ndp merged commit c8f6a8b into main Aug 20, 2024
5 checks passed
@dmytro-ndp dmytro-ndp deleted the che-23063-2 branch August 20, 2024 12:14
dmytro-ndp added a commit that referenced this pull request Aug 20, 2024
…23098)

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants