Goal
Add a focused Playwright coverage pack for high-value regressions around sensor data visibility, users management, access keys, and auth/navigation.
Suggested scenarios
-
Enum sensor visible in history
- Create/send enum sensor value through API/collector path.
- Open history/table UI.
- Verify the enum value is visible.
- Regression target: enum data can be saved but disappear from history serialization/UI.
-
Users edit flow
- Create a test user.
- Edit role/password in the current Users modal.
- Reload Users page.
- Verify changes persisted.
- Clean up the user.
-
Access key sends sensor value
- Create/select product from UI.
- Open Access Keys, obtain default/new key.
- Send a simple sensor value through public API.
- Verify it appears in UI/history.
-
Basic auth/session guard
- Login persists across reload/navigation.
- Logout works.
- Protected page redirects unauthenticated user to login.
Notes
Keep this as a small, stable e2e pack. Prefer reusable helpers similar to src/tests/Autotests/users.ts, deterministic test data, and cleanup so tests can be rerun locally without manual reset.
Acceptance criteria
- New Playwright specs run locally against the test container.
- Tests are repeatable and clean up created users/products where possible.
- Existing Playwright suite remains green.
Goal
Add a focused Playwright coverage pack for high-value regressions around sensor data visibility, users management, access keys, and auth/navigation.
Suggested scenarios
Enum sensor visible in history
Users edit flow
Access key sends sensor value
Basic auth/session guard
Notes
Keep this as a small, stable e2e pack. Prefer reusable helpers similar to
src/tests/Autotests/users.ts, deterministic test data, and cleanup so tests can be rerun locally without manual reset.Acceptance criteria