Skip to content

Commit 2e318d0

Browse files
CopilotGeekTrainer
andcommitted
Update Playwright configuration to use only WebKit browser
Co-authored-by: GeekTrainer <[email protected]>
1 parent 67ed72d commit 2e318d0

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

client/e2e-tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ npm run test:e2e:ui
3030
# Run tests in headed mode (see browser)
3131
npm run test:e2e:headed
3232

33-
# Run only Chromium tests
34-
npm run test:e2e:chromium
33+
# Run only WebKit tests
34+
npm run test:e2e:webkit
3535

3636
# Debug tests
3737
npm run test:e2e:debug

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test:e2e:ui": "playwright test --ui",
1212
"test:e2e:debug": "playwright test --debug",
1313
"test:e2e:headed": "playwright test --headed",
14-
"test:e2e:chromium": "playwright test --project=chromium"
14+
"test:e2e:webkit": "playwright test --project=webkit"
1515
},
1616
"dependencies": {
1717
"@astrojs/node": "^9.1.3",

client/playwright.config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ export default defineConfig({
2727
/* Configure projects for major browsers */
2828
projects: [
2929
{
30-
name: 'chromium',
31-
use: {
32-
...devices['Desktop Chrome'],
33-
channel: 'chrome' // Use system Chrome instead of downloading Chromium
34-
},
30+
name: 'webkit',
31+
use: { ...devices['Desktop Safari'] },
3532
},
3633
],
3734

0 commit comments

Comments
 (0)