Skip to content

Commit

Permalink
refactor: browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney committed Jan 16, 2024
1 parent 1ac7ea4 commit 39a3099
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,24 @@ export default defineConfig({
/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] }
name: 'Google Chrome',
use: { ...devices['Desktop Chrome'], channel: 'chrome' }
},

{
name: 'webkit',
use: { ...devices['Desktop Safari'] }
},

/* Test against mobile viewports. */
{
name: 'Mobile Chrome',
use: { ...devices['Pixel 5'] }
},

{
name: 'Mobile Safari',
use: { ...devices['iPhone 12'] }
}
],

Expand All @@ -49,7 +60,6 @@ export default defineConfig({
ignoreHTTPSErrors: true,
url: 'https://localhost/healthcheck',
reuseExistingServer: !process.env.CI,
timeout: 60_000 * 3,
stdout: 'pipe'
timeout: 60_000 * 3
}
})

0 comments on commit 39a3099

Please sign in to comment.