Khaleel Al-Adhami преди 3 седмици
родител
ревизия
78154da739
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tests/integration/test_dynamic_routes.py

+ 1 - 1
tests/integration/test_dynamic_routes.py

@@ -365,7 +365,7 @@ async def test_on_load_navigate_non_dynamic(
 
     with poll_for_navigation(driver):
         link.click()
-    assert urlsplit(driver.current_url).path == "/static/x"
+    assert urlsplit(driver.current_url).path.removesuffix("/") == "/static/x"
     await poll_for_order(["/static/x-no page id"])
 
     # go back to the index and navigate back to the static route