We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent badab5b commit ca32c73Copy full SHA for ca32c73
tests/integration/tests_playwright/test_frontend_path.py
@@ -126,11 +126,11 @@ def test_onload_redirect(
126
expect(page.get_by_text("This is the index page!")).to_be_visible()
127
128
# Go to /subpage
129
- page.get_by_text("Go to Subpage!").click()
+ page.get_by_role("button", name="Go to Subpage!").click()
130
expect(page.get_by_text("This is the sub page!")).to_be_visible()
131
132
# Click "Bounce to index!" (should redirect to index via on_load)
133
- page.get_by_text("Bounce to index!").click()
+ page.get_by_role("button", name="Bounce to index!").click()
134
135
136
# Optionally, reload /prefix/bouncer/ and check redirect
0 commit comments