-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Describe the bug
When the "/login" path is loaded for the first time (or the browser cache has expired?), the page unexpectedly refreshes after a few seconds.
To Reproduce
Steps to reproduce the behavior:
- Open a web browser in "private/incognito mode".
- Go to '/login'
Expected behavior
Visit "/login" without an additional page reload.
Screenshots
See attached video: https://github.com/user-attachments/assets/8203fd36-d620-446c-9bdf-6fb3be34e079
Desktop (please complete the following information):
- OS: Ubuntu 24.04 LTS
- Browser: Firefox (147.0.2) and Chromium (144.0.7559.109)
Additional context
There seems to be a correlation between the page refresh and when the service worker moves from the state "installing" to "running".
Besides being a bit annoying (affecting the "first-usage experience"), the behavior also makes automated end-to-end testing of the web app a bit trickier since the DOM is reset without user interaction.