Skip to content

Commit 64c346b

Browse files
switch to playwright
1 parent 1acbece commit 64c346b

File tree

7 files changed

+412
-1113
lines changed

7 files changed

+412
-1113
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
restore-keys: |
3838
${{ runner.os }}-pnpm-store-
3939
40+
- name: Configure Playwright
41+
run: |
42+
pnpm exec playwright install-deps
43+
pnpm exec playwright install
44+
4045
- name: Install dependencies
4146
run: pnpm install
4247

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"@actions/core": "^1.10.1",
3434
"@changesets/cli": "2.27.2",
3535
"@pnpm/workspace.find-packages": "^4.0.2",
36+
"@vitest/browser": "^3.0.5",
3637
"husky": "^9.0.11",
3738
"lint-staged": "^15.2.2",
39+
"playwright": "^1.50.1",
3840
"prettier": "^3.2.5",
3941
"typescript": "^5.7.2",
40-
"vitest": "^3.0.5",
41-
"@vitest/browser": "^3.0.5",
42-
"webdriverio": "^9.8.0"
42+
"vitest": "^3.0.5"
4343
}
4444
}

packages/attachments/vitest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const config: UserConfigExport = {
1010
browser: {
1111
enabled: true,
1212
headless: true,
13-
provider: 'webdriverio',
13+
provider: 'playwright',
1414
instances: [
1515
{
16-
browser: 'chrome'
16+
browser: 'chromium'
1717
}
1818
]
1919
}

packages/drizzle-driver/vitest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ const config: UserConfigExport = {
2020
browser: {
2121
enabled: true,
2222
headless: true,
23-
provider: 'webdriverio',
23+
provider: 'playwright',
2424
instances: [
2525
{
26-
browser: 'chrome'
26+
browser: 'chromium'
2727
}
2828
]
2929
}

packages/kysely-driver/vitest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ const config: UserConfigExport = {
2020
browser: {
2121
enabled: true,
2222
headless: true,
23-
provider: 'webdriverio',
23+
provider: 'playwright',
2424
instances: [
2525
{
26-
browser: 'chrome'
26+
browser: 'chromium'
2727
}
2828
]
2929
}

packages/web/vitest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ const config: UserConfigExport = {
4040
include: ['tests/**/*.test.ts'],
4141
browser: {
4242
enabled: true,
43-
provider: 'webdriverio',
43+
provider: 'playwright',
4444
headless: true,
4545
instances: [
4646
{
47-
browser: 'chrome'
47+
browser: 'chromium'
4848
}
4949
]
5050
}

pnpm-lock.yaml

Lines changed: 396 additions & 1102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)