Free book
Frontend Testing with Playwright and Vitest

Reading access
Free book
A practical frontend testing book covering unit tests, component tests, integration tests, Playwright E2E tests, test data, accessibility checks, CI workflows, and maintainable test strategy.
Level: intermediateLanguage: EN EnglishRating: 0Reviews: 0
Book
Book contents
01Chapter 1: Choosing the Right Test Level02Chapter 2: Vitest Setup for Frontend Projects03Chapter 3: Testing Pure Functions and UI Helpers04Chapter 4: Testing Components Through User Behavior05Chapter 5: Playwright Project Setup and Browser Matrix06Chapter 6: Selectors, Roles, and Stable Test Design07Chapter 7: Mocking APIs and Managing Test Data08Chapter 8: Authentication, Sessions, and Protected Routes09Chapter 9: Testing Forms, Validation, and Error States10Chapter 10: Accessibility Checks in Automated Tests11Chapter 11: Visual Regression and Screenshot Testing12Chapter 12: CI Pipelines, Retries, Traces, and Reports13Chapter 13: Build Tests for an Admin Listing14Chapter 14: Build Tests for Checkout and Payment States15Chapter 15: Build Tests for a Localized Website16Chapter 16: Create a Team Testing Playbook17Appendix E: Deeper Practice and Extra Examples
Reviews
No approved reviews are visible yet.
Featured Books
Discussion
0 commentsNo approved comments are visible yet. New community replies may wait for moderation.


