Skip to content

Commit e8f0655

Browse files
committed
chore: add @playwright/test and see if we don't need to install it in CI
1 parent 10eab4e commit e8f0655

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
- name: Install dependencies
4141
run: yarn install
4242

43-
- name: Install Playwright Browsers
44-
run: npx playwright install --with-deps
43+
# - name: Install Playwright Browsers
44+
# run: npx playwright install --with-deps
4545

4646
- name: Build Playground
47-
run: yarn dev:build
47+
run: yarn dev:build
4848

4949
- name: Execute tests
5050
run: yarn test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@
3636
"@nuxt/module-builder": "^0.5.1",
3737
"@nuxt/schema": "^3.7.3",
3838
"@nuxt/test-utils": "^3.7.3",
39+
"@playwright/test": "^1.39.0",
3940
"@types/node": "^18.17.17",
4041
"changelogen": "^0.5.5",
4142
"eslint": "^8.49.0",
4243
"nuxt": "^3.7.3",
4344
"playwright-core": "^1.39.0",
4445
"vitest": "^0.33.0"
4546
}
46-
}
47+
}

yarn.lock

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,6 +1121,13 @@
11211121
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
11221122
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
11231123

1124+
"@playwright/test@^1.39.0":
1125+
version "1.39.0"
1126+
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.39.0.tgz#d10ba8e38e44104499e25001945f07faa9fa91cd"
1127+
integrity sha512-3u1iFqgzl7zr004bGPYiN/5EZpRUSFddQBra8Rqll5N0/vfpqlP9I9EXqAoGacuAbX6c9Ulg/Cjqglp5VkK6UQ==
1128+
dependencies:
1129+
playwright "1.39.0"
1130+
11241131
"@polka/url@^1.0.0-next.20":
11251132
version "1.0.0-next.23"
11261133
resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.23.tgz#498e41218ab3b6a1419c735e5c6ae2c5ed609b6c"
@@ -3167,6 +3174,11 @@ fs.realpath@^1.0.0:
31673174
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
31683175
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
31693176

3177+
fsevents@2.3.2:
3178+
version "2.3.2"
3179+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
3180+
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
3181+
31703182
fsevents@~2.3.2, fsevents@~2.3.3:
31713183
version "2.3.3"
31723184
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
@@ -4927,11 +4939,20 @@ pkg-types@^1.0.3:
49274939
mlly "^1.2.0"
49284940
pathe "^1.1.0"
49294941

4930-
playwright-core@^1.39.0:
4942+
playwright-core@1.39.0, playwright-core@^1.39.0:
49314943
version "1.39.0"
49324944
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.39.0.tgz#efeaea754af4fb170d11845b8da30b2323287c63"
49334945
integrity sha512-+k4pdZgs1qiM+OUkSjx96YiKsXsmb59evFoqv8SKO067qBA+Z2s/dCzJij/ZhdQcs2zlTAgRKfeiiLm8PQ2qvw==
49344946

4947+
playwright@1.39.0:
4948+
version "1.39.0"
4949+
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.39.0.tgz#184c81cd6478f8da28bcd9e60e94fcebf566e077"
4950+
integrity sha512-naE5QT11uC/Oiq0BwZ50gDmy8c8WLPRTEWuSSFVG2egBka/1qMoSqYQcROMT9zLwJ86oPofcTH2jBY/5wWOgIw==
4951+
dependencies:
4952+
playwright-core "1.39.0"
4953+
optionalDependencies:
4954+
fsevents "2.3.2"
4955+
49354956
postcss-calc@^9.0.0:
49364957
version "9.0.1"
49374958
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-9.0.1.tgz#a744fd592438a93d6de0f1434c572670361eb6c6"

0 commit comments

Comments
 (0)