File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ def test_context_request_should_support_timeout_option(
2323) -> None :
2424 # https://github.com/microsoft/playwright/issues/39220
2525
26- server .set_route ("/empty.html " , lambda req : None )
26+ server .set_route ("/" , lambda req : None )
2727 with pytest .raises (Error , match = "Timeout 123ms exceeded" ):
28- page .request .get (server .EMPTY_PAGE , timeout = 123 )
28+ page .request .get (server .PREFIX , timeout = 123 )
2929 with pytest .raises (Error , match = "Timeout 123ms exceeded" ):
30- context .request .get (server .EMPTY_PAGE , timeout = 123 )
30+ context .request .get (server .PREFIX , timeout = 123 )
3131
3232 context .set_default_timeout (123 )
3333 with pytest .raises (Error , match = "Timeout 123ms exceeded" ):
34- page .request .get (server .EMPTY_PAGE )
34+ page .request .get (server .PREFIX )
3535 with pytest .raises (Error , match = "Timeout 123ms exceeded" ):
36- context .request .get (server .EMPTY_PAGE )
36+ context .request .get (server .PREFIX )
You can’t perform that action at this time.
0 commit comments