dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Build and Publish `@rancher/cypress` npm package

Open torchiaf opened this issue 1 month ago • 3 comments

Is your feature request related to a problem? Please describe.

We want to re-use the Cypress tests suite in other code bases (Rancher extensions).

Describe the solution you'd like

Publish a @rancher/cypress npm library so that it can be imported in other projects

Describe alternatives you've considered

Additional context

torchiaf avatar Nov 27 '25 10:11 torchiaf

cc @richard-cox @rak-phillip

torchiaf avatar Nov 27 '25 10:11 torchiaf

Would the requirement be to re-used page objects to create new cypress tests in extensions, plus run the actual spec files from those extensions?

richard-cox avatar Nov 27 '25 11:11 richard-cox

Would the requirement be to re-used page objects to create new cypress tests in extensions, plus run the actual spec files from those extensions?

Correct. For instance , here I implemented the e2e tests for the AI Chat, and I re-used our PO's from the dashboard.

torchiaf avatar Dec 01 '25 16:12 torchiaf

Validated that tests are still running in Jenkins pipeline after changes merged. Closing as complete

Qase reports: Image

yonasberhe23 avatar Dec 19 '25 18:12 yonasberhe23