Test run report — DEMO-012 FAILED

Freight: staff sign-in security checks
run #301 · 2026-09-24 18:57:59 · duration 1s · target version 2.1.0 · browser chromium · started by: cli-adopted
report generated 2026-09-25 11:40:07 — self-contained file, safe to attach anywhere

What went wrong

AssertionError: session fixation: the session id did not change at sign-in, so anyone who knew the old id now holds a signed-in staff session

Step timings

atstepms
+0.79sgoto http://127.0.0.1:8000/demo/freight/login/149.6
+0.86sfill #username56.4
+0.88sfill #password26.3
+1.02sclick #login-btn139.8
+1.23swait_for_selector #signed-in-user201.3

Full technical error

AssertionError: session fixation: the session id did not change at sign-in, so anyone who knew the old id now holds a signed-in staff session
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-012__freight_signin_security.py", line 40, in run
    assert after != before, (
AssertionError: session fixation: the session id did not change at sign-in, so anyone who knew the old id now holds a signed-in staff session

Video and Playwright trace stay on the hub: results/DEMO-012/20260924-185841-r301/ — open the run page for the replay.