Lesson overview

Test forms and navigation outcomes

Test forms and navigation outcomes — Test an AI-built site with Playwright. Assert the result, not just the click; Create behavior.spec.ts; Keep delivery claims narrow. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Assert the result, not just the click
  • Create behavior.spec.ts
  • Keep delivery claims narrow

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