Skip to content

ROX-29840: Add Cypress configuration to run tests against OCP console#16203

Merged
dvail merged 20 commits intomasterfrom
dv/ROX-29840-base-config-for-cypress-e2e-test-ocp
Sep 2, 2025
Merged

ROX-29840: Add Cypress configuration to run tests against OCP console#16203
dvail merged 20 commits intomasterfrom
dv/ROX-29840-base-config-for-cypress-e2e-test-ocp

Conversation

@dvail
Copy link
Contributor

@dvail dvail commented Jul 29, 2025

Description

Add Cypress configuration to run tests against OCP console.

  • OCP Plugin specific tests reside under cypress/integration-ocp
  • Test artifacts, videos, etc are stored in a subfolder artifacts/ocp-console-plugin

Note that running these tests is currently disabled in CI via the Makefile, as plugin e2e tests will not succeed until the plugin is deployed along with the ACS installation in CI.

Non-UI work courtesy of @davdhacs 🙏

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Validate artifacts exist and smoke test successfully authenticates with the console:
image
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/stackrox_stackrox/16203/pull-ci-stackrox-stackrox-master-ocp-4-19-ui-e2e-tests/1958230648233660416/artifacts/ui-e2e-tests/stackrox-stackrox-e2e-test/artifacts/

@dvail
Copy link
Contributor Author

dvail commented Jul 29, 2025

@openshift-ci
Copy link

openshift-ci bot commented Jul 29, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@dvail
Copy link
Contributor Author

dvail commented Jul 29, 2025

/test ocp-4-19-ui-e2e-tests

@openshift-ci
Copy link

openshift-ci bot commented Jul 29, 2025

@dvail: No presubmit jobs available for stackrox/stackrox@dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests

Details

In response to this:

/test ocp-4-19-ui-e2e-tests

Instructions 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.

@dvail
Copy link
Contributor Author

dvail commented Jul 29, 2025

/test ocp-4-18-ui-e2e-tests

@openshift-ci
Copy link

openshift-ci bot commented Jul 29, 2025

@dvail: No presubmit jobs available for stackrox/stackrox@dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests

Details

In response to this:

/test ocp-4-18-ui-e2e-tests

Instructions 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.

@dvail dvail changed the base branch from dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests to master July 29, 2025 19:09
@dvail
Copy link
Contributor Author

dvail commented Jul 29, 2025

/test ocp-4-19-ui-e2e-tests

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Jul 29, 2025

Images are ready for the commit at 34c6769.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.9.x-642-g34c67693a7.

@codecov
Copy link

codecov bot commented Jul 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.08%. Comparing base (7ae2bca) to head (34c6769).
⚠️ Report is 27 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16203      +/-   ##
==========================================
- Coverage   49.09%   49.08%   -0.01%     
==========================================
  Files        2649     2649              
  Lines      196680   196680              
==========================================
- Hits        96551    96546       -5     
- Misses      92572    92576       +4     
- Partials     7557     7558       +1     
Flag Coverage Δ
go-unit-tests 49.08% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dvail dvail changed the base branch from master to dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests July 29, 2025 21:23
@dvail
Copy link
Contributor Author

dvail commented Jul 29, 2025

/test ocp-4-19-ui-e2e-tests

@openshift-ci
Copy link

openshift-ci bot commented Jul 29, 2025

@dvail: No presubmit jobs available for stackrox/stackrox@dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests

Details

In response to this:

/test ocp-4-19-ui-e2e-tests

Instructions 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.

@dvail dvail changed the base branch from dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests to master July 29, 2025 21:32
@dvail
Copy link
Contributor Author

dvail commented Jul 29, 2025

/test ocp-4-19-ui-e2e-tests

@dvail dvail changed the base branch from master to dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests July 30, 2025 11:33
@dvail dvail changed the base branch from dv/ROX-29844-add-configuration-of-base-url-and-e2e-requests to master July 30, 2025 11:33
@dvail
Copy link
Contributor Author

dvail commented Jul 30, 2025

/test ocp-4-19-ui-e2e-tests

2 similar comments
@dvail
Copy link
Contributor Author

dvail commented Jul 30, 2025

/test ocp-4-19-ui-e2e-tests

@dvail
Copy link
Contributor Author

dvail commented Jul 30, 2025

/test ocp-4-19-ui-e2e-tests

@dvail dvail force-pushed the dv/ROX-29840-base-config-for-cypress-e2e-test-ocp branch from e422e4d to fdd5aaa Compare August 4, 2025 19:57
@dvail
Copy link
Contributor Author

dvail commented Aug 4, 2025

/test ocp-4-19-ui-e2e-tests

@dvail dvail force-pushed the dv/ROX-29840-base-config-for-cypress-e2e-test-ocp branch from fdd5aaa to ab62f56 Compare August 5, 2025 11:23
@dvail
Copy link
Contributor Author

dvail commented Aug 5, 2025

/test ocp-4-19-ui-e2e-tests

1 similar comment
@dvail
Copy link
Contributor Author

dvail commented Aug 5, 2025

/test ocp-4-19-ui-e2e-tests

@dvail dvail force-pushed the dv/ROX-29840-base-config-for-cypress-e2e-test-ocp branch from 994d667 to f7696fd Compare August 26, 2025 20:21
@dvail dvail force-pushed the dv/ROX-29840-base-config-for-cypress-e2e-test-ocp branch from c052742 to 2642c64 Compare August 28, 2025 13:57
@dvail dvail force-pushed the dv/ROX-29840-base-config-for-cypress-e2e-test-ocp branch from 2642c64 to 34c6769 Compare August 29, 2025 19:57
@dvail dvail merged commit 87b258a into master Sep 2, 2025
144 of 172 checks passed
@dvail dvail deleted the dv/ROX-29840-base-config-for-cypress-e2e-test-ocp branch September 2, 2025 11:40
kylape added a commit that referenced this pull request Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants