Skip to content

Commit

Permalink
use headless mode on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyraspopov committed Oct 17, 2024
1 parent a669a77 commit 9356fc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { defineConfig } from "@playwright/test";

let CI = process.env.CI != null;

export default defineConfig({
use: { headless: false },
use: { headless: CI },
testMatch: /.*\.spec\.js/,
reporter: [["list"], ["rollwright/coverage-reporter"]],
});

0 comments on commit 9356fc2

Please sign in to comment.