Khaleel Al-Adhami 3 semanas atrás
pai
commit
78154da739
1 arquivos alterados com 1 adições e 1 exclusões
  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