🧪 Test Hub
testing: Demo target v3.0.0 · built-in demo site
← →

Run #332 — DEMO-011

passed
📄 Download report

queued 2026-09-24 19:48:13 · started 19:48:16 · finished 19:48:20 · duration 3s · target v3.0.0 · chromium · trigger: cli-adopted · batch: 4 tests (terminal)

Activity replay 3 frames, captured only while the page was actually changing — idle waits are skipped automatically

activity frame
+0.00s

Step timings follows the replay — click a step to see it there

atsteptook
+0.71s goto http://127.0.0.1:8000/demo/freight/quote/?restart=1 121 ms
+0.82s ⏱ route 225 ms
+1.05s ⏱ cargo 162 ms
+1.21s ⏱ choose a service 128 ms
+1.34s ⏱ apply promo SPRING10 222 ms
+1.50s wait_for_selector #price-discount 63 ms
+1.56s get_attribute #price-subtotal 7 ms
+1.57s get_attribute #price-discount 6 ms
+1.57s get_attribute #price-fuel 6 ms
+1.58s get_attribute #price-total 6 ms
+1.69s ⏱ book 273 ms
+1.91s wait_for_selector #booking-id 49 ms
+1.96s inner_text #booking-id 7 ms
+1.97s ⏱ track the new booking 160 ms
+2.06s wait_for_selector #track-result 65 ms
+2.13s inner_text #track-status 10 ms
+2.13s inner_text #track-result 7 ms

Times are when each step began, on the replay's clock. Add your own phases with with ctx.timed("label"):.

Screenshots

01-priced.png
01-priced.png

Artifacts

Run logrun.log
Playwright trace trace.zip open with: playwright show-trace trace.zip
Result JSONresult.json
Folderresults/DEMO-011/20260924-194816-r332/

Full log

Read from the S3 bucket (the last 20 KB; the whole file is the Run log link above).

[harness] test=DEMO-011 browser=chromium headed=False timeout=120s
[harness] target: http://127.0.0.1:8000/demo/
[test] [   0.71s] starting DEMO-011
[timing] goto http://127.0.0.1:8000/demo/freight/quote/?restart=1: 121ms
[timing] route: 225ms
[timing] cargo: 163ms
[timing] choose a service: 128ms
[timing] wait_for_selector #price-discount: 63ms
[timing] apply promo SPRING10: 222ms
[timing] get_attribute #price-subtotal: 7ms
[timing] get_attribute #price-discount: 6ms
[timing] get_attribute #price-fuel: 6ms
[timing] get_attribute #price-total: 6ms
[test] [   1.59s] subtotal $117.62, discount $11.76, total $114.86
[test] [   1.69s] screenshot: 01-priced.png
[timing] wait_for_selector #booking-id: 49ms
[timing] book: 273ms
[timing] inner_text #booking-id: 7ms
[test] [   1.97s] booked AF-925912
[timing] wait_for_selector #track-result: 65ms
[timing] track the new booking: 160ms
[timing] inner_text #track-status: 10ms
[timing] inner_text #track-result: 7ms
[test] [   2.14s] PASSED
[harness] security: 0 high, 1 medium, 1 low
[harness] saved trace.zip
[harness] saved video.webm
[harness] result: passed

Security observations what the browser noticed while this ran — not a penetration test

SeverityFindingWhat to do
medium The application is served over plain HTTP
http://127.0.0.1:8000/demo/ is not HTTPS, so anything typed into it travels the network in the clear and can be modified in transit.
On an isolated lab network this may be a deliberate choice -- if so, note it and move on. Anywhere else, terminate TLS in front of the application.
low Response advertises software version (server)
server: pw-testhub -- this tells an attacker exactly what to look up known vulnerabilities for.
Suppress or blank the server header at the proxy.
info Cookie 'csrftoken' is readable by JavaScript (expected)
This looks like a CSRF token, which the page's own JavaScript has to read in order to send it back. HttpOnly would break that. Nothing to do -- listed so you know it was checked and not missed.
No action. Do check that SESSION cookies are HttpOnly.

All of these appear together on the Security page.