Merge pull request 'feat: CI regression: mobile handoff break status assertion fails on main' (#1163) from timmy/1162-ci-regression-mobile-handoff-break-status-assert into main
All checks were successful
CI / lint (push) Successful in 3m14s
CI / build-release (push) Successful in 6s
CI / browser-journey (push) Successful in 3m54s
CI / release-candidate (push) Successful in 8s

This commit is contained in:
rockachopa 2026-08-20 03:09:59 +00:00
commit f9c4938401
2 changed files with 9 additions and 0 deletions

View File

@ -5409,6 +5409,7 @@
activeFlushLogin = contextIdentityFresh ? String(snapshot.context.user?.login || '').trim() : '';
if (activeFlushLogin) {
confirmedOwnerLogin = activeFlushLogin;
timerView.render();
restoreReleaseReceipt();
updateDeliveryReceiptControls();
interruptionPrompt.restore();

View File

@ -185,6 +185,14 @@ process.stdout.write(JSON.stringify({{opened,cancelled,started,expired,final:{{c
}
def test_confirming_the_account_renders_a_persisted_break_immediately():
dashboard = (ROOT / "frontend" / "dashboard.js").read_text()
confirmation = dashboard.split("if (activeFlushLogin) {", 1)[1].split("}", 1)[0]
assert "confirmedOwnerLogin = activeFlushLogin;" in confirmation
assert "timerView.render();" in confirmation
def test_timed_break_is_packaged_as_an_accessible_mobile_flow():
html = (ROOT / "frontend" / "index.html").read_text()
css = (ROOT / "frontend" / "dashboard.css").read_text()