Skip to content

Commit 26f4f2c

Browse files
authored
chore: switch to playwright-chromium from playwright (#880)
1 parent 71c734b commit 26f4f2c

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
uses: actions/cache@main
6464
with:
6565
path: ${{ steps.paths.outputs.browser_cache_path }}
66-
key: bbb-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
66+
key: pw-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
6767
- run: npm install -g pnpm
6868
- run: pnpm install --frozen-lockfile
6969
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"eslint": "^7.22.0",
3333
"eslint-plugin-import": "^2.22.1",
3434
"eslint-plugin-svelte3": "^3.1.2",
35-
"playwright": "^1.9.2",
35+
"playwright-chromium": "^1.10.0",
3636
"prettier": "2.2.1",
3737
"rollup": "^2.42.3",
3838
"typescript": "^4.2.3"

packages/kit/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from 'fs';
22
import glob from 'tiny-glob/sync.js';
33
import ports from 'port-authority';
44
import fetch from 'node-fetch';
5-
import { chromium } from 'playwright';
5+
import { chromium } from 'playwright-chromium';
66
import { dev } from '../src/core/dev/index.js';
77
import { build } from '../src/core/build/index.js';
88
import { start } from '../src/core/start/index.js';

packages/kit/test/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Page, Response } from 'playwright';
1+
import { Page, Response } from 'playwright-chromium';
22

33
// TODO passing `page` used to break uvu because it gets mutated, but it
44
// seems like that's no longer an issue? in which case we don't need

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)