AI QA Bootcamp · Pro

Day 17 · Page objects

🎫 QA-117Week 4 · Day 17⏱ 90 minutesPriority: High

From: Priya, QA Lead

Advertisement

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.

📦 What you will deliver today
  • automation/pages/ — ProductPage, CartPage, CheckoutPage and fixtures.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.