A settings change is lost when logging out right after leaving settings #124

Closed
opened 2026-10-18 18:42:40 +00:00 by littlefox · 0 comments
Owner

Found by CI run #201 (main): settings.spec failed on Android and iPhone. Leaving the settings screen saves the last change in the background (about 120 ms locally, longer on a busy machine); logging out right away disconnects first and the save is lost. A real user can do the same: change a setting, go back, log out.

Fix: logging out waits for settings saves under way (at most 10 s). The spec now logs out right after leaving the screen, and waits for the login page before logging in again (it used to reload the page while logging out); without the fix it fails, with it it passes.

Found by CI run #201 (main): settings.spec failed on Android and iPhone. Leaving the settings screen saves the last change in the background (about 120 ms locally, longer on a busy machine); logging out right away disconnects first and the save is lost. A real user can do the same: change a setting, go back, log out. Fix: logging out waits for settings saves under way (at most 10 s). The spec now logs out right after leaving the screen, and waits for the login page before logging in again (it used to reload the page while logging out); without the fix it fails, with it it passes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
littlefox/neokom#124
No description provided.