mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
more debug
This commit is contained in:
@@ -88,7 +88,7 @@ dead-code: ## 60% is our aspirational goal, but currently breaks the build
|
|||||||
.PHONY: e2e-test
|
.PHONY: e2e-test
|
||||||
e2e-test: export NEW_RELIC_ENVIRONMENT=test
|
e2e-test: export NEW_RELIC_ENVIRONMENT=test
|
||||||
e2e-test: ## Run end-to-end integration tests; note that --browser webkit isn't currently working
|
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
|
.PHONY: js-lint
|
||||||
js-lint: ## Run javascript linting scanners
|
js-lint: ## Run javascript linting scanners
|
||||||
|
|||||||
@@ -165,7 +165,6 @@ def handle_no_existing_template_case(page):
|
|||||||
page.wait_for_load_state("domcontentloaded")
|
page.wait_for_load_state("domcontentloaded")
|
||||||
check_axe_report(page)
|
check_axe_report(page)
|
||||||
print(f"SHOULD BE PREVIEW PAGE: {page}")
|
print(f"SHOULD BE PREVIEW PAGE: {page}")
|
||||||
print(page.content())
|
|
||||||
|
|
||||||
send_button = page.get_by_role("button", name="Send")
|
send_button = page.get_by_role("button", name="Send")
|
||||||
expect(send_button).to_be_visible()
|
expect(send_button).to_be_visible()
|
||||||
@@ -177,7 +176,6 @@ def handle_no_existing_template_case(page):
|
|||||||
|
|
||||||
# TODO staging starts failing here, fix.
|
# TODO staging starts failing here, fix.
|
||||||
print(f"SHOULD BE SEND PAGE: {page}")
|
print(f"SHOULD BE SEND PAGE: {page}")
|
||||||
print(page.content())
|
|
||||||
activity_button = page.get_by_text("Activity")
|
activity_button = page.get_by_text("Activity")
|
||||||
expect(activity_button).to_be_visible()
|
expect(activity_button).to_be_visible()
|
||||||
activity_button.click()
|
activity_button.click()
|
||||||
@@ -187,7 +185,6 @@ def handle_no_existing_template_case(page):
|
|||||||
page.wait_for_load_state("domcontentloaded")
|
page.wait_for_load_state("domcontentloaded")
|
||||||
check_axe_report(page)
|
check_axe_report(page)
|
||||||
print(f"SHOULD BE ACTIVITY PAGE: {page}")
|
print(f"SHOULD BE ACTIVITY PAGE: {page}")
|
||||||
print(page.content())
|
|
||||||
download_link = page.get_by_text("Download all data last 7 days (CSV)")
|
download_link = page.get_by_text("Download all data last 7 days (CSV)")
|
||||||
expect(download_link).to_be_visible()
|
expect(download_link).to_be_visible()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user