Skip to content

Commit b176111

Browse files
authored
chore: roll Playwright to latest (microsoft#971)
1 parent 29d468d commit b176111

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"debug": "^4.4.1",
4444
"dotenv": "^17.2.0",
4545
"mime": "^4.0.7",
46-
"playwright": "1.55.0-alpha-2025-08-12",
47-
"playwright-core": "1.55.0-alpha-2025-08-12",
46+
"playwright": "1.56.0-alpha-1756505518000",
47+
"playwright-core": "1.56.0-alpha-1756505518000",
4848
"ws": "^8.18.1",
4949
"zod": "^3.24.1",
5050
"zod-to-json-schema": "^3.24.4"
@@ -53,7 +53,7 @@
5353
"@anthropic-ai/sdk": "^0.57.0",
5454
"@eslint/eslintrc": "^3.2.0",
5555
"@eslint/js": "^9.19.0",
56-
"@playwright/test": "1.55.0-alpha-2025-08-12",
56+
"@playwright/test": "1.56.0-alpha-1756505518000",
5757
"@stylistic/eslint-plugin": "^3.0.1",
5858
"@types/debug": "^4.1.12",
5959
"@types/node": "^22.13.10",

src/tools/verify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const verifyList = defineTabTool({
9696
}
9797
const ariaSnapshot = `\`
9898
- list:
99-
${itemTexts.map(t => ` - text: ${javascript.escapeWithQuotes(t, '"')}`).join('\n')}
99+
${itemTexts.map(t => ` - listitem: ${javascript.escapeWithQuotes(t, '"')}`).join('\n')}
100100
\``;
101101
response.addCode(`await expect(page.locator('body')).toMatchAriaSnapshot(${ariaSnapshot});`);
102102
response.addResult('Done');

tests/verify.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ test('browser_verify_list_visible', async ({ client, server }) => {
213213
result: 'Done',
214214
code: expect.stringContaining(`await expect(page.locator('body')).toMatchAriaSnapshot(\`
215215
- list:
216-
- text: "Apple"
217-
- text: "Banana"
218-
- text: "Cherry"
216+
- listitem: "Apple"
217+
- listitem: "Banana"
218+
- listitem: "Cherry"
219219
\`);`),
220220
});
221221
});
@@ -247,8 +247,8 @@ test('browser_verify_list_visible (partial items)', async ({ client, server }) =
247247
result: 'Done',
248248
code: expect.stringContaining(`await expect(page.locator('body')).toMatchAriaSnapshot(\`
249249
- list:
250-
- text: "Apple"
251-
- text: "Cherry"
250+
- listitem: "Apple"
251+
- listitem: "Cherry"
252252
\`);`),
253253
});
254254
});
@@ -453,7 +453,7 @@ test('browser_verify_value (radio checked)', async ({ client, server }) => {
453453
arguments: {
454454
type: 'radio',
455455
element: 'Color radio',
456-
ref: 'e4',
456+
ref: 'e3',
457457
value: 'true',
458458
},
459459
})).toHaveResponse({

0 commit comments

Comments
 (0)