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 989f86e commit badab5bCopy full SHA for badab5b
tests/integration/tests_playwright/test_frontend_path.py
@@ -136,3 +136,8 @@ def test_onload_redirect(
136
# Optionally, reload /prefix/bouncer/ and check redirect
137
page.goto(f"{base_url}/bouncer/")
138
expect(page.get_by_text("This is the index page!")).to_be_visible()
139
+
140
+ # Check that 404's work and do not change the url
141
+ page.goto(f"{base_url}/not-a-page")
142
+ expect(page.get_by_text("404: Page not found")).to_be_visible()
143
+ expect(page).to_have_url(f"{base_url}/not-a-page")
0 commit comments