Skip to content

Commit

Permalink
chore: ignore webkit for now
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed May 31, 2023
1 parent e8b8f64 commit 7440db1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from '@playwright/test';
import { PlaywrightTestProject, defineConfig, devices } from '@playwright/test';

/**
* Read environment variables from file.
Expand Down Expand Up @@ -34,18 +34,21 @@ export default defineConfig({
projects: [
{
name: 'chromium',
use: { defaultBrowserType: 'chromium' },
use: { ...devices['Desktop Chrome'] },
},

{
name: 'firefox',
use: { defaultBrowserType: 'firefox' },
use: { ...devices['Desktop Firefox'] },
},

{
name: 'webkit',
use: { defaultBrowserType: 'webkit' },
},
// this one does not seem to be functional in github actions
!process.env.CI
? {
name: 'webkit',
use: { ...devices['Desktop Safari'] },
}
: null,

/* Test against mobile viewports. */
// {
Expand All @@ -66,7 +69,7 @@ export default defineConfig({
// name: 'Google Chrome',
// use: { ..devices['Desktop Chrome'], channel: 'chrome' },
// },
],
].filter(Boolean) as PlaywrightTestProject[],

/* Run your local dev server before starting the tests */
webServer: {
Expand Down

0 comments on commit 7440db1

Please sign in to comment.