Skip to content
Course outline

Lab: a regression suite that catches bugs

Build a suite of at least five Cedar Books scenarios in QAIA, run it, and decide which failures are real bugs.

  • 45 minutes
  • With QAIA
  • 4 planted bugs
  • Needs a QAIA account

A regression suite runs the same checks after every change, so what worked yesterday is proven to work today. Its value lies in two things: the scenarios it contains, and how carefully someone reads its failures.

In this lab you build a suite of Cedar Books scenarios in QAIA, each tied to a requirement, run it, and decide which failures are real bugs and which are scenarios that need fixing.

Open Cedar Books Its requirements

What you need

  • A QAIA account on Pro or Enterprise, signed in: test suites (Tests) are not part of the Free plan.
  • The Cedar Books requirements, to write each scenario's expected result.
  • About 45 minutes, part of it waiting for the run.

Steps

  1. In QAIA Tests, create a collection named "Cedar Books 2.4".
  2. Add at least five scenarios, each with the target https://practice.qaia.io and one expected result taken from a requirement. Cover search (REQ-02), coupons (REQ-03), checkout (REQ-07), the confirmation (REQ-08) and paging (REQ-10).
  3. Run the whole collection as a suite.
  4. For each failure, open its details, screenshots and log. Decide: does the shop break the requirement (a bug), or does the scenario ask for the wrong thing (a scenario to fix)?
  5. Fix the scenarios that were wrong and run the suite again. Note whether any result changed without a reason: that is a flaky check.
  6. Export the results, then sign in here and press "Check my QAIA run".

Hints

Stuck? Open one hint at a time, and try again after each one.

Hint 1

A good scenario has one expected result you could check by eye.

Hint 2

A failure is a bug only when a requirement says the shop should behave otherwise.

Hint 3

Run the suite twice. A result that changes on its own needs a better scenario.

Done? Record it

This lab is done with QAIA, so it needs a QAIA account. Sign in, finish the run, then come back here to record it.

Sign inRequest accessStart freeGet started

Finished it in QAIA? The Academy looks for your own finished run, and reads only that it happened. What counts: A finished suite run in QAIA Tests with at least 5 scenarios whose target is https://practice.qaia.io.

The planted bugs

This lab is about 4 of the shop's planted bugs. Compare your failures with the planted bugs of this lab below: did your suite catch every one?

Sign in to see the planted bugs this lab is about. They are kept off this page, so nobody reads them by accident before trying.

Sign inRequest accessStart freeGet started

Try the lab before you look: a bug you find yourself teaches far more than one you read about.

Learn the skill

Put the lessons to work on a real site

Describe a user journey in plain English. QAIA walks it in a real browser and hands back the test cases, the automation code and the evidence of every step.