Overview

DemoBlaze is a public demo storefront used across the industry as a practice target. It looks like a working shop: a catalog, a cart, a checkout and a cheerful “Thank you for your purchase!”. It is also a store that will happily confirm an order for nothing, for a card number spelled asdasd, dated a month in the past — and then send that order nowhere at all.

This case study is what a tester does with that: find the defects, prove them, separate the ones that are real from the ones that only looked real, explain what the shopper would live through, and leave behind documentation the next person can use without asking twice.

RoleQA tester · UX evaluator · Technical writer
Who it's forThe team that would own this store · QA and support who need to tell a real problem from a known one · Developers who need the exact behavior

The store belongs to someone else, so nothing here is fixed — every defect is reported with evidence and a recommendation, the way a tester hands work to the team that can fix it.

The DemoBlaze storefront: a product grid with phones, laptops and monitors, and a category list on the left
The store under test. Nine products on the first page, three categories, a cart and a checkout.

How the project came together

1

Exploratory testing QA

A manual pass over the critical flows — sign in, catalog, cart, checkout — with cases designed by technique rather than by clicking around, and a bug report for each candidate.

2

Verification QA

Every candidate re-run against the live store, and the store's own code read to explain each one. Four held up, two turned out not to be defects, one was right about the wrong thing, and five more appeared that the first pass had missed.

3

Heuristic evaluation UX/UI

The same store read against Nielsen's ten heuristics, with a severity rating and a recommendation per finding — including the two candidates that stopped being defects and became usability problems.

4

Documentation Technical Writing

A reference of what the checkout really validates, a troubleshooting topic for the cart, the defect report standard the reports follow, release notes for the proposed fixes, and the error messages rewritten.

30
Test cases, each one re-run against the live store
10
Defects confirmed with evidence, 6 found in the second pass
2
Candidates that did not survive verification — and why
5
Accessibility findings, measured and counted

UX/UI

A heuristic evaluation of the store

Testing answers “does it work?”. It doesn't answer “can someone use it?”. The same store was read a second time against Nielsen's ten usability heuristics — one pass per heuristic, each finding rated on Nielsen's 0–4 severity scale and paired with a recommendation specific enough to hand to a designer.

Two of the findings below started life as defect candidates. When verification showed the store behaving correctly, they didn't get quietly deleted — they moved here, because “it works” and “it's usable” are not the same verdict.

The ten heuristics, scored

Severity follows Nielsen's scale: 0 not a problem · 1 cosmetic · 2 minor · 3 major · 4 catastrophe.

Heuristic Verdict Finding
1 · Visibility of system status Severity 3 H-01 — the cart never shows a count, and every confirmation is a modal alert that blocks the page
2 · Match between the system and the real world Severity 3 H-02 — a receipt written in developer, dated a month in the past
3 · User control and freedom Severity 3 H-03 — no quantity, no undo, and a full page reload to remove one row
4 · Consistency and standards Severity 2 H-04 — the same dialog pattern built correctly once and incorrectly next door
5 · Error prevention Severity 4 H-05 — nothing stops an order that makes no sense
6 · Recognition rather than recall Severity 2 H-06 — the shopper has to count their own cart
7 · Flexibility and efficiency of use Severity 1 No search, no sort, no saved cart between sessions. Acceptable at nine products; the first thing that breaks if the catalog grows.
8 · Aesthetic and minimalist design Severity 2 H-07 — the product text is too faint to read, measured at 3.63:1
9 · Help users recognize, diagnose and recover from errors Severity 3 H-08 — one alert for two fields, and it never says which one
10 · Help and documentation Severity 1 There is none. At this size the store should be self-evident instead — which is what the findings above are asking for.

The findings

Eight findings, each with what a shopper actually lives through and what I'd change.

H-01 · The store never says how much is in the cart

Heuristic 1 · Visibility of system status

Severity 3
What happensAdding a product opens a browser alert that says “Product added” and freezes the page until it's dismissed. The navigation bar shows only the word “Cart” — no count, no badge, no total. The only way to know what's in the cart is to leave the catalog and open it.
Why it mattersThe shopper loses their place in the catalog to answer a question the header could have answered. Alerts also can't be styled, dismissed with a click elsewhere, or read as part of the page — they're a browser dialog, not an interface.

Recommendation: a count on the Cart link that updates as items are added, and an inline confirmation inside the page — a toast near the button, not a modal over the whole window.

H-02 · The receipt is written in developer, and dated a month ago

Heuristic 2 · Match between the system and the real world

Severity 3
What happensThe confirmation reads Id, Amount, Card Number, Name, Date — a database row, not a receipt. The date is one month behind the real one (D-05) and its format, 15/8/2026, doesn't say whether it's a day or a month first. The field on the form is labelled “Creditcard”, which isn't a word in any style guide.
Why it mattersA receipt is the one screen a shopper is most likely to screenshot and come back to. It's also the first thing support will be shown when something goes wrong — and here it disagrees with the calendar.

Recommendation: “Order 6529176 · $1,540 · Card ending 4242 · September 15, 2026”, with the month spelled out so the format is never ambiguous, and “Credit card” as two words. The month bug is a one-character fix and is reported as D-05.

H-03 · No quantity, no undo, and a full reload to remove one row

Heuristic 3 · User control and freedom · originally logged as a defect candidate

Severity 3
What happensThe cart has no quantity field: buying two of something means adding it twice, which produces two identical rows (D-07). Removing a row reloads the entire page — the store fetches the cart again from the beginning, and the shopper lands back at the top. Delete is immediate and there's no undo.
Why it mattersThis is the finding that started as “the total doesn't update when you remove a product”. The total does update — but only because the whole page is thrown away and rebuilt. The candidate was closed as not reproduced, and the real problem is the mechanism, not the total.

Recommendation: a quantity stepper per row, removal that updates the row and the total in place, and an “Undo” in the confirmation for a few seconds. None of the three requires a change on the server.

H-04 · The same dialog, built correctly once and incorrectly next door

Heuristic 4 · Consistency and standards

Severity 2
What happensSign up and Log in are the same dialog with two fields each. In Sign up, each label is wired to its field. In Log in, the labels point at log-name and log-pass — ids that don't exist on the page; the fields are called loginusername and loginpassword. Clicking the word “Username:” in one dialog focuses the field; in the other it does nothing.
ActualTwo buttons for one action, too: “Place Order” opens the form and “Purchase” submits it, so the shopper is asked to place an order twice.
The Log in dialogThe DemoBlaze Log in dialog with Username and Password fields, Close and Log in buttons

Recommendation: point each label at the field it names — a three-character fix that also clears two of the accessibility violations in the audit. Rename the second button to “Pay $1,540”, so the action names its consequence.

H-05 · Nothing stops an order that makes no sense

Heuristic 5 · Error prevention

Severity 4
What happensTwo fields are required — Name and Creditcard — and only for being non-empty. Everything else is optional. The card, month and year fields are plain text boxes that accept letters. An empty cart is never checked, so the store will confirm an order for 0 USD (D-01). The strictest thing the checkout does is notice that a box is empty.
Why it mattersEvery one of these is caught before submission by a field that knows what it holds. Catching them after submission means a confirmed order that has to be unwound by a human.
What was typedThe Place order form with 4545456 as the name, 123 as the country, 987 as the city, asdasd as the card, hello as the month and world as the year
What came backA confirmation reading Thank you for your purchase, with card number asdasd, name 4545456 and a date one month in the past

Recommendation: make the checkout unreachable from an empty cart; mark every field the order needs as required; give the card a numeric input with a length check and the month and year a select; validate as the shopper leaves each field, not at the end.

H-06 · The shopper has to count their own cart

Heuristic 6 · Recognition rather than recall

Severity 2
What happensThe cart lists one row per add, with no quantity column, and the rows come back in a different order on almost every reload (D-08). The checkout form shows no summary at all — no items, no total, nothing but six empty boxes. The amount appears for the first time after the order is placed.
Why it mattersThe last thing a shopper sees before committing money should be what they're committing it to. Here they have to remember it from the previous screen — and the previous screen keeps rearranging itself.

Recommendation: group identical products into one row with a quantity, keep a stable order, and put the item count and total inside the checkout form, next to the button.

H-07 · The product text is too faint to read

Heuristic 8 · Aesthetic and minimalist design

Severity 2
What happensPrices and descriptions on the catalog cards are #868688 on white — a contrast ratio of 3.63:1, measured, against the 4.5:1 that WCAG AA asks for body text. The price, at 20 px, is the most important number on the card.
Why it mattersIt isn't a preference: on a laptop outdoors, or for anyone with reduced contrast sensitivity, the price is the first thing to disappear.
Catalog cardA product card for the Samsung galaxy s6, with the price and description in light grey on white

Recommendation: darken the grey to #595959 — 7:1 on white, the same visual weight, no layout change. The full count is in the accessibility audit.

H-08 · One alert for two fields, and it never says which

Heuristic 9 · Recognize, diagnose and recover · originally logged as a defect candidate

Severity 3
What happensEvery message in the store is a browser alert. “Please fill out Name and Creditcard.” appears whether one field is empty or both. “This user already exist.” appears over the sign up dialog, so the message and the form it's about can't be seen at the same time — and the moment it's dismissed, there's nothing left on screen to say what went wrong.
Why it mattersThis is the second candidate that stopped being a defect. The original report said the duplicate-username message was missing; it isn't — it's an alert. It arrives, blocks everything, and then disappears without a trace.

Recommendation: inline messages under the field that caused them, kept on screen until the problem is fixed, naming one cause each. The rewrites are in UX writing: before and after.

What I'd change first

A list of ten findings isn't a plan. Ranked by what it costs against what it saves, in the order I'd hand them over:

# Change Cost What it buys
1 Block checkout when the cart is empty, and require every field the order needs Low Kills the worst defect (D-01) and most of H-05 in one change
2 Send the order to the server and show the server's id High Turns a screen that pretends into a store that sells (D-06)
3 Replace the alerts with inline messages, one cause each Medium H-01, H-08 and the recovery path for every error in the store
4 Quantity in the cart, a stable row order, a summary in the checkout Medium H-03, H-06, D-07, D-08 — the whole “what am I buying” question
5 Fix the labels, the missing alt text and the grey Low Clears every accessibility violation found (H-04, H-07)
6 Rewrite the receipt as a receipt, with a real date Low H-02 and D-05 — the screen the shopper keeps

These are recommendations to the store's owners, not changes that shipped — DemoBlaze is a third-party demo and nothing here was modified.

Technical Writing

The documentation a tested product leaves behind

Testing produces documents whether anyone plans them or not: a plan, cases, reports. The difference between notes and documentation is whether a second person can use them without the first one in the room.

Every topic below was written from observed behavior — messages copied from the screen, status codes copied from the response — and then checked against the store again. The samples are excerpts; each one opens with a note on who it's for and why it's written that way.

Documentation plan

Audiences

Audience What they need
Testers What the store enforces today, so a new case starts from fact instead of assumption
Developers The exact rule behind each behavior, and which layer it lives in
Support A plain answer to the two questions shoppers actually ask, and whether it's a known issue

Topic map

Type Topic Audience
Reference What the checkout validates Tester · Developer
Troubleshooting My cart looks wrong Support
Process Write a defect report someone else can reproduce Tester
Release notes Checkout validation and order confirmation Support · Developer
UI text The store's messages, rewritten Everyone who reads the screen

How the content was sourced

Nothing here was written from how the store ought to work. Each message was copied from the dialog that showed it, each status code from the response that returned it, and each rule confirmed against the store's own scripts — which is how the reference below can say not just that Month isn't required, but that only two fields are ever checked at all.

Sample 1 · Reference: what the checkout validates

Audience
Tester · Developer
Type
Reference
Why it's written this way
Two readers need the same facts at different depths. A tester needs to know what to expect from each field; a developer needs the rule that produces it. Rather than two topics that drift apart, it's one topic with the reader-specific part switched — single-source authoring, the same technique this portfolio uses for its own tabs. Known issues sit next to the field they affect, because nobody goes looking for a separate page to learn that a field is lying.

Reference › Checkout

What the checkout validates

The Place order form has six fields. Two of them are checked. This topic lists what each field accepts today, so a report can say “as documented” or “new”.

For testers

Expect no field-level validation of any kind. A case that asserts a rejected value will fail unless the value is an empty Name or an empty Creditcard.

For developers

All validation lives in one branch of purchaseOrder():

if (name == "" || creditcard == "") {
  alert("Please fill out Name and Creditcard.");
} else {
  // the order is confirmed
}

There is no type check, no length check, no cart check, and no server call. Every row in the table below follows from those four lines.

Fields
Field Required Accepts Notes
Name Yes Any non-empty text, digits included 4545456 is accepted as a name — D-03
Country No Anything, including nothing The order is confirmed without it — D-04
City No Anything, including nothing As above
Creditcard Yes Any non-empty text — asdasd is accepted No length, no digit check, no card-type check — D-02
Month No Any text, including hello Never read after submission — D-02, D-04
Year No Any text, including world As above

Important The cart itself is not validated. With an empty cart, a filled Name and Creditcard produce a confirmation reading Amount: 0 USD. See D-01.

What a confirmation means

A confirmation is not a receipt. The id is a random number generated in the browser, the order is never sent anywhere, and the only lasting effect is that the cart is emptied. Don't use a confirmation as evidence that an order exists — see D-06.

For testers

To confirm a purchase happened at all, check the cart afterwards: it is emptied. There is no order to look up.

For developers

The id comes from Math.floor((Math.random() * 10000000) + 1) and the only request made on purchase is POST /deletecart. No order endpoint exists in the API.

Sample 2 · Troubleshooting: my cart looks wrong

Audience
Support
Type
Troubleshooting
Why it's written this way
Support topics are read mid-conversation, with an upset person waiting. Each entry starts with what the shopper said, answers whether their money is affected, and ends with the one sentence that can be said out loud. The known-issue id is there for the second line of support, not for the shopper.

Support › Cart and checkout

My cart looks wrong

Three reports about the cart come in regularly. None of them affects what the shopper is charged, and all three are known issues.

“The same product is in my cart twice”

Expected. The cart has no quantity column, so a product added twice appears as two rows. The total is still correct — it's the sum of the rows.

Say this “Each one of those lines is one unit. You're being charged for two, which is what you added — there's just no quantity column yet. To buy one, remove one line.”

Known issue: D-07.

“My cart shuffles itself every time I open it”

Expected, and harmless. The rows are drawn as they arrive rather than in a fixed order, so the same cart can come back in a different order on each load. Nothing is added, removed or re-priced.

Say this “The order of the lines isn't saved, so it can look shuffled. Check the total — it's the same.”

Known issue: D-08.

“I got a confirmation for an order I never placed / for $0”

Possible, and the only one of the three that matters. The checkout can be completed with an empty cart, which produces a confirmation for 0 USD. No order exists and no money moves.

Important Don't tell the shopper the order was cancelled — there was never an order to cancel. Say that nothing was charged and that the confirmation was sent in error.

Known issues: D-01, D-06.

Sample 3 · Process: the defect report standard

Audience
Testers
Type
Process · concept
Why it's written this way
This is the standard the ten reports in the QA tab follow, written down so they're consistent instead of merely similar. It leads with the failure mode it exists to prevent — a report that can't be reproduced — and gives a fill-in template rather than a description of one.

Team › Testing

Write a defect report someone else can reproduce

A defect report has one job: let a developer see what you saw, without you. If it needs a conversation, it isn't finished.

  1. Reproduce it twice before writing. Once to find it, once to know which steps matter. Of seven candidates in this project, two didn't reproduce on the second attempt — they're reported as not reproduced, not deleted.

  2. Write the title as the fact, not the feeling. “[Checkout] A purchase with an empty cart is confirmed as an order for 0 USD”, not “checkout broken”. Area in brackets, then what happens.

  3. List only the steps that are needed. Start from a state anyone can reach. If signing in isn't required to see it, don't sign in.

  4. Separate expected from actual, and make expected verifiable — a requirement, a standard, or the same store behaving differently elsewhere. “It feels wrong” isn't expected.

  5. Rate severity and priority separately. Severity is how badly it breaks; priority is how soon it should be fixed. A confirmation dated a month late is medium severity and high priority, because it's on every order and it's a one-character fix.

  6. Attach the evidence that shows the defect, cropped to it. A full-page screenshot makes the reader hunt.

Template
Title:      [Area] What happens, stated as a fact
Environment: Browser + version · OS · URL
Steps:      1. …  2. …  3. …
Expected:   What should happen, and the source of that expectation
Actual:     What happened, with the exact message or value
Severity:   Critical | High | Medium | Low
Priority:   High | Medium | Low
Evidence:   Screenshot or response, cropped to the defect

Tip If the defect is only reachable outside the interface — through the API, or with data the form won't let you type — say so in Steps. Four of the defects in this project can't be produced by clicking.

Sample 4 · Release notes for the proposed fixes

Audience
Support · Developers
Type
Release notes
Why it's written this way
Release notes are read by people deciding whether to change what they tell customers. Each entry says what changed, what it means for someone on a call, and which defect it closes. Written as the notes for the fix set recommended in the UX tab — the store belongs to someone else, so none of these fixes shipped.

Release notes › Store

Checkout validation and order confirmation

This release makes the checkout refuse orders it used to accept, and makes the confirmation mean something. Support scripts for empty-cart and $0 confirmations can be retired.

Fixed
  • Orders with an empty cart are no longer possible. Place Order is unavailable until the cart has at least one item. Shoppers who ask about a confirmation for 0 USD can be told it can't happen any more. D-01
  • The order is sent to the server, and the id on the confirmation is the server's. An order id in a shopper's email can now be looked up. D-06
  • The confirmation date is correct. It previously showed the previous month on every order. Confirmations already sent are wrong and can't be corrected retroactively. D-05
  • Card, month and year only accept what they're for. The card field takes digits and checks its length; month and year are lists. D-02
  • Country and City are now required, alongside Name and Credit card. D-04
Changed
  • Errors appear under the field that caused them and stay on screen, instead of a browser alert.
  • “Creditcard” is now “Credit card”, and the confirmation shows the month spelled out.
Known issues
  • The cart still has no quantity column: adding the same product twice shows two rows. D-07
  • Cart rows can come back in a different order between loads. Totals are unaffected. D-08

UX writing: before and after

Every message in the store is a browser alert, which means each one is also its own screen. They were rewritten as messages that can live inside the page.

Where Before After Why
Checkout, empty fields Please fill out Name and Creditcard. Under each empty field: “Enter the name on the card” · “Enter your card number” One message for two fields can't say which is missing. Separate messages can, and they stay on screen while the shopper fixes them.
Checkout, invalid card (no message — anything is accepted) Card numbers are 15 or 16 digits. Check for a missing digit. Says the rule and the most likely cause, so the next attempt is informed rather than a guess.
Add to cart Product added Added to your cart · View cart (2) Names what was added, says how many are now in the cart, and offers the next step instead of only an OK button.
Sign in, wrong password Wrong password. That password doesn't match this username. Try again or reset it. The original states a verdict; the rewrite offers a way out. It also avoids confirming which half was right.
Sign in, unknown user User does not exist. We can't find an account with that username. Check the spelling or create one. Same information, phrased as something the shopper can act on — and it names the two ways forward.
Sign up, taken username This user already exist. That username is taken. Try another, or log in if it's yours. Fixes the grammar and, more importantly, handles the common case: the person already has an account.
Confirmation Id: 6529176 · Amount: 1540 USD · Card Number: asdasd · Name: 4545456 · Date: 15/8/2026 Order 6529176 · $1,540.00 · Card ending 4242 · September 15, 2026 A receipt, not a database row: field names people use, a currency format, a masked card and an unambiguous date.

Conventions

  • Microsoft Writing Style Guide for capitalization, contractions and the plain second person.
  • One cause, one message. If two things can be wrong, two messages can appear.
  • Say what to do next, not only what went wrong.
  • Never blame the reader. “We can't find an account”, not “invalid user”.
QA

Two passes over the same store

The first pass was exploratory and manual: the critical flows walked by hand, cases designed by technique, seven defect candidates written up. The second pass re-ran every one of them against the live store and read the store's own scripts to explain what it found.

That second pass is the point of this case study. Four candidates were confirmed. Two did not reproduce and are reported as closed rather than quietly dropped — a defect that won't reproduce isn't a defect yet. A seventh was right that the checkout accepts incomplete orders and wrong about why, and was rewritten as D-04. And five new defects appeared, four of which cannot be produced by clicking at all.

Test plan

Objective

Establish what the store actually does on the path from catalog to confirmed order, so that every claim in the documentation is a fact and every defect report can be reproduced by someone who wasn't there.

Scope

In scope

  • Sign up and log in, valid and invalid
  • Catalog: product list, categories, product detail
  • Cart: add, remove, totals, duplicates, row order
  • Checkout: the full validation matrix and the confirmation
  • The endpoints behind those screens, where the interface can't reach
  • Accessibility of every screen and dialog on the path

Out of scope

  • Real payments — no money moves anywhere in this store
  • Performance and load
  • Browsers other than Chrome, and mobile layouts
  • The carousel, the contact form and the video player
  • Security testing beyond what the functional cases touch

Approach

Pass What was reviewed How
1 · Exploratory The critical flows, by hand Manual testing in the browser, with cases designed by equivalence partitioning, boundary values and state transition; seven defect candidates written up
2 · Verification Every candidate, plus the flows around them 30 cases driven against the live store through Chrome's DevTools Protocol, each asserting an observed behavior; endpoint cases sent directly
3 · Code reading The store's own scripts White-box confirmation of each defect's cause, so the reports explain the mechanism instead of guessing at it
4 · Accessibility audit Six screens and dialogs axe-core against WCAG 2.0/2.1/2.2 A and AA, contrast measured with the WCAG formula, label and id wiring inspected

Environment: Chrome (latest), Windows 11, 1280 × 900 · axe-core 4.10 · endpoint cases sent as JSON over HTTPS.

Risks, in priority order

Risk Why it matters Covered by
High
The store confirms an order it didn't take
The shopper believes they bought something. Nobody else does. TC17, TC18, TC19
High
Bad data gets into an order
A card number that isn't a number is a support call at best TC13, TC14, TC15
High
The cart disagrees with what the shopper chose
Wrong totals and shuffled rows are the fastest way to lose a sale TC07–TC12
Medium
Invalid input reaches the server unguarded
The interface guards some inputs; the endpoint behind it doesn't TC24, TC25, TC28
Medium
A screen can't be used with a keyboard or low vision
Accessibility is a requirement, not a feature Contrast audit, axe-core, label inspection
Low
Error messages leave the shopper stuck
Friction, not data loss TC20–TC23

Exit criteria

Every case in the suite runs against the live store and matches its documented result; every defect has evidence and a reproducible path; every candidate that doesn't reproduce is closed in writing with the reason; and the accessibility findings are counted, not estimated. All four were met.

Defects — 10 confirmed

The store belongs to someone else, so every defect is open. Each report says where it was found, what was expected and why, what happened, and what it would take to fix.

D-01 · [Checkout] A purchase with an empty cart is confirmed as an order for 0 USD

Found in: exploratory pass · confirmed in verification · Chrome · Windows 11 · demoblaze.com

Severity: HighPriority: HighOpen
  1. With nothing in the cart, open Cart › Place Order.
  2. Fill in Name and Creditcard. Leave the rest empty.
  3. Select Purchase.
ExpectedThe checkout is unreachable with an empty cart, or the purchase is refused with a message saying the cart is empty.
ActualA confirmation appears — “Thank you for your purchase!” — with an order id and Amount: 0 USD. The store treats it as a completed order.
ConfirmationA purchase confirmation showing Amount: 0 USD for an order placed with an empty cart

Cause and fix: purchaseOrder() checks two form fields and nothing else. One condition on the cart's length, checked before the form opens, closes it. Verified by TC17, TC18 and TC19.

D-02 · [Checkout] Credit card, Month and Year accept any text

Found in: exploratory pass · confirmed in verification

Severity: MediumPriority: MediumOpen
  1. Add any product and open Place Order.
  2. Type asdasd in Credit card, hello in Month and world in Year.
  3. Select Purchase.
ExpectedA card number is digits and has a length; a month is one of twelve; a year is a number. Values that aren't are refused before submission.
ActualAll three are accepted and the order is confirmed, with Card Number: asdasd printed on the confirmation.
The form as filledThe Place order form with letters typed into the credit card, month and year fields
The confirmationThe confirmation printing Card Number: asdasd and Name: 4545456

Cause and fix: all three are plain text inputs with no validation of any kind. A numeric input with a length check, and selects for month and year, remove the defect without a server change. Verified by TC15.

D-03 · [Checkout] Name, Country and City accept digits

Found in: exploratory pass · confirmed in verification

Severity: LowPriority: MediumOpen
  1. Open Place Order with a product in the cart.
  2. Type 4545456 in Name, 123 in Country, 987 in City.
  3. Select Purchase.
ExpectedA name and an address are text. A purely numeric value is refused, or at least questioned.
ActualAccepted without a warning; the confirmation prints Name: 4545456.

Cause and fix: same missing branch as D-02. Lower severity because it costs a support call rather than a failed payment — but it's the same one-line omission. Verified by TC15.

D-04 · [Checkout] Country, City, Month and Year are silently optional

Rewritten from a first-pass candidate that didn't reproduce as reported · confirmed in verification

Severity: MediumPriority: MediumOpen
  1. Open Place Order with a product in the cart.
  2. Fill in only Name and Creditcard.
  3. Select Purchase.
ExpectedAn order that can be delivered and charged needs an address and an expiry date. Fields that aren't required are marked optional.
ActualThe order is confirmed with four of the six fields empty, and nothing on the form says which fields are required.

Cause and fix: the same two-field check. This one explains why the original candidate “Purchase accepts the form without required fields” didn't reproduce: validation exists, but only for two of six. Verified by TC13, TC14 and TC17.

D-05 · [Checkout] The confirmation date is one month behind

Found in: verification pass · confirmed against the store's own script

Severity: MediumPriority: HighOpen
  1. Complete any purchase.
  2. Read the Date line on the confirmation.
ExpectedThe date of the order. On the fifteenth of September: 15/9/2026.
Actual15/8/2026 — the month before. It happens on every order, all year: a January order is dated December.
ConfirmationA confirmation dated 15/8/2026 for an order placed on the fifteenth of September

Cause and fix: the date is built with date.getMonth(), which counts from zero. The fix is getMonth() + 1. High priority despite medium severity: it's on every confirmation a shopper keeps, and it costs one character. Verified by TC16, which compares the printed date against the machine's own clock.

D-06 · [Checkout] The order is never sent anywhere

Found in: verification pass · confirmed against the store's own script

Severity: CriticalPriority: HighOpen
  1. Complete two purchases in a row and note both order ids.
  2. Watch the network while purchasing.
ExpectedThe purchase creates an order on the server and shows the id the server assigned, so the order can be looked up afterwards.
ActualThe id is a random number generated in the browser — two consecutive orders produced 7902451 and 305970. The only request the purchase makes is the one that empties the cart. There is no order endpoint in the API, and no record of the order anywhere.

Cause and fix: purchaseOrder() builds the id with Math.random() and calls deleteCart; nothing else leaves the browser. Everything downstream of a sale — fulfilment, support, refunds — has nothing to work from. Rated Critical for that reason, even though the store is a demo: it's the defect that makes the confirmation a lie. Verified by TC19.

D-07 · [Cart] The same product added twice is not consolidated into a quantity

Found in: exploratory pass · confirmed in verification

Severity: LowPriority: LowOpen
  1. Add the same product to the cart twice.
  2. Open Cart.
ExpectedOne row with a quantity of 2 — the convention in every store a shopper has used before.
ActualTwo identical rows. The total is correct; the cart is just harder to read, and there's no way to change a quantity without removing rows.
CartThe cart showing the Samsung galaxy s6 twice as two separate rows

Cause and fix: the cart stores one entry per add and draws one row per entry. Grouping by product id when the rows are drawn fixes the display; a real fix adds a quantity to the stored entry. Verified by TC10, which also checks that no quantity column exists anywhere in the table.

D-08 · [Cart] The row order changes between loads of the same cart

Found in: verification pass · reproduced by repeating a case, not by a new one

Severity: LowPriority: MediumOpen
  1. Put three products in the cart.
  2. Open Cart and note the order of the rows.
  3. Reload the page. Repeat a few times.
ExpectedThe same cart is drawn in the same order every time.
ActualThe order changes between loads. Four consecutive loads of one cart produced three orders; the total is always correct.
One loadThe cart with the Nokia lumia 1520 in the first row, followed by two Samsung galaxy s6 rows
The next loadThe same cart reloaded, now with the two Samsung galaxy s6 rows first and the Nokia last

Cause and fix: the cart asks for each product's details in a separate request and appends each row as its own response arrives, so the order is whatever the network decides. Collecting the responses and drawing the table once fixes it. Verified by TC11, which loads the cart four times and compares.

D-09 · [API] Empty credentials crash the sign in and sign up endpoints

Found in: verification pass · not reachable through the interface

Severity: HighPriority: HighOpen
  1. Send {"username": "", "password": ""} to the login endpoint.
  2. Send the same body to the signup endpoint.
ExpectedA refusal — 400 Bad Request with a message naming the missing fields.
ActualHTTP 500 Internal Server Error from both, with an HTML error page instead of JSON.

Why the interface hides it: the browser blocks empty fields before the request is made, so no amount of clicking finds this. Anything that isn't the store's own form — a mobile client, a retry, a script — reaches it immediately. A guard on the server, and a 400 instead of a 500, fix it. Verified by TC24 and TC25.

D-10 · [API] Errors are returned as HTTP 200

Found in: verification pass · not reachable through the interface

Severity: MediumPriority: LowOpen
  1. Sign in with a wrong password.
  2. Ask for a product id that doesn't exist.
  3. Ask for a cart with a malformed token.
Expected401 for a rejected sign in, 404 for a product that doesn't exist, 400 for a malformed token.
ActualAll three return HTTP 200 OK with the failure hidden in the body: {"errorMessage": "Wrong password."}, {"errorMessage": "Not found."}, {"errorMessage": "Bad parameter, token malformed."}.

Why it matters: any client that checks the status code — most of them — reads every one of these as a success. It's also inconsistent with D-09, where a failure does change the status code, so the same class of problem comes back in two different shapes. Verified by TC26, TC27 and TC28.

Candidates that didn't survive verification — 2

Both were written up in the first pass and both were wrong. They're kept here, closed and explained, because a report that quietly disappears teaches nobody anything — and in both cases the real finding turned out to be a usability problem, not a functional one.

N-01 · [Cart] “The total doesn't update when a product is removed”

Closed in verification · not reproduced

Not reproduced
ExpectedThe total updates immediately after a row is deleted.
ActualIt does. Removing one of three rows took the total from 1540 to 720 with no manual reload.

What it became: the total is only correct because deleting a row reloads the entire page and rebuilds the cart from scratch. That's not a defect, but it is a usability problem — reported as H-03. Verified by TC12.

N-02 · “Signing up with a username that already exists says nothing useful”

Closed in verification · not reproduced

Not reproduced
ExpectedThe store tells the shopper the username is taken.
ActualIt does: “This user already exist.”

What it became: the message exists, but it's a browser alert covering the form it's about, and it leaves nothing behind once dismissed — reported as H-08, with a rewrite in UX writing. Verified by TC23.

Accessibility audit

The first pass put accessibility out of scope. That was the wrong call for a store whose most important number is a price: it took one scan to find the price is the least readable text on the card. Six screens and dialogs were scanned with axe-core against WCAG 2.0, 2.1 and 2.2 A and AA.

Automated scan (axe-core)

Screen Violations Elements affected
Catalog 3 29 — 18 low-contrast, 9 unnamed links, 2 images with no alt
Catalog filtered by category 3 23 — same three rules, fewer products on screen
Log in dialog 4 28 — the three above plus 2 fields with no label
Sign up dialog 3 26 — the labels here are wired correctly
Product page 3 5 — the Add to cart button, 2 unnamed carousel links, 2 images
Cart and Place order 2 3 — the Place Order button and 2 images

The five findings

ID Rule What it means on screen Impact
A-01 color-contrast Prices and descriptions are #868688 on white — 3.63:1 measured, against 4.5:1 required. 18 elements on the catalog alone. Serious
A-02 link-name Every product image is a link with no text inside it. A screen reader announces nine links and can't say where any of them go. Serious
A-03 label In the Log in dialog the labels point at log-name and log-pass; the fields are loginusername and loginpassword. Two fields with no name. Critical
A-04 image-alt The logo, in the navigation bar and again in the contact dialog, has no alt attribute at all. Critical
A-05 duplicate-id Nine product descriptions share the id article, and three elements share itemc. Anything that references an id by name reaches the first one only. Moderate

A-05 is reported by inspection: the current axe ruleset no longer flags duplicate ids under WCAG AA, so it doesn't appear in the counts above.

What a fix would take

  • Darken one grey to #595959 — clears every contrast violation in the store.
  • Give each product link the product's name, or move the link onto the title.
  • Correct two for attributes in the Log in dialog — the Sign up dialog already shows the shape to copy.
  • Add alt to the logo.
  • Make the product description id unique, or drop it — nothing uses it.

Test cases — 30 run, 30 matched

30
Cases executed against the live store
30
Results matched what the report documents
13
Cases that pin a defect in place
5
Cases the interface cannot run

A case here asserts what the store does, not what it should do. Thirteen of them assert a defect: they pass while the defect is present and fail the day it's fixed — which is exactly what a regression report should say. Each was designed around a technique rather than by clicking around: equivalence partitioning (one representative per class of input), boundary values (empty, one, several), state transition (empty cart → filled → checkout → confirmed) and negative testing (input the form was never meant to take).

Catalog 6 cases
ID Test Technique Expected result Result
TC01 The catalog loads Positive The first page lists nine products Pass
TC02 Each card is complete Positive Nine cards, each with a title, a price starting with $ and a link to its detail page Pass
TC03a Category: phones Equivalence partitioning Seven products, all of them phones Pass
TC03b Category: laptops Equivalence partitioning Six products, all of them laptops Pass
TC03c Category: monitors Equivalence partitioning Two products, both of them monitors Pass
TC04 A category that doesn't exist Negative An empty list rather than an error — documented, not correct Pass
Product page 2 cases
ID Test Technique Expected result Result
TC05 A product's detail page Positive Name, price and an Add to cart button Pass
TC06 A product id that doesn't exist Boundary value “Not found.” is reported — see D-10 for the status code it arrives with D-10
Cart 6 cases
ID Test Technique Expected result Result
TC07 Add a product State transition The store confirms with an alert reading “Product added” Pass
TC08 The product reaches the cart State transition One row, with the product's name and its price Pass
TC09 The total with several products Boundary value The total equals the exact sum of the rows Pass
TC10 The same product twice Boundary value Two rows, and no quantity column anywhere in the table D-07
TC11 Row order across four loads Repetition The order is not stable between loads of the same cart D-08
TC12 Remove a product State transition The row goes and the total drops to match Pass
Checkout 7 cases
ID Test Technique Expected result Result
TC13 Every field empty Boundary value Blocked with “Please fill out Name and Creditcard.” Pass
TC14 Name filled, card empty Equivalence partitioning Blocked with the same message — it never says which field Pass
TC15 Letters as a card, digits as a name Negative Both accepted and printed on the confirmation D-02 · D-03
TC16 The date on the confirmation Oracle comparison One month behind the machine's own clock D-05
TC17 Only Name and card filled Equivalence partitioning Confirmed without Country, City, Month or Year D-04
TC18 Purchase with an empty cart Boundary value Confirmed, as an order for 0 USD D-01
TC19 Two orders in a row State transition Two unrelated random ids, and no order request either time D-06
Sign in and sign up 4 cases
ID Test Technique Expected result Result
TC20 Wrong password Equivalence partitioning Rejected with “Wrong password.” Pass
TC21 A user that doesn't exist Equivalence partitioning Rejected with “User does not exist.” Pass
TC22 Empty credentials Boundary value Blocked in the browser, before any request is made Pass
TC23 Sign up with a username that's taken Negative Rejected with “This user already exist.” Pass
Beyond the interface 5 cases
ID Test Technique Expected result Result
TC24 Empty credentials sent to the login endpoint Negative · bypasses the form HTTP 500 — a server error, not a refusal D-09
TC25 The same body sent to the signup endpoint Negative · bypasses the form HTTP 500, the same way D-09
TC26 The status code of a rejected sign in Protocol check HTTP 200 with an errorMessage, instead of 401 D-10
TC27 The status code for a product that doesn't exist Protocol check HTTP 200 instead of 404 D-10
TC28 A malformed cart token Negative “Bad parameter, token malformed.” — reported clearly, but also as a 200 D-10

↳ The original manual cases and bug reports from the first pass are in the GitHub repository.

Traceability

Every expectation maps to the cases that check it and the defects that break it.

Expectation Tests Defects Status
A confirmed order exists somewhere other than the screen TC18, TC19 D-01, D-06 Open
An order can only be placed with data that makes sense TC13–TC15, TC17 D-02, D-03, D-04 Open
What the shopper is told is true TC16 D-05 Open
The cart shows what was chosen, the same way every time TC07–TC12 D-07, D-08 Open
The catalog shows the right products in the right categories TC01–TC06 — Met
Sign in and sign up refuse what they should, with a message TC20–TC23 — Met usability: H-08
The server defends itself without help from the form TC24, TC25, TC28 D-09 Open
A failure is reported as a failure TC26, TC27, TC28 D-10 Open
Every screen is readable and every control is named Contrast audit, axe-core, label inspection A-01…A-05 Open

Decision log

1

Verify the old reports before writing new ones

The fastest way to find six new defects turned out to be re-running seven old ones. Two didn't reproduce, and the reason one of them didn't — the page reloads to update the total — is what led to the row-order defect.

2

Read the code once the behavior was clear

Black-box first, so the tests describe what a shopper sees. Then the store's own scripts, so each report can name the cause — a missing branch, a zero-based month, a random id — instead of guessing at it. That's the difference between “the date is wrong” and “the fix is one character”.

3

Test past what the form allows

The interface refuses empty credentials, so the interface can never find that empty credentials crash the server. Four of the ten defects are only reachable by sending the request the form wouldn't send.

4

Repeat cases instead of running each one once

D-08 is invisible to a suite that loads the cart a single time. It only appears on the fourth load — which is why the case loads it four times and compares, rather than asserting one order.

5

Let a closed report change category, not disappear

Both candidates that didn't reproduce were real observations of something wrong — just not wrong in the way the first report said. Moving them to the heuristic evaluation kept the finding and corrected the claim.

6

What wasn't tested — and what's next

Not tested: any browser other than Chrome, mobile layouts and touch, performance and load, the carousel, the contact form and the video player, security beyond what the functional cases touched, and a manual screen-reader pass — the accessibility findings come from an automated scan, measured contrast and inspection of the markup, which is what those three methods can prove. The signed-in cart was only touched lightly: every cart case here runs as a guest. Next: the same suite run signed in, where the cart is keyed to a token instead of a cookie.

View repository on GitHub → ← Back to case studies