mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
works locally and maybe on github as well
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user