chore: roll playwright 5/9 (#394)

This commit is contained in:
Pavel Feldman
2025-05-09 18:01:17 -07:00
committed by GitHub
parent c28b480b51
commit 445170a76b
16 changed files with 88 additions and 149 deletions

View File

@@ -40,14 +40,14 @@ test('browser_wait_for(text)', async ({ client, server }) => {
name: 'browser_click',
arguments: {
element: 'Click me',
ref: 's1e3',
ref: 'e2',
},
});
expect(await client.callTool({
name: 'browser_wait_for',
arguments: { text: 'Text to appear' },
})).toContainTextContent(`- generic [ref=s3e4]: Text to appear`);
})).toContainTextContent(`- generic [ref=e3]: Text to appear`);
});
test('browser_wait_for(textGone)', async ({ client, server }) => {
@@ -74,12 +74,12 @@ test('browser_wait_for(textGone)', async ({ client, server }) => {
name: 'browser_click',
arguments: {
element: 'Click me',
ref: 's1e3',
ref: 'e2',
},
});
expect(await client.callTool({
name: 'browser_wait_for',
arguments: { textGone: 'Text to disappear' },
})).toContainTextContent(`- generic [ref=s3e4]: Text to appear`);
})).toContainTextContent(`- generic [ref=e3]: Text to appear`);
});