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