AI QA Bootcamp · Pro

Day 16 · A Playwright project with your AI

🎫 QA-116Week 4 · Day 16⏱ 90 minutesPriority: High

From: Priya, QA Lead

Advertisement

Time to automate. Set up a Playwright project in TypeScript for SQA Shop and write the first two smoke tests: search, and add to cart. Use your AI as a pair programmer — but every line that goes into the repo is yours to explain.

AI tools write Playwright code fast. They also write the habits Playwright was built to remove: fixed sleeps, brittle CSS and XPath, assertions that do not wait, and data-testid values that do not exist. Today you set up the project properly and teach the AI how this app is built.

📦 What you will deliver today
  • automation/ — a Playwright TypeScript project with baseURL set to SQA Shop.
  • automation/tests/smoke.spec.ts — 2 green tests: search and add to cart.
  • ai/automation-rules.md — your rules for AI-written test code.

🔒 The rest of this mission is part of SQA Tools Pro

Step-by-step prompts for ChatGPT, Claude and Gemini, the “Catch the AI” traps, the acceptance checklist, the reference solution and your interview line.

Start your 7-day free Pro trial See plans

New accounts get every Pro feature free for 7 days — no card needed.