
Learn to intercept, observe, modify, and mock API requests in Playwright with TypeScript, simulate errors like 404 or 500, and block images, styles, and fonts to speed UI tests.
Learn Playwright + TypeScript by building a maintainable, production‑ready test suite step by step. We start with a fast JS to TS primer for testers, then move from first run to a clean Page Object Model, fixtures, API tests, network mocking, visual/a11y checks, and CI/CD.
What you’ll do
Set up Node, VS Code, and Playwright
Use robust locators and assertions to write readable, flaky‑free tests.
Capture and refactor Codegen output into clean, reusable test code.
Add visual snapshots, debug with the HTML report, trace, and video.
Intercept/mimic API calls to test slow responses, errors, and edge cases.
Validate REST APIs directly with Playwright’s request library.
Check accessibility with axe and address common WCAG issues.
Organize everything with a Page Object Model and Playwright fixtures.
Ship tests in CI with GitHub Actions and artifacts.
Explore AI‑assisted testing to draft, refactor, and review scenarios safely.
By the end, you’ll be able to design and build your own Playwright solution tailored to your product and team workflow—using reliable locators and assertions, a clean POM architecture, reusable fixtures, API and network tests, visual and accessibility checks, and a fast GitHub Actions pipeline. You’ll leave with a comprehensive, job‑ready starter template (POM + fixtures + utilities + CI) and the know‑how to adapt it to new apps, add custom helpers, and scale your suite with confidence. In the final module, we add AI‑assisted testing—showing how to use tools like Copilot/MCP Server to draft tests, generate data, refactor POMs, and review failures with human‑in‑the‑loop guardrails.