Enable Playwright forbidOnly in CI to catch accidental test.only
(#12762)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7f959036af
commit
7863de653a
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue