Merge pull request #1916

Bump playwright from 1.55.0 to 1.56.0
This commit is contained in:
larabr 2025-10-14 14:06:55 +02:00 committed by GitHub
commit 5a69043aad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 10 deletions

16
package-lock.json generated
View File

@ -48,7 +48,7 @@
"eslint-plugin-unicorn": "^48.0.1",
"fflate": "^0.8.2",
"mocha": "^11.7.1",
"playwright": "^1.55.0",
"playwright": "^1.56.0",
"rollup": "^4.48.1",
"sinon": "^21.0.0",
"tsx": "^4.20.5",
@ -9747,13 +9747,13 @@
"license": "MIT"
},
"node_modules/playwright": {
"version": "1.55.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.0.tgz",
"integrity": "sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==",
"version": "1.56.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.56.0.tgz",
"integrity": "sha512-X5Q1b8lOdWIE4KAoHpW3SE8HvUB+ZZsUoN64ZhjnN8dOb1UpujxBtENGiZFE+9F/yhzJwYa+ca3u43FeLbboHA==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.55.0"
"playwright-core": "1.56.0"
},
"bin": {
"playwright": "cli.js"
@ -9766,9 +9766,9 @@
}
},
"node_modules/playwright-core": {
"version": "1.55.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.0.tgz",
"integrity": "sha512-GvZs4vU3U5ro2nZpeiwyb0zuFaqb9sUiAJuyrWpcGouD8y9/HLgGbNRjIph7zU9D3hnPaisMl9zG9CgFi/biIg==",
"version": "1.56.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.56.0.tgz",
"integrity": "sha512-1SXl7pMfemAMSDn5rkPeZljxOCYAmQnYLBTExuh6E8USHXGSX3dx6lYZN/xPpTz1vimXmPA9CDnILvmJaB8aSQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {

View File

@ -102,7 +102,7 @@
"eslint-plugin-unicorn": "^48.0.1",
"fflate": "^0.8.2",
"mocha": "^11.7.1",
"playwright": "^1.55.0",
"playwright": "^1.56.0",
"rollup": "^4.48.1",
"sinon": "^21.0.0",
"tsx": "^4.20.5",

View File

@ -243,8 +243,12 @@ export default () => describe('Packet', function() {
cryptCallsActive--;
}
});
const isChromeV141OrAbove = () => typeof window !== 'undefined' && window.navigator.userAgent.match(/Chrome/) && /Chrome\/([0-9.]+)/.exec(navigator.userAgent)[1].split('.')[0] >= 141;
cryptStub.onCall(1).callsFake(function() {
expect(cryptCallsActive).to.equal(1);
// Chromium disabled some async WebCrypto operations in v141 .
// Context: https://github.com/w3c/webcrypto/issues/389#issuecomment-3136298597 .
expect(cryptCallsActive).to.equal(isChromeV141OrAbove() ? 0 : 1);
return crypt.apply(this, arguments);
});
cryptStub.callThrough();