Skip to content

Commit

Permalink
switch to playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Feb 10, 2025
1 parent 1acbece commit 64c346b
Show file tree
Hide file tree
Showing 7 changed files with 412 additions and 1,113 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Configure Playwright
run: |
pnpm exec playwright install-deps
pnpm exec playwright install
- name: Install dependencies
run: pnpm install

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"@actions/core": "^1.10.1",
"@changesets/cli": "2.27.2",
"@pnpm/workspace.find-packages": "^4.0.2",
"@vitest/browser": "^3.0.5",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"playwright": "^1.50.1",
"prettier": "^3.2.5",
"typescript": "^5.7.2",
"vitest": "^3.0.5",
"@vitest/browser": "^3.0.5",
"webdriverio": "^9.8.0"
"vitest": "^3.0.5"
}
}
4 changes: 2 additions & 2 deletions packages/attachments/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const config: UserConfigExport = {
browser: {
enabled: true,
headless: true,
provider: 'webdriverio',
provider: 'playwright',
instances: [
{
browser: 'chrome'
browser: 'chromium'
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/drizzle-driver/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const config: UserConfigExport = {
browser: {
enabled: true,
headless: true,
provider: 'webdriverio',
provider: 'playwright',
instances: [
{
browser: 'chrome'
browser: 'chromium'
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/kysely-driver/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const config: UserConfigExport = {
browser: {
enabled: true,
headless: true,
provider: 'webdriverio',
provider: 'playwright',
instances: [
{
browser: 'chrome'
browser: 'chromium'
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/web/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ const config: UserConfigExport = {
include: ['tests/**/*.test.ts'],
browser: {
enabled: true,
provider: 'webdriverio',
provider: 'playwright',
headless: true,
instances: [
{
browser: 'chrome'
browser: 'chromium'
}
]
}
Expand Down
1,498 changes: 396 additions & 1,102 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 64c346b

Please sign in to comment.