Set up Playwright E2E and automate the Argo CD SSO auth#1138
Set up Playwright E2E and automate the Argo CD SSO auth#1138trdoyle81 wants to merge 2 commits intoredhat-developer:masterfrom
Conversation
…ication Signed-off-by: Triona Doyle <bot@example.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |
Signed-off-by: Triona Doyle <bot@example.com>
|
@trdoyle81: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/kind enhancement
What does this PR do / why we need it:
This PR adds the Playwright E2E testing foundation for the GitOps Operator.
LoginPageobject and a global setup to handle the Argo login via OpenShift.storageStateto capture and persist auth cookies so subsequent tests can skip the login process.run-ui-tests.shwrapper script to identify cluster UI routes via variables or CLI fallback.Have you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #GITOPS-9589
Test acceptance criteria:
How to test changes / Special notes to the reviewer:
test/ui-e2e/README.mdfor environment setup.cd test/ui-e2e./run-ui-tests.sh tests/sso-login.spec.ts(or./run-ui-tests.sh .auth/setup.ts).IDP.storageState.jsonis successfully generated in the.auth/directory.