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

Exclude E2E tests from specific environments #2715

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

theseanything
Copy link
Contributor

@theseanything theseanything commented Oct 21, 2024

This allows tests to be tagged with @not- to prevent that test from running in that environment. This is useful for functionality that is only available in production (e.g. service.gov.uk redirects) and functionality not yet available in production.

alphagov/govuk-e2e-tests#58

@theseanything theseanything requested a review from a team October 21, 2024 15:23
@theseanything theseanything force-pushed the add-e2e-env-exclusion-tags branch from 0dbde8b to 9caa39d Compare October 21, 2024 15:27
This allows tests to be tagged with @not-<environment> to prevent that
test from running in that environment. This is useful for functionality
that is only available in production (e.g. service.gov.uk redirects) and
functionality not yet available in production.
@theseanything theseanything force-pushed the add-e2e-env-exclusion-tags branch from 9caa39d to c8f57a5 Compare October 21, 2024 15:32
@theseanything theseanything merged commit 04e66c4 into main Oct 21, 2024
4 checks passed
@theseanything theseanything deleted the add-e2e-env-exclusion-tags branch October 21, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants