@@ -193,22 +193,26 @@ async def test_relative_links(display: DisplayFixture):
193193    def  sample ():
194194        return  browser_router (
195195            route ("/" , link ("Root" , to = "/a" , id = "root" )),
196-             route ("/a" , link ("A" , to = "/a/b" , id = "a" )),
196+             route ("/a" , link ("A" , to = "/a/a/../ b" , id = "a" )),
197197            route ("/a/b" , link ("B" , to = "../a/b/c" , id = "b" )),
198198            route ("/a/b/c" , link ("C" , to = "../d" , id = "c" )),
199199            route ("/a/d" , link ("D" , to = "e" , id = "d" )),
200-             route ("/a/e" , link ("E" , to = "../default" , id = "e" )),
200+             route ("/a/e" , link ("E" , to = "/a/./f" , id = "e" )),
201+             route ("/a/f" , link ("F" , to = "../default" , id = "f" )),
201202            route ("{default:any}" , html .h1 ({"id" : "default" }, "Default" )),
202203        )
203204
204205    await  display .show (sample )
205206
206-     for  link_selector  in  ["#root" , "#a" , "#b" , "#c" , "#d" , "#e" ]:
207+     for  link_selector  in  ["#root" , "#a" , "#b" , "#c" , "#d" , "#e" ,  "#f" ]:
207208        lnk  =  await  display .page .wait_for_selector (link_selector )
208209        await  lnk .click ()
209210
210211    await  display .page .wait_for_selector ("#default" )
211212
213+     await  display .page .go_back ()
214+     await  display .page .wait_for_selector ("#f" )
215+ 
212216    await  display .page .go_back ()
213217    await  display .page .wait_for_selector ("#e" )
214218
0 commit comments