-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feat: Playwright setup #2500
base: main
Are you sure you want to change the base?
Feat: Playwright setup #2500
Commits on Nov 4, 2024
-
feat: add setup for a separate container to run playwright
use a base image that already has playwright and its browsers installed
Configuration menu - View commit details
-
Copy full SHA for 816aacc - Browse repository at this point
Copy the full SHA 816aaccView commit details -
feat(playwright): add scaffolding for writing and running tests
add some test stubs, with one test that is a work-in-progress. the devcontainer will have pytest-playwright installed so that when we're writing tests, we can use auto-complete, reference code definition, etc. use the 'playwright' service container to run the tests. there is a sample .env file and a helper script for running tests.
Configuration menu - View commit details
-
Copy full SHA for d8bb7cd - Browse repository at this point
Copy the full SHA d8bb7cdView commit details -
refactor: extract some helper script args out into pytest.ini file
this makes it so they are used any time pytest is invoked from this directory
Configuration menu - View commit details
-
Copy full SHA for fed78b6 - Browse repository at this point
Copy the full SHA fed78b6View commit details -
test: add agency card flow test
this implements it in a simple way that works. there are probably improvements that can be made, e.g. not waiting 10 seconds for the enrollment to finish. mark medicaregov flow test to be skipped.
Configuration menu - View commit details
-
Copy full SHA for 2b10995 - Browse repository at this point
Copy the full SHA 2b10995View commit details -
fix(ci): specify directory to use for running unit tests
since the tests-pytest workflow runs from the root level, it was also collecting Playwright tests.
Configuration menu - View commit details
-
Copy full SHA for f5ecfb4 - Browse repository at this point
Copy the full SHA f5ecfb4View commit details -
fix(ci): mark 'playwright' service under a 'testing' profile
the tests-cypress workflow was failing because there is no .env file for the playwright service, but we don't even need that service to start. this makes it so it is not started by default. see https://docs.docker.com/compose/how-tos/profiles/ for more.
Configuration menu - View commit details
-
Copy full SHA for 787e769 - Browse repository at this point
Copy the full SHA 787e769View commit details
Commits on Nov 21, 2024
-
refactor: use optional env_file instead of profile-based approach
to ensure playwright service doesn't prevent other services from starting if the `playwright/.env` file doesn't exist
Configuration menu - View commit details
-
Copy full SHA for ac111d6 - Browse repository at this point
Copy the full SHA ac111d6View commit details -
refactor(tests): remove usage of .env file entirely for now
keep the scope of this PR small. namely, this PR is for setting up the environment in which we run and write tests. figuring out if and how the tests get their values is a separate task outside the scope of this PR.
Configuration menu - View commit details
-
Copy full SHA for 2589eb7 - Browse repository at this point
Copy the full SHA 2589eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c980ff0 - Browse repository at this point
Copy the full SHA c980ff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bff1ec0 - Browse repository at this point
Copy the full SHA bff1ec0View commit details -
refactor: simplify helper script
further discussion is needed on how exactly we will pass environment-specific information to the tests.
Configuration menu - View commit details
-
Copy full SHA for 694aeae - Browse repository at this point
Copy the full SHA 694aeaeView commit details