Skip to content

Commit

Permalink
update(config): avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Oct 14, 2024
1 parent 436e8e0 commit 1b3ef9d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions playwright.ci.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default defineConfig({
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: [
["html", { outputFolder: "playwright-report" }],
["json", { outputFile: "playwright-report/report.json" }],
["list"],
["blob"],
["allure-playwright", { outputFolder: "allure-results" }],
[
"@estruyf/github-actions-reporter",
Expand All @@ -41,6 +41,7 @@ export default defineConfig({
actionTimeout: 30000,
video: "retain-on-failure",
screenshot: "only-on-failure",
trace: "on-first-retry",
},

/* Configure projects for major browsers */
Expand All @@ -49,14 +50,14 @@ export default defineConfig({
name: "desktop-chrome",
use: {
...devices["Desktop Chrome"],
video: "retain-on-failure",
launchOptions: {
args: [
"--disable-web-security",
"--use-fake-ui-for-media-stream",
"--use-fake-device-for-media-stream",
],
},
video: "retain-on-failure",
},
},

Expand All @@ -66,14 +67,14 @@ export default defineConfig({
use: {
browserName: "chromium",
...devices["Pixel 5"], // Use predefined mobile device
video: "retain-on-failure",
launchOptions: {
args: [
"--disable-web-security",
"--use-fake-ui-for-media-stream",
"--use-fake-device-for-media-stream",
],
},
video: "retain-on-failure",
},
testIgnore: "./playwright/specs/13-settings-keybinds.spec.ts",
},
Expand Down

0 comments on commit 1b3ef9d

Please sign in to comment.