Allow to skip Cypress dashboard E2E tests using a label or env var #13138
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
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 labelci/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.
The text was updated successfully, but these errors were encountered: