Task: Implement Medium-Priority Playwright E2E Coverage (State-Safe) #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: Implement Medium-Priority Playwright E2E Coverage (State-Safe)
Goal
Add medium-priority e2e coverage for Trips without introducing flaky behavior or leaked state across tests.
Scope (Tests to Add)
Critical Guardrails (Learned from Recent Failures)
e2e_userore2e_admin.Date.now()+ small random).context.clearCookies()between identity switches.src/routesbefore writing tests (e.g./trips/trips/upcoming, not guessed paths).Implementation Constraints
getByRole,getByLabel,getByText,aria-label).waitForTimeoutsleeps.File Plan
e2e/transportation-lifecycle.test.tse2e/lodging-permissions.test.tse2e/checklist-experience-persistence.test.tse2e/package-tours-import.test.ts(or split by admin/trip if needed)e2e/helpers/auth.tse2e/helpers/trip.tsData + Setup Requirements
e2e/setup/test-users.ts.Assertions to Prioritize
Execution
bunx playwright testbunx playwright test e2e/transportation-lifecycle.test.tsPW_TRACE_MODE=on PW_VIDEO_MODE=on bunx playwright test e2e/<file>.test.tsAcceptance Criteria