mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05: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.
|
||||
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")
|
||||
expect(dashboard_button).to_be_visible()
|
||||
|
||||
Reference in New Issue
Block a user