From 3d1866367bc88e7d525bfcea9048e03b2eb22c07 Mon Sep 17 00:00:00 2001 From: ahmed mohammed Date: Tue, 22 Sep 2026 10:46:43 +0300 Subject: [PATCH] docs: ledger for the secure-cookie sign-out and the missing console gate Co-Authored-By: Claude Opus 4.7 --- probe-tmp.mjs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 probe-tmp.mjs diff --git a/probe-tmp.mjs b/probe-tmp.mjs deleted file mode 100644 index 0fd8405..0000000 --- a/probe-tmp.mjs +++ /dev/null @@ -1,30 +0,0 @@ -import { chromium } from "@playwright/test"; - -const BASE = "http://127.0.0.1:3100"; -const b = await chromium.launch(); -const ctx = await b.newContext({ baseURL: BASE }); -const p = await ctx.newPage(); -const where = () => new URL(p.url()).pathname + new URL(p.url()).search; -const h1 = async () => (await p.locator("h1").first().innerText().catch(() => "?")); - -const email = `qa${Date.now()}@test.dev`; -await p.goto("/signup"); -await p.fill("#email", email); -await p.fill("#password", "0123456789ab"); -await p.getByRole("button", { name: "Create account" }).click(); -await p.waitForURL(/setup|app|login/, { timeout: 20_000 }); -console.log("1 signup done :", where(), "| h1:", await h1()); - -await p.getByRole("link", { name: "Next" }).click(); -await p.waitForURL(/step=2/, { timeout: 20_000 }); -console.log("2 clicked Next :", where(), "| h1:", await h1()); - -await p.getByRole("link", { name: "Next" }).click(); -await p.waitForTimeout(2500); -console.log("3 Next again :", where(), "| h1:", await h1(), "| alert:", await p.getByRole("alert").count()); - -// Is the session still alive after that? -await p.goto("/app"); -await p.waitForTimeout(2000); -console.log("4 open /app :", where(), "| h1:", await h1()); -await b.close();