Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to skip Cypress dashboard E2E tests using a label or env var #13138

Open
cnotv opened this issue Jan 16, 2025 · 0 comments · May be fixed by #13146
Open

Allow to skip Cypress dashboard E2E tests using a label or env var #13138

cnotv opened this issue Jan 16, 2025 · 0 comments · May be fixed by #13146
Assignees
Labels
area/ci CI and automation related, e.g. GitHub Actions area/e2e QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Milestone

Comments

@cnotv
Copy link
Member

cnotv commented Jan 16, 2025

Description

As per skipping E2E tests with ci/skip-E2E, implement a logic to run E2E in CI without the use of the dashboard.
Using an env var will also allow us to do not change code anymore for long maintaining times.

Context

In at least 4 occurrences since using Cypress dashboard (Sorry Cypress) we had our CI blocked due to connection issues to the service.

The logic should replace this script from using cy2 library (Sorry Cypress) and instead use Cypress without a dashboard ID. To achieve that we want to introduce a second label ci/skip-e2e-dashboard, so we can still ensure code quality without impediment from Rancher third parties.

The use of an env var should allow us to retrieve a boolean value to toggle it within the GH Workflow here.
It will also help in case we want to disable the dashboard entirely by GH configuration.

@cnotv cnotv added area/ci CI and automation related, e.g. GitHub Actions area/e2e labels Jan 16, 2025
@cnotv cnotv added this to the v2.11.0 milestone Jan 16, 2025
@github-actions github-actions bot added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label Jan 16, 2025
@cnotv cnotv changed the title Allow to skip Cypress dashboard E2E tests using a label Allow to skip Cypress dashboard E2E tests using a label or env var Jan 17, 2025
@cnotv cnotv self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI and automation related, e.g. GitHub Actions area/e2e QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant