try button instead of text

This commit is contained in:
Kenneth Kehl
2024-03-25 14:07:33 -07:00
parent c4cce69f71
commit 86efe62b22

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}")
print(f"PAGE!!! {page.content}")
dashboard_button = page.get_by_role("button", name="Dashboard")
expect(dashboard_button).to_be_visible()