Objective
What to automate
Create a booking in one explicit Lab session, prove another cannot observe it, then reset the first session.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-BKG-001.
Test data
session A: booking-asession B: booking-b
Expected result
Session B never sees Session A data and reset restores the deterministic booking seed in Session A only.
Progressive hints
Hint 1
Create two explicit Lab sessions with separate headers.
Hint 2
Use each CSRF token only for its own mutation.
Hint 3
Compare booking collections before and after resetting session A.
I’ve tried it — show solution
- Create two explicit Lab sessions with separate headers.
- Use each CSRF token only for its own mutation.
- Compare booking collections before and after resetting session A.
The deliberately failing starter is in tests/travel-booking.spec.ts inside the TypeScript starter ZIP.