test: tolerate container reconnect latency
All checks were successful
CI / lint (pull_request) Successful in 1m59s
CI / build-release (pull_request) Successful in 5s
CI / browser-journey (pull_request) Successful in 55s
CI / release-candidate (pull_request) Has been skipped

This commit is contained in:
timmy 2026-08-16 11:05:04 +00:00
parent 7fa43a9e50
commit c8a237aba4

View File

@ -246,7 +246,9 @@ def test_release_artifact_files_one_mobile_issue_exactly_once_after_offline_relo
fake.issue_creation_enabled = True
context.set_offline(False)
page.evaluate("window.dispatchEvent(new Event('online'))")
for _ in range(80):
# 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):
if fake.created_issues:
break
page.wait_for_timeout(250)