fix: dashboard test — add session cookie for auth-protected route
FlowDeck CI / test (push) Failing after 4s
FlowDeck CI / docker (push) Has been skipped

test_dashboard now passes flowdeck_session cookie to bypass auth redirect
This commit is contained in:
2026-07-10 15:59:48 -04:00
parent 21e7e30b61
commit be73e08184
+1 -1
View File
@@ -38,7 +38,7 @@ def test_health(client):
def test_dashboard(client):
resp = client.get("/")
resp = client.get("/", cookies={"flowdeck_session": "test-session"})
assert resp.status_code == 200
assert "sidebar" in resp.text
assert "workspace" in resp.text or "app-layout" in resp.text