mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
try button instead of text
This commit is contained in:
@@ -161,7 +161,7 @@ def handle_no_existing_template_case(page):
|
|||||||
# Check to make sure that we've arrived at the next page.
|
# Check to make sure that we've arrived at the next page.
|
||||||
page.wait_for_load_state("domcontentloaded")
|
page.wait_for_load_state("domcontentloaded")
|
||||||
|
|
||||||
print(f"PAGE!!! {page.content}")
|
print(f"PAGE!!! {page.content()}")
|
||||||
|
|
||||||
dashboard_button = page.get_by_role("button", name="Dashboard")
|
dashboard_button = page.get_by_role("button", name="Dashboard")
|
||||||
expect(dashboard_button).to_be_visible()
|
expect(dashboard_button).to_be_visible()
|
||||||
|
|||||||
Reference in New Issue
Block a user