mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
works locally and maybe on github as well
This commit is contained in:
@@ -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