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

Research: run Playwright tests based on marker and base-url #2560

Conversation

angela-tran
Copy link
Member

@angela-tran angela-tran commented Dec 4, 2024

Part of #2504

This is an approach for running tests for specific environments.

It requires that you pass the marker and base URL that you want the tests to use. Only one environment can be run at a time.

Example:

pytest -m dev --base-url https://dev-benefits.calitp.org

The helper script provides some convenience.

@github-actions github-actions bot added the tests Related to automated testing (unit, UI, integration, etc.) label Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

Coverage report

This PR does not seem to contain any modification to coverable code.

@angela-tran angela-tran closed this Dec 4, 2024
@angela-tran angela-tran deleted the research/env-marker-and-base-url branch December 4, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Related to automated testing (unit, UI, integration, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant