Pragmatic UI Testing with Playwright Workshop

Three days to turn UI testing chaos into a well-seasoned Playwright strategy.Learn to build tests that survive refactors, migrations, and AI-assisted development.

Younes in apron holding a purple cooking pot with the Playwright logo and a green check on it, overflowing with a robot and the Testronaut logo in a kitchen setting.
🐣 Early Bird
€1,270€1,470
per seat Β· 3 days Β· small group
// overview

Upcoming sessions

What you will learn

Framework-Agnostic UI Testing

Test Angular, React, Vue, or framework-free apps with the same Playwright toolbox.

Readable and Maintainable Tests

Write tests that tell stories β€” not implementation details β€” and survive refactors.

AI-Assisted Testing

Plug Playwright into your AI agent for reproduction, specification, and self-healing tests.

Network, Auth & Time Control

Master request interception, auth setup, and Playwright Clock for fast, reliable tests.

Test Harnesses & Component Testing

Learn when and how to use Gloves, Test Harnesses, and Playwright Component Testing.

Visual Regression Testing

Detect visual regressions without pain.

Pragmatic Testing Buffet

Enjoy a buffet of tips and tricks to adopt a scalable, cost-effective UI testing strategy.

Program

17 lectures
13 hands-on exercises
  1. Lecture

    Introduction to Testing

    • Why test.
    • The different types of tests.
    • Testing strategies: ice cream cone, pyramid vs. honeycomb.
  2. Lecture

    Playwright Core Features

    • Developer eXperience.
    • Speed.
    • Debuggability.
    • Retry-ability.
    • Consistency and stability.
    • AI-Assisted Testing.
  3. Lecture

    First Test

    • Setting up Playwright.
    • Setting up Playwright with Nx.
  4. Hands-on

    First Test

    • Implementing and running a first Playwright test.
  5. Lecture

    Playwright Fundamentals

    • Fixtures.
    • Assertions.
    • Organizing tests.
  6. Hands-on

    Interacting with the DOM and Forms

    • Interacting with the DOM.
    • Interacting with forms.
  7. Lecture

    Locators

    • The locator philosophy: web-first, auto-waiting, retry-ability.
    • Recommended locators and priority: `getByRole`, `getByLabel`, `getByText` & co.
    • Filtering, chaining, and resolving ambiguity (`filter`, `nth`, strict mode).
    • Accessibility and testability: why `getByRole` is more than a technical detail.
  8. Hands-on

    Semantic Locators

    • Rewriting CSS-driven tests with semantic locators.
Show the full program (22 more)
  1. Lecture

    VSCode Extension & Recording

    • Installing and running tests from the IDE.
    • Test implementation assistance and recording.
  2. Hands-on

    Recording

    • Recording a first test.
  3. Lecture

    Debugging

    • UI Mode and Trace Viewer: development and debugging experience.
    • Anatomy of a trace: actions, DOM snapshots, network, console.
    • `page.pause()`, Inspector, and VSCode breakpoints.
    • Diagnosing flakiness via retries and traces.
  4. Hands-on

    Debugging Flaky Tests

    • Diagnosing a flaky test from its trace.
  5. Lecture

    Playwright Network Testing

    • Pros and cons of the different techniques.
    • Request interception vs. sandboxes.
  6. Hands-on

    Network Testing

    • Intercepting requests.
    • Using a sandbox.
  7. Lecture

    Authentication

    • The cost of repeated logins.
    • The `auth.setup.ts` pattern with project dependencies.
    • UI vs. API authentication: trade-offs and multi-user scenarios.
  8. Hands-on

    Authentication Setup

    • Setting up a reusable authentication setup.
  9. Lecture

    Back to the Future

    • Fake timers and the Playwright Clock API.
    • Use cases: debounce, polling, animations, dates.
    • Testing without waiting.
  10. Hands-on

    Playing with the Clock

    • Playing with the timer.
  11. Lecture

    DOM Distancing & Test Harnesses

    • Accessibility and testability.
    • Page objects: benefits and limits.
    • The story behind Test Harnesses.
    • Gloves & Test Harnesses: how they work.
  12. Hands-on

    Test Harnesses

    • Using test harnesses.
    • Implementing test harnesses.
  13. Lecture

    Playwright Component Testing

    • Breaking the boundaries of "isolated testing" with Playwright Component Testing.
  14. Hands-on

    Playwright Component Testing

    • Isolating and testing a component with Playwright.
    • Reusing the test harness.
  15. Lecture

    Testing Interactions

    • Test Doubles: Dummies, Stubs, Spies, Mocks & Fakes.
  16. Hands-on

    Test Doubles

    • Overriding dependencies with dependency injection and fakes.
    • Testing props, inputs & outputs based communication.
  17. Lecture

    Visual Regression Testing

    • Testing the presentation.
    • Detecting visual regressions.
  18. Hands-on

    Visual Regression Testing

    • Detecting a visual regression on a component with masking of dynamic elements.
  19. Lecture

    AI-Assisted Testing

    • `playwright-cli` vs Playwright MCP: which to pick so your AI agent can use Playwright.
    • Annotated screencast: getting the agent to produce a proof video, with annotations of the elements observed on the page.
    • The agent β†’ test loop: exploration, reproduction, specification, fix.
  20. Hands-on

    AI-Assisted Testing

    • Having the agent reproduce a bug and generate an annotated screencast that explains it.
    • Generating a failing test from that reproduction.
    • Having the agent fix the bug based on the previous test.
  21. Lecture

    Testing Pipeline

    • CI configuration.
    • Reporters.
    • Parallelization and sharding.
  22. Lecture

    Architecture, Maintainability & Scaling

    • How to fight flakiness.
    • How to design a maintainable and scalable testing strategy.

Frequently Asked Questions

Who is this workshop for?

Web developers (Angular, React, Vue, or framework-free) who want to write effective, readable, and cost-effective UI tests. Lead developers and tech leads framing their team's testing strategy. Architects and CTOs looking to industrialize frontend testing without sacrificing delivery velocity. Teams stuck with flaky or unmanageable tests who want a structured, scalable approach that fits AI-assisted development.

What's the experience level?

You should be comfortable with JavaScript and TypeScript fundamentals. No prior Playwright or testing experience is required β€” we start from the ground up.

What tools do I need?

A laptop with internet access, microphone, webcam, an up-to-date browser, and installation rights. Detailed setup instructions are sent a few days before the workshop.

Is it hands-on?

Very. You will alternate between short theory sessions and practical exercises on a single use case throughout the three days. Small groups ensure direct coaching and feedback.

Do I need to use a specific frontend framework?

No. The techniques apply to Angular, React, Vue, and framework-free apps. Exercises focus on Playwright patterns that transfer across stacks.

Can my company fund this?

Yes. Contact me for a quote and administrative details.

What's the difference between booking a session and requesting a custom session?

"Book a Session" lets you join a scheduled cohort. "Custom Session" is for companies who want a private, in-house workshop β€” with optional adjustments to content, duration, or focus areas.

Is there a money-back guarantee?

If the workshop doesn't meet your expectations, reach out within 7 days and we'll work it out.

Not ready to book yet?

Get the next session dates and new recipes in your inbox. No spam, just the sauce.

About one email a month. Unsubscribe anytime.

Dinner's ready!

Three days to turn UI testing chaos into a well-seasoned Playwright strategy. Learn to build tests that survive refactors, migrations, and AI-assisted development.

Pragmatic UI Testing with Playwright 3 days Β· Online Β· €1,270 €1,470
Join Waitlist