- 49lessons
- 3guided projects
- 8module checkpoints
- 1.0hours of video
What you'll learn
- Create a pinned Playwright Test workspace with a webServer and reports.
- Write user-facing locators and retrying web-first assertions.
- Isolate tests with contexts, fixtures, API seeding, storageState and page objects.
- Stub, fail and replay network traffic to make tests deterministic.
- Run tests in parallel and on CI and diagnose failures from traces.
Skills you'll gain
- Test workspace
- Locators
- assertions
- Navigation
- forms
- Fixtures
- isolation
- Network control
- Accessibility
- responsive checks
- CI artifacts
- debugging
- End-to-end test suite
Tools you'll use
- Playwright Test
- axe accessibility scans
- HAR replay
- CI workflow
- npm
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Workspace and core tests
Set up Playwright, write locators and assertions, and test navigation and forms.
You build: Trailhead smoke and navigation suite.
- 02
Modules 4 to 5
Isolation and network
Control state with fixtures and seeded data, then control the network.
You build: Deterministic data and network-controlled tests.
- 03
Modules 6 to 7
Accessibility, responsive and CI
Add accessibility and viewport checks, then run on CI and debug from artifacts.
You build: Accessible, responsive and CI-ready Trailhead suite.
- 04
Module 8
End-to-end suite
Design and harden a full journey suite tied to the planted defects.
You build: Final journey suite.
Full curriculum
8 modules and 49 lessons, 28 to 47 hours of study
01Test workspace6 lessons, 3 to 4 hours
Lessons
- What Playwright Test is and what npm init playwright creates
- Pinning Playwright and installing browsers
- Config essentials - baseURL, projects and the webServer block
- Anatomy of a test - test, expect, page and async steps
- Running tests - CLI selection, tags and UI mode
- Reading the HTML report and test-results output
After this module you can
- Run the project initialiser in an empty folder and name the purpose of playwright.config.ts, the tests folder, package.json and the lockfile.
- Pin an exact @playwright/test version, install the matching browser build and show both versions in the terminal.
- Run a mixed pass/fail suite and extract from the HTML report the failing step, the error text and the artifact files for one failure.
02Locators and assertions6 lessons, 3 to 4 hours
Lessons
- getByRole and accessible names
- getByLabel, getByPlaceholder, getByText, getByAltText and getByTitle
- Test IDs and the testIdAttribute setting
- Chaining, filtering and strict mode
- Web-first assertions versus one-off checks
- Soft assertions, expect.poll, expect.toPass and timeouts
After this module you can
- Locate buttons, links and headings with getByRole and a name, and explain how the accessible name is computed.
- Choose the locator that matches how a user finds a form control, visible text, image or titled element.
- Use soft assertions to gather several failures, poll a non-DOM value, and set assertion timeouts at the right level.
03Navigation and forms6 lessons, 3 to 4 hours
Lessons
- Navigation, waitUntil and asserting the URL
- Auto-waiting and actionability checks
- Typing, checking and selecting - fill, check, selectOption and press
- Testing form validation and error messages
- File uploads and browser dialogs
- New tabs, popups and frames
After this module you can
- Navigate with goto and in-page links, and assert the resulting URL and heading with toHaveURL instead of sleeping.
- List the actionability checks Playwright performs before click and diagnose a blocked click from the call log.
- Capture a popup page with waitForEvent and operate inside an iframe with frameLocator.
04Fixtures and isolation6 lessons, 3 to 4 hours
Lessons
- Per-test browser contexts and why tests must not share state
- Writing a custom fixture with test.extend
- Seeding and resetting data through the API request fixture
- Login once with storageState and a setup project
- Worker-scoped and option fixtures, mergeTests
- Page objects, hooks and test.step reporting
After this module you can
- Show that each test receives a fresh browser context and demonstrate a leak caused by shared server-side data.
- Create a fixture with setup and teardown around use() and consume it through a test's argument list.
- Wrap a page's locators and actions in a small class, use beforeEach sparingly, and structure long tests with test.step.
05Network control6 lessons, 3 to 4 hours
Lessons
- Observing traffic with waitForResponse and waitForRequest
- Stubbing an API with page.route and route.fulfill
- Modifying real responses with route.fetch and route.continue
- Error and slow states - route.abort and delayed fulfill
- Recording and replaying HAR files
- Controlling time with the clock and asserting outgoing requests
After this module you can
- Wait for a specific API response after a UI action and assert its status and body.
- Replace a backend response with fixed JSON and assert the UI renders it.
- Install a fake clock to skip waiting and assert the JSON body of a request the page sends.
06Accessibility and responsive checks6 lessons, 3 to 4 hours
Lessons
- Automated accessibility scans with axe-core
- Scoping scans and managing known issues
- Accessibility-tree assertions with ARIA snapshots
- Responsive projects - viewports, devices and media features
- Keyboard navigation and focus tests
- Visual snapshots with toHaveScreenshot and their limits
After this module you can
- Run an axe scan against a page and assert that the violations list is empty or matches a documented list.
- Limit a scan to a region and WCAG tags, and record known violations narrowly instead of excluding whole areas.
- Create a screenshot baseline, mask unstable regions and update the baseline deliberately.
07CI artifacts and debugging7 lessons, 3 to 5 hours
Lessons
- Workers, fullyParallel and serial mode
- Recording and opening traces
- Debugging tools - UI mode, inspector and pause
- Retries, flaky tests and CI-safe settings
- A GitHub Actions workflow with browser install and report upload
- Sharding and merging blob reports
- Failure artifacts - screenshots, video and testInfo.attach
After this module you can
- Explain how test files and tests are distributed across workers and choose a mode for a file with dependent tests.
- Record a trace for a failing test and use the viewer to locate the failing action, the network call and the console error.
- Configure screenshot and video retention and attach custom diagnostics to the report.
08End-to-end test suite6 lessons, 3 to 4 hours
Lessons
- Choosing journeys and a test pyramid slice from the defect list
- Suite structure - projects, tags, fixtures and data layout
- Building the happy-path journey with deterministic fixtures
- Failure and edge journeys - login errors, orders outage and stale search
- Accessibility, responsive and artifact checks across the suite
- Hardening, triage report and final run review
After this module you can
- Select a small set of end-to-end journeys from the Trailhead feature map and defect list, justifying what is left to smaller checks.
- Lay out the capstone folder structure with projects, tag conventions, fixtures and deterministic data in one place.
- Run the suite repeatedly, remove flakiness, and write a defect triage report where every failure maps to a planted defect and every defect to a failure.
What you'll build
3 guided projects along the way, then a final project.
Trailhead smoke and navigation suite
after module 3Deterministic data and network-controlled tests
after module 5Accessible, responsive and CI-ready Trailhead
after module 7
Final project
Choose one: a Trailhead purchase-and-account journey suite, a journey suite for a second supplied booking app, or hardening a supplied flaky suite without retries.
What you submit
Spec, config, fixtures, seed data, workflow file, reports and traces, with repeat-run evidence on the defect build and the corrected build.
How it's reviewed
Rubric on determinism, locator and assertion quality, isolation, network and error paths, and accessibility and responsive cover, plus a live walkthrough of a trace and a report.
Where you'll use it
- Write an end-to-end test for a checkout flow that does not depend on sleeps.
- Open a CI trace to find why a test failed only on the build server.
Roles that use these skills
- QA automation engineer
- SDET
- Frontend developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
Do I need Playwright experience?
No. Playwright is taught from zero.
Can I use retries to fix flaky tests?
No. The flaky-suite option must be stabilised without retries, and fixed sleeps and force clicks are marked down.
Which app do I test?
The supplied Trailhead sample app with a planted defect list.
Be first in when Frontend Testing with Playwright opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens

