JUNIOR & MID QA

Walk into your Playwright interview ready.

A 14-day plan that takes you from your first test to the questions and live coding tasks interviewers actually give Junior and Mid QA engineers. Short daily sessions, real code, no guessing what to learn next.

14study days
~40 hof focused work
22interview questions
9live coding labs

Beginner to Mid · TypeScript · Days 1, 2, 13 free · by Greg Sala

What’s inside

One plan. Everything you need to prepare.

The course is an interactive app in the AssertionCraft portal. Your progress is saved as you go.

01

A 14-day plan

Four phases, one topic a day, with objectives, a deep dive, common mistakes and practice tasks.

~40 h in total
02

Interview question bank

Short and detailed answers, code examples, recruiter traps and career tips. Practise with flashcards.

22 questions
03

Live coding lab

Real tasks against a local practice app. Solve them in your editor, then check your work with the grader.

9 labs
04

Mock interview & cheatsheet

A 45-minute timed interview with random questions and a task, plus a cheatsheet with golden rules.

4 cheatsheet sections
After 14 days

What you’ll be able to do

  • Locators that survive redesigns

    getByRole, getByLabel and filters instead of brittle CSS chains and nth-child.

  • No more waitForTimeout

    Auto-waiting and web-first assertions, so your tests wait for the app, not the clock.

  • Network and API in one suite

    Mock edge cases with page.route() and test REST endpoints with APIRequestContext.

  • Login once, test everywhere

    storageState, a clean Page Object Model and fixtures that set up and tear down for you.

  • Green in CI

    Tags, .env config and a GitHub Actions pipeline, plus how to read and fix a flaky failure.

  • Calm under live coding

    Practise the tasks out loud, then run a 45-minute mock interview against the clock.

Program

14 days, 4 phases

About 40 hours of focused work, 2.5 to 3.5 hours a day. Open any day to see what you’ll cover.

Free open on a free Skool account
Pro included in Pro, $29/year

Phase 1: Playwright Basics, Locators & InteractionsDays 1–4

Day 01Starting a Playwright Project & Your First E2E TestInstallation, directory structure, BrowserContext and the test lifecycle2.5 hFree
  • Initializing the project (npm init playwright@latest) and the file structure
  • The Browser → BrowserContext → Page hierarchy
  • Grouping tests with test.describe() and the test.beforeEach() hook
Day 02User-Facing Locators & Fighting Brittle SelectorsgetByRole, getByLabel, getByPlaceholder, getByTestId and .filter()3 hFree
  • The locator hierarchy: why we start with getByRole and getByLabel
  • Resolving a "strict mode violation" with .filter({ hasText })

Lab 01 · Fixing a brittle CSS selector and waitForTimeout · 10 min

Day 03Working with Forms, Lists, Tables and iframes.fill(), .selectOption(), .check(), filtering rows and frameLocator()3 hPro
  • Handling input, select and checkbox fields in forms
  • Finding a specific row in a dynamic table
  • Piercing the Shadow DOM and working with <iframe> (frameLocator)

Lab 02 · Automating a form (input, select, checkbox) · 12 min

Lab 03 · Filtering a table and selecting a row · 12 min

Day 04Auto-waiting & Web-First Assertions instead of waitForTimeouttoBeVisible, toHaveText, toBeEnabled, actionability checks and expect.soft3 hPro
  • Why await expect(loc).toBeVisible() beats isVisible()
  • Actionability checks and soft assertions with expect.soft()

Lab 04 · Replacing isVisible() and waitForTimeout with web-first assertions · 12 min

Phase 2: Debugging, Network Mocking & API TestsDays 5–7

Day 05Debugging Without Guessing: Trace Viewer, UI Mode & InspectorAnalyzing trace.zip files, --ui, --debug and the page.pause() trap2.5 hPro
  • The Trace Viewer: the black box of a CI test
  • Local work in --ui (Watch Mode) and the Playwright Inspector (--debug)
Day 06Network Mocking with page.route() & Waiting for the APITesting empty lists, 500 errors and page.waitForResponse()3 hPro
  • Intercepting requests with page.route() before page.goto()
  • Synchronizing on a network response (waitForResponse + Promise.all)

Lab 05 · Mocking an empty task list with page.route() · 14 min

Day 07REST API Tests in Playwright (APIRequestContext)Sending GET/POST/DELETE with the { request } fixture and the API + UI hybrid3 hPro
  • Sending HTTP requests directly from the test ({ request })
  • The hybrid pattern: seeding through the API → verification in the UI

Lab 06 · A REST API test + verification in the UI list · 14 min

Phase 3: Authentication, Page Object Model & TypeScriptDays 8–10

Day 08Handling Login & Reusing the Session (storageState)One-time login in auth.setup.ts and BrowserContext isolation3 hPro
  • Saving the session state (cookies + localStorage) with storageState()
  • A setup project in playwright.config.ts and opting out for guest tests

Lab 07 · Logging in and reusing the session (storageState) · 15 min

Day 09Page Object Model (POM) Basics in TypeScriptExtracting page classes, readonly Locator fields and the no-assertions-in-POM rule3 hPro
  • Building a readable page class (ContactPage / LoginPage)
  • Why do we keep expect() assertions in the test, not in the Page Object?

Lab 08 · Extracting a Page Object Model class (ContactPage) · 15 min

Day 10Practical TypeScript for QA Automation & Promise.allTest data interfaces, async/await, popups and file downloads2.5 hPro
  • Typing test data in TypeScript (interface / type)
  • Catching new tabs (popups) and file downloads (Promise.all)

Lab 09 · Safely handling a new window (popup) with Promise.all · 14 min

Phase 4: Custom Fixtures, CI/CD & Junior Live CodingDays 11–14

Day 11Custom Fixtures (test.extend): Clean Setup and TeardownInjecting Page Objects and cleaning up data after the test3 hPro
  • Automatically injecting Page Objects with test.extend()
  • Code after await use(...) as a safe teardown
Day 12Project Configuration, Tags (@smoke) and .env Variablesplaywright.config.ts, browser projects, mobile views and keeping secrets safe2.5 hPro
  • Configuring Desktop + Mobile projects in playwright.config.ts
  • Tagging tests and keeping passwords safely in .env
Day 13CI/CD in GitHub Actions & Fixing Flaky TestsRunning tests in the cloud, report artifacts, retries and forbidOnly2.5 hFree
  • Configuring a GitHub Actions workflow for Playwright
  • Fighting unstable (flaky) tests
Day 14Live Coding Practice & Junior Interview SimulationReviewing all 9 tasks, the 6 Golden Rules and questions for the team3 hPro
  • Reviewing all 9 tasks on the local Sandbox
  • Interview simulation (Mock Interview) and questions for the interviewer
Live coding lab

9 tasks you’ll meet in real interviews

Each lab starts from broken or unfinished code, just like a live coding round. One of them is free.

Lab 01 · Day 2 · 10 minFree

Fixing a brittle CSS selector and waitForTimeout

Resilient Locators
Lab 02 · Day 3 · 12 minPro

Automating a form (input, select, checkbox)

Forms & Controls
Lab 03 · Day 3 · 12 minPro

Filtering a table and selecting a row

Tables & Lists
Lab 04 · Day 4 · 12 minPro

Replacing isVisible() and waitForTimeout with web-first assertions

Auto-waiting & Assertions
Lab 05 · Day 6 · 14 minPro

Mocking an empty task list with page.route()

Network Mocking
Lab 06 · Day 7 · 14 minPro

A REST API test + verification in the UI list

REST API Tests
Lab 07 · Day 8 · 15 minPro

Logging in and reusing the session (storageState)

Authentication & Session
Lab 08 · Day 9 · 15 minPro

Extracting a Page Object Model class (ContactPage)

Page Object Model
Lab 09 · Day 10 · 14 minPro

Safely handling a new window (popup) with Promise.all

TypeScript & Popups
1 · Download

Get the lab as a ZIP: a small Playwright project with a local practice app.

2 · Solve

Fix the starter test in your own editor. Hints and a reference solution are there when you’re stuck.

3 · Check

Run the grader and the tests, the same way you’d run a real suite in CI.

Question bank

22 questions, answered the way interviewers expect

  • A short answer to say out loud, and a detailed one to understand the why
  • Code examples you can run, not just definitions
  • Recruiter traps: the follow-up questions that catch people out
  • Flashcards with Known / Review self-rating, linked to the day you studied the topic

Topics22 total

  • Basics & Configuration3
  • Locators & Forms4
  • Auto-wait & Assertions3
  • Debugging & Trace2
  • Network Mocking & API3
  • Login & storageState1
  • POM & Custom Fixtures2
  • TypeScript & CI/CD4
Who it’s for

Is this the right track?

A good fit if you are

  • Manual testers moving into automation
  • Junior QA engineers with a Playwright interview coming up
  • Mid QA engineers switching from Selenium or Cypress
  • Anyone who learns better from a plan than from scattered tutorials

Probably not for you if

  • You already design test frameworks and CI pipelines (see the Senior & Lead track)
  • You want a JavaScript course from zero: we assume you can read basic code
Greg Sala

Hi, I’m Greg Sala, a Principal Test Automation Engineer with 20 years in software. I wrote every question and lab from hands-on work with real test suites, and explained it the way I’d explain it to someone on my team. More about me

Pricing

Start free. Go Pro when it clicks.

One Pro plan unlocks this course and every other AssertionCraft course.

Free
$0 forever

Try the plan, the questions and the labs before you pay anything.

  • Days 1, 2, 13 of this course
  • Their questions and 1 labs
  • Demo lessons from every other course
  • Community feed & discussions
Join for free
ALL COURSESPro
$29 / year

Less than $2.50 a month, billed yearly on Skool.

  • All 14 days, 22 questions and 9 labs
  • Mock interview, flashcards and cheatsheet
  • Full access to all courses & labs
  • New courses as they ship, at no extra cost
  • Private Pro community on Skool
Join Pro on Skool →

Founding bonus: personal code review of your suite (first 10 members).

FAQ

Questions about this course

Do I need to know Playwright already?

No. Day 1 starts with installation and your first test. You should be comfortable reading basic JavaScript or TypeScript.

What can I try for free?

Days 1, 2, 13 with their questions and labs are open on a free Skool account. Pro unlocks all 14 days.

How much time do I need per day?

Plan on 2.5 to 3 hours a day, about 40 hours in total. There’s a study planner if you need to spread it over more weeks.

How do the labs work?

You download a small project with a local practice app, write the test in your own editor and check it with a grader. You can also try each task in the browser.

Is it TypeScript or JavaScript?

TypeScript, kept practical. Day 10 covers the TypeScript you actually need for QA automation.

What does Pro cost?

$29 a year on Skool, and that includes every course, not just this one. Cancel anytime.

Your interview won’t wait. Start with Day 1 today.

Free account, no card needed. Days 1, 2, 13 are open the moment you join.

Start the free days →
Days 1, 2, 13 freePro $29/year on Skool
Start free →