test(shared): align t3-web web-session expected metadata with hintKey (#5835)

The t3-web provider metadata intentionally carries `hintKey: "t3ChatWebCookieHint"`
(#5465 — the generic cookie hint reads circular for t3.chat), but the metadata
assertion in web-session-credentials was never updated, so it deep-equals against
an object missing the field. This is a stale-test base-red on release/v3.8.43 that
turns the whole PR queue's "Unit Tests fast-path (1/2)" red. Align the expected
object to the shipped source of truth.
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-07-01 11:38:44 -03:00
committed by GitHub
parent 077b4bdb70
commit fce85136ca

View File

@@ -69,6 +69,8 @@ test("web session credential metadata identifies cookie, token, and no-auth prov
placeholder: "convex-session-id=abc123...; Cookie: ...",
acceptsFullCookieHeader: true,
storageKeys: ["cookie", "convex-session-id", "convexSessionId"],
// #5465 — t3.chat ships a step-by-step DevTools copy hint (localStorage + Cookie header).
hintKey: "t3ChatWebCookieHint",
});
});