@@ -27,16 +27,16 @@ async def test_assertions_page_to_have_title(page: Page, server: Server) -> None
2727 await expect (page ).to_have_title ("new title" )
2828 await expect (page ).to_have_title (re .compile ("new title" ))
2929 with pytest .raises (AssertionError ):
30- await expect (page ).to_have_title ("not the current title" , timeout = 100 )
30+ await expect (page ).to_have_title ("not the current title" , timeout = 750 )
3131 with pytest .raises (AssertionError ):
3232 await expect (page ).to_have_title (
33- re .compile ("not the current title" ), timeout = 100
33+ re .compile ("not the current title" ), timeout = 750
3434 )
3535 with pytest .raises (AssertionError ):
36- await expect (page ).not_to_have_title (re .compile ("new title" ), timeout = 100 )
36+ await expect (page ).not_to_have_title (re .compile ("new title" ), timeout = 750 )
3737 with pytest .raises (AssertionError ):
38- await expect (page ).not_to_have_title ("new title" , timeout = 100 )
39- await expect (page ).not_to_have_title ("great title" , timeout = 100 )
38+ await expect (page ).not_to_have_title ("new title" , timeout = 750 )
39+ await expect (page ).not_to_have_title ("great title" , timeout = 750 )
4040 await page .evaluate (
4141 """
4242 setTimeout(() => {
@@ -53,9 +53,9 @@ async def test_assertions_page_to_have_url(page: Page, server: Server) -> None:
5353 await expect (page ).to_have_url (server .EMPTY_PAGE )
5454 await expect (page ).to_have_url (re .compile (r".*/empty\.html" ))
5555 with pytest .raises (AssertionError ):
56- await expect (page ).to_have_url ("nooooo" , timeout = 100 )
56+ await expect (page ).to_have_url ("nooooo" , timeout = 750 )
5757 with pytest .raises (AssertionError ):
58- await expect (page ).to_have_url (re .compile ("not-the-url" ), timeout = 100 )
58+ await expect (page ).to_have_url (re .compile ("not-the-url" ), timeout = 750 )
5959 await page .evaluate (
6060 """
6161 setTimeout(() => {
@@ -64,13 +64,13 @@ async def test_assertions_page_to_have_url(page: Page, server: Server) -> None:
6464 """
6565 )
6666 await expect (page ).to_have_url (server .PREFIX + "/grid.html" )
67- await expect (page ).not_to_have_url (server .EMPTY_PAGE , timeout = 100 )
67+ await expect (page ).not_to_have_url (server .EMPTY_PAGE , timeout = 750 )
6868 with pytest .raises (AssertionError ):
69- await expect (page ).not_to_have_url (re .compile (r".*/grid\.html" ), timeout = 100 )
69+ await expect (page ).not_to_have_url (re .compile (r".*/grid\.html" ), timeout = 750 )
7070 with pytest .raises (AssertionError ):
71- await expect (page ).not_to_have_url (server .PREFIX + "/grid.html" , timeout = 100 )
71+ await expect (page ).not_to_have_url (server .PREFIX + "/grid.html" , timeout = 750 )
7272 await expect (page ).to_have_url (re .compile (r".*/grid\.html" ))
73- await expect (page ).not_to_have_url ("**/empty.html" , timeout = 100 )
73+ await expect (page ).not_to_have_url ("**/empty.html" , timeout = 750 )
7474
7575
7676async def test_assertions_page_to_have_url_with_base_url (
0 commit comments