AI QA Bootcamp · Pro
Day 17 · Page objects
From: Priya, QA Lead
Before the suite grows, give it a structure: page objects for product, cart and checkout, wired in as Playwright fixtures. Then automate our top checkout risks: a digital order with UPI, a physical order with a card and express delivery, and a declined card.
Page objects are where AI over-engineers: base classes three levels deep, a “god” page with 60 methods, assertions hidden inside helpers, string selectors passed around. Today you ask for a small design, keep assertions in the tests, and automate three flows from your Week 1 risk register.
automation/pages/—ProductPage,CartPage,CheckoutPageandfixtures.ts.automation/tests/checkout.spec.ts— 3 green end-to-end tests.
🔒 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.