Real(time) Talk: Testing Multi-User Interactions with Cypress
summary
Shows concrete Cypress patterns: seeding fixtures via API, using cy.intercept to capture the created assignment ID and then GET to verify every property, and keeping most tests single-view async for speed and clear failure signal. Adds a few multi-view async smoke tests that create an assignment via UI then switch to a student view. For real-time apps, Cypress opens a test-controlled websocket and exposes Pinia state on window to simulate opponents and assert both DOM and store with single-view real-time flows.
AI-written summary · about
