From 5fe29c558d146664320ff8beda49f4a36613737b Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 00:33:11 +0100 Subject: [PATCH] Run troubleshooting browser proof with frontend styling Resolve Tailwind's relative config from the frontend module before starting Vite, as the existing Docs fixture runner does. Keep the initial overflow failure in the lane receipts and expose the privacy-review step in the phone screenshot. Contract-Neutral: Browser verification harness only; no product, API, schema or runtime change. Change-source: pulse-maintainer --- scripts/check-community-troubleshooting.cjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/check-community-troubleshooting.cjs b/scripts/check-community-troubleshooting.cjs index c8046cf560..447e8efac0 100644 --- a/scripts/check-community-troubleshooting.cjs +++ b/scripts/check-community-troubleshooting.cjs @@ -19,6 +19,8 @@ function check(condition, message) { (async () => { fs.mkdirSync(output, { recursive: true }); + // Tailwind resolves its config/content globs from the frontend working dir. + process.chdir(frontend); const { createServer } = await import( path.join(frontend, 'node_modules', 'vite', 'dist', 'node', 'index.js') ); @@ -65,7 +67,7 @@ function check(condition, message) { await article.getByRole('link', { name: 'I forgot my password', exact: true }).click(); await page.waitForFunction(() => document.activeElement?.id === 'i-forgot-my-password'); check((await page.locator('#i-forgot-my-password').innerText()) === 'I forgot my password', `${size}: reset link reaches the deployment-specific steps`); - await article.getByText('Keep the original evidence', { exact: true }).scrollIntoViewIfNeeded(); + await article.getByText(size === 'phone' ? 'Review before posting' : 'Keep the original evidence', { exact: true }).scrollIntoViewIfNeeded(); await page.screenshot({ path: path.join(output, `${size}-help.png`) }); } check(errors.length === 0, 'no page errors or failed HTTP responses');