Skip to content

7-Day Playwright Testing Interview Preparation Plan

Your saved questions plus a day-by-day plan. Add questions with Save to → 7-Day Job Prep on any question page.

Day-by-day plan

Day 1JavaScript and TypeScript basics
  • Revise promises, async/await and the event loop with small examples
  • Practise map, filter, reduce, destructuring and spread
  • Learn TypeScript types, interfaces, unions and generics
  • Solve five short coding problems in TypeScript
Day 2Playwright core and setup
  • Create a fresh project with npm init playwright and read the generated config
  • Understand browser, context and page and how auto-waiting works
  • Automate login, navigation, a new tab and an iframe on a demo site
  • Run tests headed and in three browsers
Day 3Locators and assertions
  • Rewrite five CSS or XPath locators using getByRole and getByLabel
  • Practise filter, chaining, toHaveText, toHaveCount and toHaveURL
  • Use expect.poll and soft assertions in one test
  • Fix a strict mode violation on purpose
Day 4Fixtures, hooks and page objects
  • Build a page object for login and cart
  • Create a custom fixture for a logged-in page
  • Add a setup project that saves storageState
  • Compare test-scoped and worker-scoped fixtures in code
Day 5API testing and network mocking
  • Write GET, POST, PUT and DELETE tests with the request fixture
  • Create test data through the API before a UI test
  • Mock a 500 error, an empty list and a slow response with page.route
  • Assert a request payload with waitForRequest
Day 6Debugging, CI and framework
  • Record a trace and walk through actions, network and console tabs
  • Set up a CI workflow with reports uploaded as artifacts
  • Try sharding, retries and the flaky status in the report
  • Prepare an answer for 'tests fail only in CI'
Day 7Mock interview and revision
  • Revise the 30 revision points and your weak topics
  • Do a timed live coding task: automate a form with assertions
  • Prepare three STAR stories on flaky tests, a bug found and teamwork
  • Explain your framework design aloud in five minutes

Frequently asked questions

Can I prepare for a Playwright Testing interview in 7 days?

Seven days is enough to revise and sharpen, not to learn from zero. Use the plan to cover each core topic once, practise questions daily and finish with a mock interview.

How do I add questions to the plan?

On any question page choose Save to → 7-Day Job Prep. Saved questions show up at the top of this page.

How many hours a day should I study?

Two to four focused hours a day works for most people: one hour of revision, one to two hours of questions, and the rest on projects or mock answers.