try button instead of text

This commit is contained in:
Kenneth Kehl
2024-03-25 14:12:31 -07:00
parent 86efe62b22
commit 8bc41c59dc

View File

@@ -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()