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

Run #311 — DEMO-014

passed
📄 Download report

queued 2026-09-24 18:59:58 · started 19:00:09 · finished 19:00:30 · duration 20s · target v3.0.0 · chromium · trigger: cli-adopted · batch: 8 tests (terminal)

Activity replay 19 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/ 192 ms
+0.88s fill #username 88 ms
+0.97s fill #password 28 ms
+0.99s click #login-btn 125 ms
+1.12s wait_for_selector #signed-in-user 130 ms
+1.26s goto http://127.0.0.1:8000/demo/freight/ops/optimizer/ 53 ms
+1.31s select_option #region 70 ms
+1.38s fill #stops 31 ms
+1.41s fill #trucks 64 ms
+1.48s click #start-optimizer 225 ms
+1.70s wait_for_selector #job-progress 124 ms
+1.92s ⏱ route optimization 17.41 s
+1.93s wait_for_selector #job-result, #job-failed 17.39 s
+19.31s get_attribute #job 17 ms
+19.34s get_attribute #plan-saving 12 ms
+19.35s inner_text #plan-best 10 ms
+19.36s inner_text #plan-trucks 14 ms
+19.47s click #download-result 48 ms

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

Screenshots

01-optimizer-running.png
01-optimizer-running.png
02-route-plan.png
02-route-plan.png

Artifacts

Run logrun.log
Playwright trace trace.zip open with: playwright show-trace trace.zip
Result JSONresult.json
Saved by the test route-plan.csv
Folderresults/DEMO-014/20260924-190009-r311/

Full log

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

[harness] test=DEMO-014 browser=chromium headed=False timeout=240s
[harness] target: http://127.0.0.1:8000/demo/
[test] [   0.69s] starting DEMO-014
[timing] goto http://127.0.0.1:8000/demo/freight/login/: 192ms
[timing] fill #username: 88ms
[timing] fill #password: 28ms
[timing] click #login-btn: 125ms
[timing] wait_for_selector #signed-in-user: 131ms
[test] [   1.25s] signed in as tester
[timing] goto http://127.0.0.1:8000/demo/freight/ops/optimizer/: 53ms
[timing] select_option #region: 69ms
[timing] fill #stops: 31ms
[timing] fill #trucks: 64ms
[timing] click #start-optimizer: 225ms
[timing] wait_for_selector #job-progress: 124ms
[test] [   1.93s] screenshot: 01-optimizer-running.png
[timing] wait_for_selector #job-result, #job-failed: 17389ms
[timing] get_attribute #job: 17ms
[timing] route optimization: 17406ms
[timing] get_attribute #plan-saving: 12ms
[timing] inner_text #plan-best: 10ms
[test] [  19.36s] optimized plan: 5,733 km (66.7% shorter than naive)
[timing] inner_text #plan-trucks: 14ms
[test] [  19.47s] screenshot: 02-route-plan.png
[timing] click #download-result: 48ms
[test] [  19.53s] downloaded route-plan-7ab733572b82.csv
[test] [  19.53s] 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.