chore: roll Playwright to latest (#971)

This commit is contained in:
Pavel Feldman
2025-08-29 18:25:21 -07:00
committed by GitHub
parent 29d468dac7
commit b176111891
4 changed files with 24 additions and 24 deletions

28
package-lock.json generated
View File

@@ -14,8 +14,8 @@
"debug": "^4.4.1", "debug": "^4.4.1",
"dotenv": "^17.2.0", "dotenv": "^17.2.0",
"mime": "^4.0.7", "mime": "^4.0.7",
"playwright": "1.55.0-alpha-2025-08-12", "playwright": "1.56.0-alpha-1756505518000",
"playwright-core": "1.55.0-alpha-2025-08-12", "playwright-core": "1.56.0-alpha-1756505518000",
"ws": "^8.18.1", "ws": "^8.18.1",
"zod": "^3.24.1", "zod": "^3.24.1",
"zod-to-json-schema": "^3.24.4" "zod-to-json-schema": "^3.24.4"
@@ -27,7 +27,7 @@
"@anthropic-ai/sdk": "^0.57.0", "@anthropic-ai/sdk": "^0.57.0",
"@eslint/eslintrc": "^3.2.0", "@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0", "@eslint/js": "^9.19.0",
"@playwright/test": "1.55.0-alpha-2025-08-12", "@playwright/test": "1.56.0-alpha-1756505518000",
"@stylistic/eslint-plugin": "^3.0.1", "@stylistic/eslint-plugin": "^3.0.1",
"@types/debug": "^4.1.12", "@types/debug": "^4.1.12",
"@types/node": "^22.13.10", "@types/node": "^22.13.10",
@@ -703,13 +703,13 @@
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
"version": "1.55.0-alpha-2025-08-12", "version": "1.56.0-alpha-1756505518000",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.55.0-alpha-2025-08-12.tgz", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.56.0-alpha-1756505518000.tgz",
"integrity": "sha512-lyq9MDSd4UcOWx5292AYLBfbYYCstg8iLb+lk6LdM69ps6bwmPloZO3Ol3JO3FQQ63qAuW9VD0w+ZYKL0lRmQA==", "integrity": "sha512-BLTEYook8jXHONKqmOgcG/q6SLZIyyJClgc+YJGg/G3w3dg1pE2dtdO/gECFnM8FX9UY4DOa9c6eJVU1feHk/w==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.55.0-alpha-2025-08-12" "playwright": "1.56.0-alpha-1756505518000"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -3745,12 +3745,12 @@
} }
}, },
"node_modules/playwright": { "node_modules/playwright": {
"version": "1.55.0-alpha-2025-08-12", "version": "1.56.0-alpha-1756505518000",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.0-alpha-2025-08-12.tgz", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.56.0-alpha-1756505518000.tgz",
"integrity": "sha512-daZPM5gX0VTG6ae3/qOpEKc9NxoavkM2lfL0UIzTG0k+yK8ZeSPYo63iewZhVANsWRm0BT+XQ1NniAUOwWQ+xA==", "integrity": "sha512-aChIG1Hly/pxzVdwOMArmOMNz4Wo2VyWBxLaMvLJaGWRPPB9+Sl1N8PRm6oH1CbbpFGpPvIeXl83LomkibShRA==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright-core": "1.55.0-alpha-2025-08-12" "playwright-core": "1.56.0-alpha-1756505518000"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -3763,9 +3763,9 @@
} }
}, },
"node_modules/playwright-core": { "node_modules/playwright-core": {
"version": "1.55.0-alpha-2025-08-12", "version": "1.56.0-alpha-1756505518000",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.0-alpha-2025-08-12.tgz", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.56.0-alpha-1756505518000.tgz",
"integrity": "sha512-4uxOd9xmeF6gqdsORzzlXd7p795vcACOiAGVHHEiTuFXsD83LYH+0C/SYLWB0Z+fAq4LdKGsy0qEfTm0JkY8Ig==", "integrity": "sha512-qeM+G9jA+PkA3dSYZmqKrARnIgd53B+7Lm3e52wH3rPyZJ+IBhRvhW369iN8tVJunbmsr7fkU1+05K2c7q9y0g==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"playwright-core": "cli.js" "playwright-core": "cli.js"

View File

@@ -43,8 +43,8 @@
"debug": "^4.4.1", "debug": "^4.4.1",
"dotenv": "^17.2.0", "dotenv": "^17.2.0",
"mime": "^4.0.7", "mime": "^4.0.7",
"playwright": "1.55.0-alpha-2025-08-12", "playwright": "1.56.0-alpha-1756505518000",
"playwright-core": "1.55.0-alpha-2025-08-12", "playwright-core": "1.56.0-alpha-1756505518000",
"ws": "^8.18.1", "ws": "^8.18.1",
"zod": "^3.24.1", "zod": "^3.24.1",
"zod-to-json-schema": "^3.24.4" "zod-to-json-schema": "^3.24.4"
@@ -53,7 +53,7 @@
"@anthropic-ai/sdk": "^0.57.0", "@anthropic-ai/sdk": "^0.57.0",
"@eslint/eslintrc": "^3.2.0", "@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0", "@eslint/js": "^9.19.0",
"@playwright/test": "1.55.0-alpha-2025-08-12", "@playwright/test": "1.56.0-alpha-1756505518000",
"@stylistic/eslint-plugin": "^3.0.1", "@stylistic/eslint-plugin": "^3.0.1",
"@types/debug": "^4.1.12", "@types/debug": "^4.1.12",
"@types/node": "^22.13.10", "@types/node": "^22.13.10",

View File

@@ -96,7 +96,7 @@ const verifyList = defineTabTool({
} }
const ariaSnapshot = `\` const ariaSnapshot = `\`
- list: - list:
${itemTexts.map(t => ` - text: ${javascript.escapeWithQuotes(t, '"')}`).join('\n')} ${itemTexts.map(t => ` - listitem: ${javascript.escapeWithQuotes(t, '"')}`).join('\n')}
\``; \``;
response.addCode(`await expect(page.locator('body')).toMatchAriaSnapshot(${ariaSnapshot});`); response.addCode(`await expect(page.locator('body')).toMatchAriaSnapshot(${ariaSnapshot});`);
response.addResult('Done'); response.addResult('Done');

View File

@@ -213,9 +213,9 @@ test('browser_verify_list_visible', async ({ client, server }) => {
result: 'Done', result: 'Done',
code: expect.stringContaining(`await expect(page.locator('body')).toMatchAriaSnapshot(\` code: expect.stringContaining(`await expect(page.locator('body')).toMatchAriaSnapshot(\`
- list: - list:
- text: "Apple" - listitem: "Apple"
- text: "Banana" - listitem: "Banana"
- text: "Cherry" - listitem: "Cherry"
\`);`), \`);`),
}); });
}); });
@@ -247,8 +247,8 @@ test('browser_verify_list_visible (partial items)', async ({ client, server }) =
result: 'Done', result: 'Done',
code: expect.stringContaining(`await expect(page.locator('body')).toMatchAriaSnapshot(\` code: expect.stringContaining(`await expect(page.locator('body')).toMatchAriaSnapshot(\`
- list: - list:
- text: "Apple" - listitem: "Apple"
- text: "Cherry" - listitem: "Cherry"
\`);`), \`);`),
}); });
}); });
@@ -453,7 +453,7 @@ test('browser_verify_value (radio checked)', async ({ client, server }) => {
arguments: { arguments: {
type: 'radio', type: 'radio',
element: 'Color radio', element: 'Color radio',
ref: 'e4', ref: 'e3',
value: 'true', value: 'true',
}, },
})).toHaveResponse({ })).toHaveResponse({