Khaleel Al-Adhami před 3 týdny
rodič
revize
78154da739
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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):
     with poll_for_navigation(driver):
         link.click()
         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"])
     await poll_for_order(["/static/x-no page id"])
 
 
     # go back to the index and navigate back to the static route
     # go back to the index and navigate back to the static route