test: allow workspace activation before offline delivery
Some checks failed
CI / lint (pull_request) Successful in 2m54s
CI / build-release (pull_request) Successful in 7s
CI / browser-journey (pull_request) Failing after 3m4s
CI / release-candidate (pull_request) Has been skipped

This commit is contained in:
timmy 2026-08-17 01:13:15 +00:00
parent 49bbeadc48
commit 1a4f930b50

View File

@ -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)