test: allow workspace activation before offline delivery
This commit is contained in:
parent
49bbeadc48
commit
1a4f930b50
|
|
@ -270,8 +270,9 @@ def test_release_artifact_files_one_mobile_issue_exactly_once_after_offline_relo
|
||||||
context.set_offline(False)
|
context.set_offline(False)
|
||||||
page.evaluate("window.dispatchEvent(new Event('online'))")
|
page.evaluate("window.dispatchEvent(new Event('online'))")
|
||||||
# Containerized Actions runners can take longer than a local browser to wake the
|
# Containerized Actions runners can take longer than a local browser to wake the
|
||||||
# service worker and complete its identity handshake after reconnect.
|
# service worker, finish optional workspace activation, and complete its identity
|
||||||
for _ in range(160):
|
# handshake after reconnect.
|
||||||
|
for _ in range(240):
|
||||||
if fake.created_issues:
|
if fake.created_issues:
|
||||||
break
|
break
|
||||||
page.wait_for_timeout(250)
|
page.wait_for_timeout(250)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user