test: the e2e suite waits for each save before it closes the popup (closes #446)
The Settings round trip switched the theme and the network and closed the popup at once. A close before the change handler's save lands loses the switch, and the suite then ran on Sepolia. tests/e2e/run.js now has one helper that polls a field of the stored record until it holds the expected value, in place of the wait that only read viewStack. Each Settings switch and spam-filter toggle waits for its save, the recovery-phrase reopen waits for its saved view, and reopenPopup() waits until the view it expects to reopen on is the saved one. README.md no longer lists #446 among the open reports of the Chrome suite failing under load. Model: opus-5-5
This commit was merged in pull request #449.
This commit is contained in:
@@ -45,6 +45,18 @@ but the review is broader than any of them.
|
||||
|
||||
# Completed Steps
|
||||
|
||||
- 2026-10-05: The e2e suite waits for a save to land before it closes the popup
|
||||
([#446](https://git.eeqj.de/sneak/AutistMask/issues/446)). The Settings round
|
||||
trip switched the theme and the network and closed the popup at once, and a
|
||||
close before the save lands loses the switch; with the network left on
|
||||
Sepolia, a dozen later tests failed too. Each Settings switch and spam-filter
|
||||
toggle is now waited for in storage before the close, and `reopenPopup()`
|
||||
waits until the view it expects to reopen on is the saved one. The restore
|
||||
half of the round trip and the second filter toggle change a setting right
|
||||
after a reopen, while the reopened popup's own saves may still be running;
|
||||
they rely on the fix for
|
||||
[#448](https://git.eeqj.de/sneak/AutistMask/issues/448).
|
||||
|
||||
- 2026-10-05: A change made while an earlier save from the same page is still
|
||||
running is stored ([#448](https://git.eeqj.de/sneak/AutistMask/issues/448)).
|
||||
`saveStateOnce()` took its baseline from the page's state after the write, so
|
||||
|
||||
Reference in New Issue
Block a user