Skip to content

test: implement critical path E2E tests (PR 3.2) - #82

Merged
JanZachmann merged 1 commit into
omnect:mainfrom
JanZachmann:test/implement-critical-paths
Jan 14, 2026
Merged

test: implement critical path E2E tests (PR 3.2)#82
JanZachmann merged 1 commit into
omnect:mainfrom
JanZachmann:test/implement-critical-paths

Conversation

@JanZachmann

Copy link
Copy Markdown
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

@JanZachmann JanZachmann changed the title test: implement critical path E2E tests test: implement critical path E2E tests (PR 3.2) Dec 19, 2025
@JanZachmann
JanZachmann force-pushed the test/implement-critical-paths branch from 98956a3 to 0c5a968 Compare January 14, 2026 15:06
- 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 force-pushed the test/implement-critical-paths branch from 0c5a968 to 0cba801 Compare January 14, 2026 15:10
@JanZachmann
JanZachmann merged commit d9f839c into omnect:main Jan 14, 2026
2 checks passed
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