more debug

This commit is contained in:
Kenneth Kehl
2024-09-26 08:53:40 -07:00
parent fd2de9bf9b
commit 3967612eb1
2 changed files with 1 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ dead-code: ## 60% is our aspirational goal, but currently breaks the build
.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 tests/end_to_end/test_send_message_from_existing_template.py
.PHONY: js-lint
js-lint: ## Run javascript linting scanners

View File

@@ -165,7 +165,6 @@ def handle_no_existing_template_case(page):
page.wait_for_load_state("domcontentloaded")
check_axe_report(page)
print(f"SHOULD BE PREVIEW PAGE: {page}")
print(page.content())
send_button = page.get_by_role("button", name="Send")
expect(send_button).to_be_visible()
@@ -177,7 +176,6 @@ def handle_no_existing_template_case(page):
# TODO staging starts failing here, fix.
print(f"SHOULD BE SEND PAGE: {page}")
print(page.content())
activity_button = page.get_by_text("Activity")
expect(activity_button).to_be_visible()
activity_button.click()
@@ -187,7 +185,6 @@ def handle_no_existing_template_case(page):
page.wait_for_load_state("domcontentloaded")
check_axe_report(page)
print(f"SHOULD BE ACTIVITY PAGE: {page}")
print(page.content())
download_link = page.get_by_text("Download all data last 7 days (CSV)")
expect(download_link).to_be_visible()