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

Run #152 — DEMO-014

passed
📄 Download report

queued 2026-09-24 18:52:00 · started 18:52:10 · finished 18:52:38 · duration 27s · target v1.1.0 · chromium · trigger: cli-adopted · batch: 8 tests (terminal)

Activity replay 18 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/login/ 172 ms
+0.88s fill #username 77 ms
+0.95s fill #password 16 ms
+0.97s click #login-btn 149 ms
+1.12s wait_for_selector #signed-in-user 141 ms
+1.26s goto http://127.0.0.1:8000/demo/freight/ops/optimizer/ 43 ms
+1.31s select_option #region 51 ms
+1.36s fill #stops 33 ms
+1.39s fill #trucks 22 ms
+1.41s click #start-optimizer 159 ms
+1.57s wait_for_selector #job-progress 141 ms
+1.82s wait_for_selector #job-result, #job-failed 24.15 s
+1.82s ⏱ route optimization 24.17 s
+25.97s get_attribute #job 17 ms
+25.99s get_attribute #plan-saving 14 ms
+26.00s inner_text #plan-best 12 ms
+26.01s inner_text #plan-trucks 10 ms
+26.13s click #download-result 92 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-185210-r152/

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.71s] starting DEMO-014
[timing] goto http://127.0.0.1:8000/demo/freight/login/: 171ms
[timing] fill #username: 77ms
[timing] fill #password: 16ms
[timing] click #login-btn: 149ms
[timing] wait_for_selector #signed-in-user: 141ms
[test] [   1.26s] signed in as tester
[timing] goto http://127.0.0.1:8000/demo/freight/ops/optimizer/: 43ms
[timing] select_option #region: 51ms
[timing] fill #stops: 33ms
[timing] fill #trucks: 22ms
[timing] click #start-optimizer: 159ms
[timing] wait_for_selector #job-progress: 141ms
[test] [   1.82s] screenshot: 01-optimizer-running.png
[timing] wait_for_selector #job-result, #job-failed: 24152ms
[timing] get_attribute #job: 17ms
[timing] route optimization: 24168ms
[timing] get_attribute #plan-saving: 14ms
[timing] inner_text #plan-best: 12ms
[test] [  26.01s] optimized plan: 5,733 km (66.7% shorter than naive)
[timing] inner_text #plan-trucks: 10ms
[test] [  26.12s] screenshot: 02-route-plan.png
[timing] click #download-result: 92ms
[test] [  26.23s] downloaded route-plan-b9dda34ecd01.csv
[test] [  26.23s] 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.