test: the private-key export screen has no e2e coverage, unlike the recovery-phrase screen #253
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?
The e2e suite's secret-screen cases are all
show-phrase(from #161).export-privkeyhas none, even though #248 has just given it the same leave-hook and post-await liveness machinery.Raised by the independent review of that PR and deliberately left out of its scope — its definition of done did not ask for e2e coverage, and popup init is already exercised where a
ReferenceErrorin the touched views would surface.Worth closing anyway:
make checkisprettier --checkplus unit tests and cannot see a runtime error in a view handler, which is exactly how #150 and #151 shipped. The unit tests for this screen drive a stub DOM, so the real reveal-and-wipe path has never run in a browser.Implementation requirements
show-phrasee2e cases forexport-privkeyrather than inventing a new shape — the two screens now share their machinery, and the assertions should look the same.Definition of done
make test-e2edrivesexport-privkeythrough reveal and through both leave routes.TODO.mdupdated in the same commit.make checkpasses.