Test run report — DEMO-011 FAILED
Freight: quote with a promo code
run #300 · 2026-09-24 18:57:59 ·
duration 2s ·
target version 2.1.0 · browser chromium ·
started by: cli-adopted
report generated 2026-09-25 11:40:10 — self-contained file, safe to attach anywhere
What went wrong
AssertionError: SPRING10 should take 10% off the $117.62 subtotal ($11.76), but the quote takes $23.52 off
Step timings
| at | step | ms |
| +0.88s | goto http://127.0.0.1:8000/demo/freight/quote/?restart=1 | 185.6 |
| +1.08s | route | 201.4 |
| +1.26s | cargo | 172.2 |
| +1.35s | choose a service | 96.2 |
| +1.65s | wait_for_selector #price-discount | 85.4 |
| +1.65s | apply promo SPRING10 | 299.1 |
| +1.66s | get_attribute #price-subtotal | 11.6 |
| +1.67s | get_attribute #price-discount | 7.2 |
| +1.68s | get_attribute #price-fuel | 9.9 |
| +1.69s | get_attribute #price-total | 14.2 |
Full technical error
AssertionError: SPRING10 should take 10% off the $117.62 subtotal ($11.76), but the quote takes $23.52 off
Traceback (most recent call last):
File "/opt/pw-testhub/app/core/harness/run_test.py", line 737, in main
module.run(TimedPage(page, ctx), ctx)
File "/opt/pw-testhub/data/tests/DEMO-011__freight_quote_with_promo.py", line 44, in run
assert abs(discount - expected) < 0.011, (
AssertionError: SPRING10 should take 10% off the $117.62 subtotal ($11.76), but the quote takes $23.52 off
Video and Playwright trace stay on the hub:
results/DEMO-011/20260924-185844-r300/ — open the run page for the replay.