test: the state-recovery screen has no e2e coverage, so its behaviour under the real manifest CSP is unverified #361
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from the review of #360 (#360 (comment)), which judged shipping without this acceptable but worth filing.
The recovery screen added by #311 is covered by jest driving the real
src/popup/index.jsover a DOM built from the realsrc/popup/index.html, with ids held against the markup bytests/popupElementIds.test.js. That is unusually strong for a unit test.What it cannot cover is the browser-dependent part:
blob:, so the on-screen text box is the real export path — and it is untested in a real browser.location.reload()actually lands on Welcome.This is the one screen whose entire job is to appear when everything else is broken, so "it works in a DOM stub" is a weaker guarantee here than elsewhere.
Definition of done
view-state-recoveryrather than a blank page.make checkgreen and the e2e suite passes.