diff --git a/playwright.config.ts b/playwright.config.ts index 0e96d62c30..ba491ff82a 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -42,4 +42,5 @@ export default defineConfig({ reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]], snapshotDir: "playwright/snapshots", snapshotPathTemplate: "{snapshotDir}/{testFilePath}/{arg}-{platform}{ext}", + forbidOnly: !!process.env.CI, });