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

Run #330 — DEMO-021

passed
📄 Download report

queued 2026-09-24 19:47:27 · started 19:47:27 · finished 19:47:32 · duration 4s · target v3.0.0 · chromium · trigger: cli-adopted · batch: 3 tests (terminal)

Activity replay 6 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.69s goto http://127.0.0.1:8000/demo/freight/login/ 186 ms
+0.87s fill #username 69 ms
+0.95s fill #password 22 ms
+0.96s click #login-btn 128 ms
+1.10s wait_for_selector #signed-in-user 164 ms
+1.25s goto http://127.0.0.1:8000/demo/freight/ops/docks/ 67 ms
+1.33s get_attribute #arrivals .dock-card[data-hazardous='1'] 44 ms
+1.36s get_attribute #arrivals .dock-card[data-heavy='1'][data-hazardous='0'] 15 ms
+1.38s get_attribute #arrivals .dock-card[data-heavy='0'][data-hazardous='0'] 9 ms
+1.39s ⏱ drag a normal load to Door 3, 09:00 232 ms
+1.39s drag_and_drop .dock-card[data-arrival='IN-0924-03'] 100 ms
+1.49s wait_for_selector td[data-cell='D3|09:00'] .dock-card[data-arrival='IN-0924-03'] 132 ms
+1.62s drag_and_drop .dock-card[data-arrival='IN-0924-01'] 116 ms
+1.62s ⏱ try hazardous goods at Door 1 415 ms
+1.74s wait_for_selector #dock-error:not([hidden]) 299 ms
+2.04s inner_text #dock-error 127 ms
+2.44s drag_and_drop .dock-card[data-arrival='IN-0924-01'] 189 ms
+2.44s ⏱ drag hazardous goods to Door 4 (hazmat) 325 ms
+2.63s wait_for_selector td[data-cell='D4|10:00'] .dock-card[data-arrival='IN-0924-01'] 136 ms
+2.77s ⏱ drag a heavy load to a forklift door 332 ms
+2.77s drag_and_drop .dock-card[data-arrival='IN-0924-02'] 171 ms
+2.94s wait_for_selector td[data-cell='D1|11:00'] .dock-card[data-arrival='IN-0924-02'] 161 ms
+3.10s reload 107 ms

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

Screenshots

01-refused.png
01-refused.png
02-scheduled.png
02-scheduled.png

Artifacts

Run logrun.log
Playwright trace trace.zip open with: playwright show-trace trace.zip
Result JSONresult.json
Folderresults/DEMO-021/20260924-194727-r330/

Full log

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

[harness] test=DEMO-021 browser=chromium headed=False timeout=120s
[harness] target: http://127.0.0.1:8000/demo/
[test] [   0.69s] starting DEMO-021
[timing] goto http://127.0.0.1:8000/demo/freight/login/: 186ms
[timing] fill #username: 69ms
[timing] fill #password: 22ms
[timing] click #login-btn: 128ms
[timing] wait_for_selector #signed-in-user: 164ms
[test] [   1.26s] signed in as tester
[timing] goto http://127.0.0.1:8000/demo/freight/ops/docks/: 67ms
[timing] get_attribute #arrivals .dock-card[data-hazardous='1']: 44ms
[timing] get_attribute #arrivals .dock-card[data-heavy='1'][data-hazardous='0']: 15ms
[timing] get_attribute #arrivals .dock-card[data-heavy='0'][data-hazardous='0']: 9ms
[test] [   1.39s] hazmat IN-0924-01, heavy IN-0924-02, normal IN-0924-03
[timing] drag_and_drop .dock-card[data-arrival='IN-0924-03']: 100ms
[timing] wait_for_selector td[data-cell='D3|09:00'] .dock-card[data-arrival='IN-0924-03']: 132ms
[timing] drag a normal load to Door 3, 09:00: 232ms
[timing] drag_and_drop .dock-card[data-arrival='IN-0924-01']: 116ms
[timing] wait_for_selector #dock-error:not([hidden]): 299ms
[timing] try hazardous goods at Door 1: 415ms
[timing] inner_text #dock-error: 127ms
[test] [   2.43s] screenshot: 01-refused.png
[timing] drag_and_drop .dock-card[data-arrival='IN-0924-01']: 189ms
[timing] wait_for_selector td[data-cell='D4|10:00'] .dock-card[data-arrival='IN-0924-01']: 136ms
[timing] drag hazardous goods to Door 4 (hazmat): 325ms
[timing] drag_and_drop .dock-card[data-arrival='IN-0924-02']: 171ms
[timing] wait_for_selector td[data-cell='D1|11:00'] .dock-card[data-arrival='IN-0924-02']: 161ms
[timing] drag a heavy load to a forklift door: 332ms
[timing] reload: 107ms
[test] [   3.42s] screenshot: 02-scheduled.png
[test] [   3.42s] 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.