Skip to content

chore(e2e): add clear-updates restart crash regression check to update flow#133

Merged
floydkim merged 2 commits intomasterfrom
chore/e2e-clear-updates-restart-regression
Mar 1, 2026
Merged

chore(e2e): add clear-updates restart crash regression check to update flow#133
floydkim merged 2 commits intomasterfrom
chore/e2e-clear-updates-restart-regression

Conversation

@floydkim
Copy link
Collaborator

@floydkim floydkim commented Mar 1, 2026

Background

This change hardens an E2E regression path for a past runtime issue: potential crash after calling clearUpdates and then restartApp.

Changes

  • Updated e2e/flows/03-update-flow.yaml to add a regression check at the end of the update flow:
    • start from an installed update state
    • tap Clear updates
    • tap Restart app
    • assert the app is still running (React Native.* is visible)
    • assert the installed update marker is gone (UPDATED! is not visible)
  • Re-applies the update at the end of the same flow to restore the expected startup state for the next rollback phase (flows-rollback), which assumes an update is already installed.

Expected Impact

  • The E2E suite now explicitly guards the clearUpdates + restartApp path against runtime crash regressions.
  • The existing phase order remains stable because 03-update-flow now preserves the expected precondition for phase 2.

@floydkim floydkim force-pushed the chore/e2e-clear-updates-restart-regression branch from 5cf4d57 to 15f6685 Compare March 1, 2026 16:00
@floydkim floydkim enabled auto-merge (squash) March 1, 2026 16:01
@floydkim floydkim merged commit d23cdb3 into master Mar 1, 2026
2 checks passed
@floydkim floydkim deleted the chore/e2e-clear-updates-restart-regression branch March 1, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant