What tests are doing:
- Create the infra stack ( GCP runner, cert-manager, rancher )
- Install the Turtles operator with locally built latest chart
- Deploy the Turtles UI extension
- Test the Turtles menu, namespaces import features
- Perform CAPD setup prerequisites
- Create & Import CAPD cluster using fleet by cluster, namespace annotation
- Install App on imported CAPD cluster
- Scale the imported CAPD cluster
- Remove & Delete the imported CAPD cluster
- Install Rancher.
- Install Rancher Turtles operator.
- Install CAPI UI Extensions.
cd tests/cypress/latest
- Install Cypress and its dependencies:
npm install
- Export the following ENV VAR:
RANCHER_URL
,RANCHER_PASSWORD
,RANCHER_USERNAME
,CYPRESS_TAGS=main
, andAWS_B64ENCODED_CREDENTIALS
if testing CAPA. - Start Cypress:
./node_modules/cypress/bin/cypress open -C cypress.config.ts
The Cypress GUI should now be visible.