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