mirror of https://github.com/vector-im/riot-web
Enable Playwright forbidOnly in CI to catch accidental `test.only` (#12762)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28217/head
parent
7f959036af
commit
7863de653a
|
@ -42,4 +42,5 @@ export default defineConfig({
|
||||||
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
|
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
|
||||||
snapshotDir: "playwright/snapshots",
|
snapshotDir: "playwright/snapshots",
|
||||||
snapshotPathTemplate: "{snapshotDir}/{testFilePath}/{arg}-{platform}{ext}",
|
snapshotPathTemplate: "{snapshotDir}/{testFilePath}/{arg}-{platform}{ext}",
|
||||||
|
forbidOnly: !!process.env.CI,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue