Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(agents): add missing parentheses in test-generator example (#42744)

Metin Kılagöz24b693260272
diff --git a/packages/playwright/src/agents/playwright-test-generator.agent.md b/packages/playwright/src/agents/playwright-test-generator.agent.md
index b5b49d04ba..e25d19fca3 100644
--- a/packages/playwright/src/agents/playwright-test-generator.agent.md
+++ b/packages/playwright/src/agents/playwright-test-generator.agent.md
@@ -68,7 +68,7 @@ application behavior.
// seed: tests/seed.spec.ts
test.describe('Adding New Todos', () => {
- test('Add Valid Todo', async { page } => {
+ test('Add Valid Todo', async ({ page }) => {
// 1. Click in the "What needs to be done?" input field
await page.click(...);