Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
test(e2e): stop a host run from writing unusable visual baselines
Sergey Kozyrenkof2ae87bc8f64
diff --git a/frontend/e2e/playwright.config.ts b/frontend/e2e/playwright.config.tsindex cbcb5384..619049ae 100644--- a/frontend/e2e/playwright.config.ts+++ b/frontend/e2e/playwright.config.ts@@ -10,6 +10,14 @@ const isCI = Boolean(process.env.CI);// that never match CI pixels.const isVisual = process.env.E2E_VISUAL === '1';+// Baselines are linux-suffixed, so a host run writes `*-visual-darwin.png` beside+// them: new files CI never reads, leaving it red with nothing to explain why.+if (isVisual && process.platform !== 'linux') {+ throw new Error(+ `visual snapshots must run in the pinned container — use e2e/tools/run-visual.sh (got platform "${process.platform}")`,+ );+}+// `vite preview` listens on VITE_PORT + 100 and reuses the dev proxy config.const PREVIEW_PORT = 8100;