mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
works locally and maybe on github as well
This commit is contained in:
@@ -81,7 +81,7 @@ dead-code:
|
|||||||
.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 --browser firefox --headed tests/end_to_end
|
||||||
|
|
||||||
.PHONY: js-lint
|
.PHONY: js-lint
|
||||||
js-lint: ## Run javascript linting scanners
|
js-lint: ## Run javascript linting scanners
|
||||||
|
|||||||
@@ -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()
|
expect(dashboard_button).to_be_visible()
|
||||||
dashboard_button.click()
|
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)
|
new_service_name = _setup(page, end_to_end_context)
|
||||||
|
|
||||||
|
print(page.content())
|
||||||
# if page.get_by_text("Create your first template"):
|
if page.get_by_text("Create your first template"):
|
||||||
# handle_no_existing_template_case(page)
|
handle_no_existing_template_case(page)
|
||||||
#else:
|
else:
|
||||||
handle_existing_template_case(page)
|
handle_existing_template_case(page)
|
||||||
|
|
||||||
_teardown(page)
|
_teardown(page)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user