Lesson overview

Check responsive behavior and isolation

Check responsive behavior and isolation — Test an AI-built site with Playwright. A viewport is one test condition; Create responsive.spec.ts; Prove contexts do not share storage. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • A viewport is one test condition
  • Create responsive.spec.ts
  • Prove contexts do not share storage

Practical assignment

Lab evidence

The full lesson is available as part of the course.

Continue to learning

Course outline

  1. Create an isolated test project
  2. Use fixtures for reliable setup
  3. Choose selectors users can recognize
  4. Test forms and navigation outcomes
  5. Check responsive behavior and isolation
  6. Run in CI and interpret failures