Skip to content

Conversation

@JanZachmann
Copy link
Contributor

Critical Path E2E Tests (Phase 3.2)

This PR implements the critical user journey tests defined in the E2E strategy.

Implemented Tests

  • Auth Flow: Login, logout, and redirect behavior.
  • Device Read-Only: Verifies System Info display using real Centrifugo WebSocket updates.
  • Network Safety UI: Validates the Rollback Timer overlay appears when changing critical network settings (DHCP -> Static).

Infrastructure Updates

  • Added publishToCentrifugo test fixture helper.
  • Fixed missing subscribeToChannels call in App.vue that prevented WebSocket updates.
  • Refined run-e2e-tests.sh for robustness.

How to Run

./scripts/test-e2e-in-container.sh

Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
- Implemented auth.spec.ts, device.spec.ts, network.spec.ts
- Added centrifugo fixture helper
- Fixed Centrifugo subscription in App.vue
- Improved test scripts for argument forwarding
- Configured playwright to ignore HTTPS errors
- Added jsonwebtoken for test token generation

Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
@JanZachmann JanZachmann changed the title test: implement critical path E2E tests test: implement critical path E2E tests (PR 3.2) Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant