diff --git a/qa/audit_mobile.mjs b/qa/audit_mobile.mjs index b7b284b..c304979 100644 --- a/qa/audit_mobile.mjs +++ b/qa/audit_mobile.mjs @@ -82,17 +82,17 @@ for (const [chip, scene] of [ [/Team Chat/, "chat"], [/What is FlowMaster/, "explainer"], ]) { + await p.goto("https://canvas.flow-master.ai/", { waitUntil: "networkidle" }).catch(() => {}); + await p.waitForTimeout(1200); const found = await p.locator(".hub-chip", { hasText: chip }).count(); if (found === 0) { - record(`mobile_${scene}_no_horizontal_overflow`, false, "chip not visible — auth state lost or landing not hydrated"); + record(`mobile_${scene}_no_horizontal_overflow`, false, "chip not visible"); continue; } await p.locator(".hub-chip", { hasText: chip }).click(); - await p.waitForTimeout(1500); + await p.waitForTimeout(1800); await noHorizontalScroll(scene); await noOverflowingElements(scene); - await p.goBack().catch(() => {}); - await p.waitForTimeout(600); } const fails = results.filter((r) => !r.ok);