e2e tests pass locally

This commit is contained in:
alexjanousekGSA
2025-05-02 10:43:07 -04:00
parent 149d8e3ce5
commit eff92773cc
11 changed files with 91 additions and 220 deletions

View File

@@ -106,11 +106,11 @@ py-test: ## Run python unit tests
dead-code: ## 60% is our aspirational goal, but currently breaks the build
poetry run vulture ./app ./notifications_utils --min-confidence=100
.PHONY: e2e-test
e2e-test: export NEW_RELIC_ENVIRONMENT=test
e2e-test: ## Run end-to-end integration tests; note that --browser webkit isn't currently working
DEBUG=pw:api,pw:browser poetry run pytest -vv --browser chromium --browser firefox tests/end_to_end
@echo "Running E2E tests in path: $${TESTPATH:-tests/end_to_end}"
@bash -c 'DEBUG=pw:api,pw:browser poetry run pytest -vv --browser chromium --browser firefox "$${TESTPATH:-tests/end_to_end}"'
.PHONY: js-lint
js-lint: ## Run javascript linting scanners