Merge pull request #192155 from microsoft/joh/corporate-canid

Update playwright
This commit is contained in:
Johannes Rieken
2023-09-05 15:50:32 +02:00
committed by GitHub
4 changed files with 16 additions and 12 deletions
+1 -1
View File
@@ -107,7 +107,7 @@
"yazl": "^2.4.3"
},
"devDependencies": {
"@playwright/test": "^1.34.3",
"@playwright/test": "^1.37.1",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.62",
"@types/cookie": "^0.3.3",
+5 -1
View File
@@ -613,7 +613,11 @@ export function insertInto<T>(array: T[], start: number, newItems: T[]): void {
*/
export function splice<T>(array: T[], start: number, deleteCount: number, newItems: T[]): T[] {
const index = getActualStartIndex(array, start);
const result = array.splice(index, deleteCount);
let result = array.splice(index, deleteCount);
if (result === undefined) {
// see https://bugs.webkit.org/show_bug.cgi?id=261140
result = [];
}
insertInto(array, index, newItems);
return result;
}
+1 -1
View File
@@ -156,7 +156,7 @@
if (Array.isArray(modules) && modules.length > 0) {
console.log('MANUALLY running tests', modules);
loadAndRun(modules, true).then(() => console.log('done'), err => console.log(err));
loadAndRun({modules}, true).then(() => console.log('done'), err => console.log(err));
}
</script>
</body>
+9 -9
View File
@@ -682,13 +682,13 @@
node-addon-api "^3.2.1"
node-gyp-build "^4.3.0"
"@playwright/test@^1.34.3":
version "1.34.3"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.34.3.tgz#d9f1ac3f1a09633b5ca5351c50c308bf802bde53"
integrity sha512-zPLef6w9P6T/iT6XDYG3mvGOqOyb6eHaV9XtkunYs0+OzxBtrPAAaHotc0X+PJ00WPPnLfFBTl7mf45Mn8DBmw==
"@playwright/test@^1.37.1":
version "1.37.1"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.37.1.tgz#e7f44ae0faf1be52d6360c6bbf689fd0057d9b6f"
integrity sha512-bq9zTli3vWJo8S3LwB91U0qDNQDpEXnw7knhxLM0nwDvexQAwx9tO8iKDZSqqneVq+URd/WIoz+BALMqUTgdSg==
dependencies:
"@types/node" "*"
playwright-core "1.34.3"
playwright-core "1.37.1"
optionalDependencies:
fsevents "2.3.2"
@@ -7827,10 +7827,10 @@ playwright-core@1.32.2:
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.32.2.tgz#608810c3c4486fb86a224732ac0d3560a96ded8b"
integrity sha512-zD7aonO+07kOTthsrCR3YCVnDcqSHIJpdFUtZEMOb6//1Rc7/6mZDRdw+nlzcQiQltOOsiqI3rrSyn/SlyjnJQ==
playwright-core@1.34.3:
version "1.34.3"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.34.3.tgz#bc906ea1b26bb66116ce329436ee59ba2e78fe9f"
integrity sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==
playwright-core@1.37.1:
version "1.37.1"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.37.1.tgz#cb517d52e2e8cb4fa71957639f1cd105d1683126"
integrity sha512-17EuQxlSIYCmEMwzMqusJ2ztDgJePjrbttaefgdsiqeLWidjYz9BxXaTaZWxH1J95SHGk6tjE+dwgWILJoUZfA==
playwright@^1.29.2:
version "1.30.0"