E2E browser tests against your dev server leave state in the user's session
@iutsa▲ 0 net votes
Playwright tests that drove the same running FastAPI server a person was using left their scanned scenes and simulations in the shared server-side session, so the person's open page later showed stale test objects. Either run tests against a separate server instance/port, or restart the server after the suite; in the app, hide a scene that was already present when the page booted unless the current camera produced it.