Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: downgrade playwright #11643

Merged
merged 5 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions barretenberg/acir_tests/browser-test-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ __metadata:

"@aztec/bb.js@file:../../ts::locator=browser-test-app%40workspace%3A.":
version: 0.72.1
resolution: "@aztec/bb.js@file:../../ts#../../ts::hash=7ab3ef&locator=browser-test-app%40workspace%3A."
resolution: "@aztec/bb.js@file:../../ts#../../ts::hash=90d55d&locator=browser-test-app%40workspace%3A."
dependencies:
comlink: "npm:^4.4.1"
commander: "npm:^12.1.0"
Expand All @@ -17,7 +17,7 @@ __metadata:
tslib: "npm:^2.4.0"
bin:
bb.js: ./dest/node/main.js
checksum: 10c0/463d29bb01102874431d5a83af71a18a92b6b7fd817311474744bfe4af2b82d71efa1796d0a00093bcc87b163922ff748cb6a8480d7c295c726a855d1bdf321d
checksum: 10c0/6ec39503ec545df13d297134ae28d8be01d02105a8518fa9cc15c54d1f93924956ce5c41913d1f2db31a8e05a5bad1fe7f5a0c1d5f1a6346f4703e307cc3f05a
languageName: node
linkType: hard

Expand Down
2 changes: 1 addition & 1 deletion barretenberg/acir_tests/headless-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"playwright": "^1.50.0",
"playwright": "1.49.0",
"puppeteer": "^22.4.1"
},
"devDependencies": {
Expand Down
20 changes: 10 additions & 10 deletions barretenberg/acir_tests/headless-test/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ __metadata:
dependencies:
chalk: "npm:^5.3.0"
commander: "npm:^12.1.0"
playwright: "npm:^1.50.0"
playwright: "npm:1.49.0"
puppeteer: "npm:^22.4.1"
ts-node: "npm:^10.9.2"
typescript: "npm:^5.4.2"
Expand Down Expand Up @@ -1408,27 +1408,27 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.50.0":
version: 1.50.0
resolution: "playwright-core@npm:1.50.0"
"playwright-core@npm:1.49.0":
version: 1.49.0
resolution: "playwright-core@npm:1.49.0"
bin:
playwright-core: cli.js
checksum: 10c0/b0cc7fadcb2db68a7b8d730b26c7a7d17baad454a0697c781e08074a619e57779a90be9b57c4c741ff4895390bdfd093d8393a746e8bf68ae57ac452f4c1cdb2
checksum: 10c0/22c1a72fabdcc87bd1cd4d40a032d2c5b94cf94ba7484dc182048c3fa1c8ec26180b559d8cac4ca9870e8fd6bdf5ef9d9f54e7a31fd60d67d098fcffc5e4253b
languageName: node
linkType: hard

"playwright@npm:^1.50.0":
version: 1.50.0
resolution: "playwright@npm:1.50.0"
"playwright@npm:1.49.0":
version: 1.49.0
resolution: "playwright@npm:1.49.0"
dependencies:
fsevents: "npm:2.3.2"
playwright-core: "npm:1.50.0"
playwright-core: "npm:1.49.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 10c0/0076a536433819b7122066a07c5fcfa56d40d09cbbec0a39061bbfa832c8a1f626df5e4fe206fbeba56b3a61f0e2b26d4ad3c2b402852d6f147a266fd18e4ddf
checksum: 10c0/e94d662747cd147d0573570fec90dadc013c1097595714036fc8934a075c5a82ab04a49111b03b1f762ea86429bdb7c94460901896901e20970b30ce817cc93f
languageName: node
linkType: hard

Expand Down
2 changes: 1 addition & 1 deletion boxes/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ COPY . .
ENV AZTEC_NARGO=/usr/aztec-nargo/compile_then_postprocess.sh
ENV AZTEC_BUILDER=/usr/src/yarn-project/builder/aztec-builder-dest
RUN yarn
RUN npx -y playwright@1.50 install --with-deps
RUN npx -y playwright@1.49 install --with-deps
ENTRYPOINT ["/bin/sh", "-c"]
2 changes: 1 addition & 1 deletion boxes/boxes/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"yup": "^1.2.0"
},
"devDependencies": {
"@playwright/test": "1.50.0",
"@playwright/test": "1.49.0",
"@types/jest": "^29.5.0",
"@types/node": "^20.5.9",
"@types/react": "^18.2.15",
Expand Down
2 changes: 1 addition & 1 deletion boxes/boxes/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@aztec/aztec.js": "latest"
},
"devDependencies": {
"@playwright/test": "^1.50.0",
"@playwright/test": "1.49.0",
"@types/node": "^20.11.17",
"assert": "^2.1.0",
"copy-webpack-plugin": "^12.0.2",
Expand Down
2 changes: 1 addition & 1 deletion boxes/contract-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"rootDir": "./"
},
"devDependencies": {
"@playwright/test": "1.50.0",
"@playwright/test": "1.49.0",
"@types/jest": "^29.5.0",
"@types/node": "^20.11.17",
"copy-webpack-plugin": "^11.0.0",
Expand Down
1 change: 0 additions & 1 deletion boxes/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ services:
working_dir: /root/aztec-packages/boxes
entrypoint: >
sh -c '
npx -y playwright@1.50 install --with-deps
yarn workspace @aztec/$$BOX test --project=$$BROWSER
'
environment:
Expand Down
2 changes: 1 addition & 1 deletion boxes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"vitest": "^2.0.5"
},
"devDependencies": {
"@playwright/test": "^1.50.0"
"@playwright/test": "1.49.0"
}
}
34 changes: 17 additions & 17 deletions boxes/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ __metadata:
dependencies:
"@aztec/accounts": "npm:latest"
"@aztec/aztec.js": "npm:latest"
"@playwright/test": "npm:1.50.0"
"@playwright/test": "npm:1.49.0"
"@types/jest": "npm:^29.5.0"
"@types/node": "npm:^20.5.9"
"@types/react": "npm:^18.2.15"
Expand Down Expand Up @@ -119,7 +119,7 @@ __metadata:
dependencies:
"@aztec/accounts": "npm:latest"
"@aztec/aztec.js": "npm:latest"
"@playwright/test": "npm:^1.50.0"
"@playwright/test": "npm:1.49.0"
"@types/node": "npm:^20.11.17"
assert: "npm:^2.1.0"
copy-webpack-plugin: "npm:^12.0.2"
Expand Down Expand Up @@ -1622,14 +1622,14 @@ __metadata:
languageName: node
linkType: hard

"@playwright/test@npm:1.50.0, @playwright/test@npm:^1.50.0":
version: 1.50.0
resolution: "@playwright/test@npm:1.50.0"
"@playwright/test@npm:1.49.0":
version: 1.49.0
resolution: "@playwright/test@npm:1.49.0"
dependencies:
playwright: "npm:1.50.0"
playwright: "npm:1.49.0"
bin:
playwright: cli.js
checksum: 10c0/70b46eab2a5c8b4accc1c8a29a0ea371b7b8f56b0d38509e5c06354ebc60dc262837e92cea727076aea5e1c32f31e215c02fbde977519a7e38488cfc48f0ba5c
checksum: 10c0/2890d52ee45bd83b5501f17a77c77f12ba934d257fda4b288405c6d91f94b83c4fcbdff3c0be89c2aaeea3d13576b72ec9a70be667ff844b342044afd72a246e
languageName: node
linkType: hard

Expand Down Expand Up @@ -3626,7 +3626,7 @@ __metadata:
"@inquirer/confirm": "npm:^3.0.0"
"@inquirer/input": "npm:^2.0.0"
"@inquirer/select": "npm:^2.0.0"
"@playwright/test": "npm:^1.50.0"
"@playwright/test": "npm:1.49.0"
axios: "npm:^1.6.7"
commander: "npm:^12.1.0"
ora: "npm:^8.0.1"
Expand Down Expand Up @@ -9795,27 +9795,27 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.50.0":
version: 1.50.0
resolution: "playwright-core@npm:1.50.0"
"playwright-core@npm:1.49.0":
version: 1.49.0
resolution: "playwright-core@npm:1.49.0"
bin:
playwright-core: cli.js
checksum: 10c0/b0cc7fadcb2db68a7b8d730b26c7a7d17baad454a0697c781e08074a619e57779a90be9b57c4c741ff4895390bdfd093d8393a746e8bf68ae57ac452f4c1cdb2
checksum: 10c0/22c1a72fabdcc87bd1cd4d40a032d2c5b94cf94ba7484dc182048c3fa1c8ec26180b559d8cac4ca9870e8fd6bdf5ef9d9f54e7a31fd60d67d098fcffc5e4253b
languageName: node
linkType: hard

"playwright@npm:1.50.0":
version: 1.50.0
resolution: "playwright@npm:1.50.0"
"playwright@npm:1.49.0":
version: 1.49.0
resolution: "playwright@npm:1.49.0"
dependencies:
fsevents: "npm:2.3.2"
playwright-core: "npm:1.50.0"
playwright-core: "npm:1.49.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 10c0/0076a536433819b7122066a07c5fcfa56d40d09cbbec0a39061bbfa832c8a1f626df5e4fe206fbeba56b3a61f0e2b26d4ad3c2b402852d6f147a266fd18e4ddf
checksum: 10c0/e94d662747cd147d0573570fec90dadc013c1097595714036fc8934a075c5a82ab04a49111b03b1f762ea86429bdb7c94460901896901e20970b30ce817cc93f
languageName: node
linkType: hard

Expand Down
2 changes: 1 addition & 1 deletion build-images/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ build:
-o /usr/local/bin/yq && chmod +x /usr/local/bin/yq

# Install playwright for browser testing.
RUN npx -y playwright@1.50 install --with-deps
RUN npx -y playwright@1.49 install --with-deps

ARG TARGETARCH
# NOTE: bump this version when doing non-backwards compatible changes
Expand Down
2 changes: 1 addition & 1 deletion noir/noir-repo/.github/scripts/playwright-install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -eu

npx -y playwright@1.50 install --with-deps
npx -y playwright@1.49 install --with-deps
20 changes: 10 additions & 10 deletions noir/noir-repo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14924,7 +14924,7 @@ __metadata:
languageName: node
linkType: hard

"fsevents@patch:fsevents@2.3.2#~builtin<compat/fsevents>":
"fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>":
version: 2.3.2
resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::version=2.3.2&hash=df0bf1"
dependencies:
Expand Down Expand Up @@ -20321,27 +20321,27 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.50.0":
version: 1.50.0
resolution: "playwright-core@npm:1.50.0"
"playwright-core@npm:1.49.0":
version: 1.49.0
resolution: "playwright-core@npm:1.49.0"
bin:
playwright-core: cli.js
checksum: aca5222d7859039bc579b4b860db57c8adc1cc94c3de990ed08cec911bf888e2decb331560bd456991c98222a55c58526187a2a070e6f101fbef43a8e07e1dea
checksum: d8423ad0cab2e672856529bf6b98b406e7e605da098b847b9b54ee8ebd8d716ed8880a9afff4b38f0a2e3f59b95661c74589116ce3ff2b5e0ae3561507086c94
languageName: node
linkType: hard

"playwright@npm:^1.22.2":
version: 1.50.0
resolution: "playwright@npm:1.50.0"
version: 1.49.0
resolution: "playwright@npm:1.49.0"
dependencies:
fsevents: 2.3.2
playwright-core: 1.50.0
fsevents: "npm:2.3.2"
playwright-core: "npm:1.49.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 44004e3082433f6024665fcf04bd37cda2b284bd5262682a40a60c66943ccf66f68fbc9ca859908dfd0d117235424580a55e9ccd07e2ad9c30df363b6445448b
checksum: f1bfb2fff65cad2ce996edab74ec231dfd21aeb5961554b765ce1eaec27efb87eaba37b00e91ecd27727b82861e5d8c230abe4960e93f6ada8be5ad1020df306
languageName: node
linkType: hard

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/scripts/test_simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# - runInBand is provided, to run the test in the main thread (no child process). It avoids various issues.
set -eu

export CHROME_BIN=/root/.cache/ms-playwright/chromium-1155/chrome-linux/chrome
export CHROME_BIN=/root/.cache/ms-playwright/chromium-1148/chrome-linux/chrome
export HARDWARE_CONCURRENCY=16
export RAYON_NUM_THREADS=1
export LOG_LEVEL=${LOG_LEVEL:-verbose}
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/end-to-end/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
{
"path": "../entrypoints"
},
{
"path": "../epoch-cache"
},
{
"path": "../ethereum"
},
Expand Down
4 changes: 2 additions & 2 deletions yarn-project/ivc-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"chalk": "^5.3.0",
"change-case": "^5.4.4",
"pako": "^2.1.0",
"playwright": "^1.50.0",
"playwright": "1.49.0",
"puppeteer": "^22.4.1",
"tslib": "^2.4.0"
},
Expand All @@ -84,7 +84,7 @@
"@aztec/world-state": "workspace:^",
"@jest/globals": "^29.5.0",
"@msgpack/msgpack": "^3.0.0-beta2",
"@playwright/test": "^1.50.0",
"@playwright/test": "1.49.0",
"@types/jest": "^29.5.0",
"@types/node": "^22.8.1",
"@types/pako": "^2.0.3",
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/sequencer-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
{
"path": "../circuits.js"
},
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is unrelated, but bootstrap complained, bad merge?

"path": "../epoch-cache"
},
{
"path": "../ethereum"
},
Expand Down
32 changes: 16 additions & 16 deletions yarn-project/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ __metadata:
"@noir-lang/noir_js": "file:../../noir/packages/noir_js"
"@noir-lang/noirc_abi": "portal:../../noir/packages/noirc_abi"
"@noir-lang/types": "portal:../../noir/packages/types"
"@playwright/test": "npm:^1.50.0"
"@playwright/test": "npm:1.49.0"
"@types/jest": "npm:^29.5.0"
"@types/node": "npm:^22.8.1"
"@types/pako": "npm:^2.0.3"
Expand All @@ -828,7 +828,7 @@ __metadata:
levelup: "npm:^5.1.1"
memdown: "npm:^6.1.1"
pako: "npm:^2.1.0"
playwright: "npm:^1.50.0"
playwright: "npm:1.49.0"
puppeteer: "npm:^22.4.1"
resolve-typescript-plugin: "npm:^2.0.1"
serve: "npm:^14.2.1"
Expand Down Expand Up @@ -4416,14 +4416,14 @@ __metadata:
languageName: node
linkType: hard

"@playwright/test@npm:^1.50.0":
version: 1.50.0
resolution: "@playwright/test@npm:1.50.0"
"@playwright/test@npm:1.49.0":
version: 1.49.0
resolution: "@playwright/test@npm:1.49.0"
dependencies:
playwright: "npm:1.50.0"
playwright: "npm:1.49.0"
bin:
playwright: cli.js
checksum: 10/1fec2ed986205b57b03f24392bb01c6454c1f0a5c14204ce921afd51c3f5d61f20eddb3a18d36a02b19b3e3d731c7ff6bb7ba3c622aabc8fa3802021aef7d21b
checksum: 10/e87485ab4c02b6dc0bc20a43ea3965c949c45caa4e7f5beea4a0abd29be0a318662931e887072db0d165f8dde93709b97ea1b2c6f4c833b403aa13427d76dd22
languageName: node
linkType: hard

Expand Down Expand Up @@ -17236,27 +17236,27 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.50.0":
version: 1.50.0
resolution: "playwright-core@npm:1.50.0"
"playwright-core@npm:1.49.0":
version: 1.49.0
resolution: "playwright-core@npm:1.49.0"
bin:
playwright-core: cli.js
checksum: 10/0d27e52164bcc37ed5aeaa0c7efa6a0b3616cfbb01e206c26572bff8b8e5f0923a993369c826056cd7bee4b975508a1ec257b533098ee9db7bc5b75832110e4d
checksum: 10/ef9c708293adab100337ed7fd8e61660be381707fc2b84f07b5f40d1ead44feb6a8e52fef98075e594522229d15a9ad56dd1471689cfa59409bec6447c22944d
languageName: node
linkType: hard

"playwright@npm:1.50.0, playwright@npm:^1.22.2, playwright@npm:^1.50.0":
version: 1.50.0
resolution: "playwright@npm:1.50.0"
"playwright@npm:1.49.0, playwright@npm:^1.22.2":
version: 1.49.0
resolution: "playwright@npm:1.49.0"
dependencies:
fsevents: "npm:2.3.2"
playwright-core: "npm:1.50.0"
playwright-core: "npm:1.49.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 10/53521f05c48ab51a37d6fa280a7c1e6486e2879f9997e877227517945faf195ce16829cf144709bba292c3023bcd07cf44a4dd965458c9adc30ea6fbe1f0f74a
checksum: 10/1fb198d09d388ec46cc2f0fc6b889a8bde8a75066ded82d35f08ba333091ebf3fc4ddf11263a86058a7078c7238ec4f23a86a9f1dc3ebd4f610c9eb07841fb32
languageName: node
linkType: hard

Expand Down