tests: give the positive waits of test_a_popup_of_a_link_reaches_the_client_e2e the suite's 30 s deadline
A deadline under 30 s on a wait for something that must happen judges the runner, not the product; the assertions are untouched.
This commit is contained in:
1 parent
873104fd8d
commit
2e230e7d36
1 file changed
+1
-1
@@ -93,7 +93,7 @@ def _check(page, popup_of, site, opener):
|
||||
with page.expect_popup(timeout=30000) as info:
|
||||
page.click(opener)
|
||||
popup = info.value
|
||||
popup.wait_for_load_state("load", timeout=5000)
|
||||
popup.wait_for_load_state("load", timeout=30000)
|
||||
expected = (site.replace("127.0.0.1", "localhost") if opener.startswith("#x") else site) + "popup"
|
||||
assert popup.url == expected
|
||||
assert popup.title() == "popup"
|
||||
|
||||
Reference in new issue
Block a user