works locally and maybe on github as well

This commit is contained in:
Kenneth Kehl
2024-03-26 10:30:11 -07:00
parent c4a594663b
commit edf3961f0d
2 changed files with 7 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ dead-code:
.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
poetry run pytest -vv --browser chromium --browser firefox tests/end_to_end
poetry run pytest -vv --browser chromium --browser firefox --headed tests/end_to_end
.PHONY: js-lint
js-lint: ## Run javascript linting scanners

View File

@@ -165,7 +165,7 @@ def handle_no_existing_template_case(page):
dashboard_button = page.get_by_role("button", name="Dashboard")
dashboard_button = page.get_by_text("Dashboard")
expect(dashboard_button).to_be_visible()
dashboard_button.click()
@@ -343,11 +343,11 @@ def test_send_message_from_existing_template(authenticated_page, end_to_end_cont
new_service_name = _setup(page, end_to_end_context)
# if page.get_by_text("Create your first template"):
# handle_no_existing_template_case(page)
#else:
handle_existing_template_case(page)
print(page.content())
if page.get_by_text("Create your first template"):
handle_no_existing_template_case(page)
else:
handle_existing_template_case(page)
_teardown(page)