Skip to content

Commit 50892f6

Browse files
authored
test: un-flake test browsertype connect slow mo test (microsoft#709)
1 parent cfc1030 commit 50892f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sync/test_browsertype_connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def test_browser_type_connect_slow_mo(
2626
remote_server = launch_server()
2727
browser = browser_type.connect(remote_server.ws_endpoint, slow_mo=100)
2828
browser_context = browser.new_context()
29-
page = browser_context.new_page()
3029
t1 = time.monotonic()
30+
page = browser_context.new_page()
3131
assert page.evaluate("11 * 11") == 121
32-
assert (time.monotonic() - t1) >= 0.100
32+
assert (time.monotonic() - t1) >= 0.2
3333
page.goto(server.EMPTY_PAGE)
3434
browser.close()
3535

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy