{"id":28555430,"url":"https://github.com/rancher/rancher-turtles-e2e","last_synced_at":"2026-01-20T16:23:27.117Z","repository":{"id":211445330,"uuid":"728139765","full_name":"rancher/rancher-turtles-e2e","owner":"rancher","description":"end-to-end tests for the Rancher CAPI extension","archived":false,"fork":false,"pushed_at":"2025-07-03T13:09:24.000Z","size":537,"stargazers_count":0,"open_issues_count":8,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-07-03T13:39:56.472Z","etag":null,"topics":["capi","rancher","testing"],"latest_commit_sha":null,"homepage":"https://github.com/rancher/capi-ui-extension","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rancher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-06T10:09:14.000Z","updated_at":"2025-07-03T10:17:06.000Z","dependencies_parsed_at":"2023-12-18T22:52:13.115Z","dependency_job_id":"2f6dc596-1140-45ed-8101-2a91cdc0e15d","html_url":"https://github.com/rancher/rancher-turtles-e2e","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":0.4545454545454546,"last_synced_commit":"1dc516c32cda8fb6f1b5d10282a143d759460f25"},"previous_names":["rancher-sandbox/rancher-turtles-e2e","rancher/rancher-turtles-e2e"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rancher/rancher-turtles-e2e","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Francher-turtles-e2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Francher-turtles-e2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Francher-turtles-e2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Francher-turtles-e2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rancher","download_url":"https://codeload.github.com/rancher/rancher-turtles-e2e/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Francher-turtles-e2e/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263727012,"owners_count":23502247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["capi","rancher","testing"],"created_at":"2025-06-10T06:06:31.930Z","updated_at":"2026-01-20T16:23:27.109Z","avatar_url":"https://github.com/rancher.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rancher-turtles-e2e\n\n[![UI-E2E_head_2.13](https://github.com/rancher/rancher-turtles-e2e/actions/workflows/ui-e2e.yaml/badge.svg?event=schedule)](https://github.com/rancher/rancher-turtles-e2e/actions/workflows/ui-e2e.yaml)\n\nWhat tests are doing:\n1. Create the infra stack ( GCP runner, cert-manager, rancher )\n2. Install the Turtles chart with locally built latest chart\n3. Deploy the Turtles UI extension\n4. Test the Turtles menu, namespaces import features\n5. Perform CAPI setup prerequisites\n6. Create \u0026 Import CAPI cluster using fleet by cluster, namespace annotation\n7. Create \u0026 Import CAPI cluster using ClusterClass UI\n8. Install App on imported CAPI cluster\n9. Scale the imported CAPI cluster\n10. Remove \u0026 Delete the imported CAPI cluster\n\n\n## Running the tests locally\n\n### Pre-requisites\n1. Install Rancher.\n2. Install Rancher Turtles chart.\n3. Install CAPI UI Extension.\n\n### Running the test\n1. `cd tests/cypress/latest`\n2. Install Cypress and its dependencies: `npm install`\n3. Export the following ENV VAR: `RANCHER_URL` (format: `https://\u003cFQDN\u003e/dashboard`), `RANCHER_PASSWORD`, `RANCHER_USER`, `CYPRESS_TAGS=@install [@short @full|@vsphere]`, and provider specific env var:\n    1. CAPA - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`\n    2. CAPG - `GCP_CREDENTIALS` and `GCP_PROJECT`\n    3. CAPZ - `AZURE_TENANT_ID`, `AZURE_CLIENT_ID`, `AZURE_CLIENT_SECRET`, and `AZURE_SUBSCRIPTION_ID`.\n    4. CAPV - `VSPHERE_ENDPOINTS_LIST` (workflow only, otherwise hardcoded endpoint_ip is part of the following var), `VSPHERE_SECRETS_JSON_BASE64`, see [here](tests/cypress/latest/e2e/capv_rke2_cluster.spec.ts#L15) for reference.\n4. Start Cypress: `./node_modules/cypress/bin/cypress open -C cypress.config.ts` or `npx cypress open --env grepTags=\"@install @short\"`\n\nThe Cypress GUI should now be visible.\n\n---\n\n# Test structure\nWe categorize our tests using tags such as `short`, `full`, `vsphere`, and `install`. \nTests tagged with `short` are local (docker-based) tests, while those tagged with `vsphere` are specific to vSphere.\nTests tagged with `full` are cloud provider-based tests. The `install` tag is used for initial setup tests ('install' tag is also to be included in setup tests title).\n\n# Running tests using Cypress grep\nWe have implemented tags for more precise selection of tests using a Cypress plugin called [cypress-grep](https://github.com/cypress-io/cypress/tree/develop/npm/grep)\n\nNote: the title can be either at `describe`, `context` or `it` level.\n\nBy default, daily runs will run test with the tags`@install`, `@short`\n\nTo use locally use the tag `--env grepTags=tag` along with the npx command\n\nFor example:\n```\nnpx cypress run -C cypress.config.ts  --env grepTags=\"@short\" cypress/e2e/*.spec.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Francher%2Francher-turtles-e2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Francher%2Francher-turtles-e2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Francher%2Francher-turtles-e2e/lists"}