From e4679234a3bcac8782e1a7f371e09165dd64a9ed Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Tue, 7 Oct 2025 13:23:37 -0700 Subject: [PATCH] chore: rename agents to test agents (#37759) --- docs/src/release-notes-js.md | 8 ++++---- docs/src/test-agents-js.md | 8 ++++---- packages/playwright/src/agents/generateAgents.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 39f494d2b4..7c05fe4719 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -10,12 +10,12 @@ import LiteYouTube from '@site/src/components/LiteYouTube'; -### Playwright Agents +### Playwright Test Agents -Introducing Playwright Agents, three custom agent definitions designed to guide LLMs through the core process of building a Playwright test: +Introducing Playwright Test Agents, three custom agent definitions designed to guide LLMs through the core process of building a Playwright test: * **🎭 planner** explores the app and produces a Markdown test plan @@ -35,7 +35,7 @@ npx playwright init-agents --loop=claude npx playwright init-agents --loop=opencode ``` -[Learn more about Playwright Agents](./test-agents.md) +[Learn more about Playwright Test Agents](./test-agents.md) ### New APIs diff --git a/docs/src/test-agents-js.md b/docs/src/test-agents-js.md index 28e65b361b..e19faad567 100644 --- a/docs/src/test-agents-js.md +++ b/docs/src/test-agents-js.md @@ -5,11 +5,11 @@ title: "Agents" import LiteYouTube from '@site/src/components/LiteYouTube'; -# Playwright Agents +# Playwright Test Agents ## Introduction -Playwright comes with three Playwright Agents out of the box: **🎭 planner**, **🎭 generator** and **🎭 healer**. +Playwright comes with three Playwright Test Agents out of the box: **🎭 planner**, **🎭 generator** and **🎭 healer**. These agents can be used independently, sequentially, or as the chained calls in the agentic loop. Using them sequentially will produce test coverage for your product. @@ -22,12 +22,12 @@ Using them sequentially will produce test coverage for your product. ### Getting Started -Start with adding Playwright Agent definitions to your project using +Start with adding Playwright Test Agent definitions to your project using the `init-agents` command. These definitions should be regenerated whenever Playwright is updated to pick up new tools and instructions. diff --git a/packages/playwright/src/agents/generateAgents.ts b/packages/playwright/src/agents/generateAgents.ts index 015cc749f4..efa0ed0802 100644 --- a/packages/playwright/src/agents/generateAgents.ts +++ b/packages/playwright/src/agents/generateAgents.ts @@ -281,7 +281,7 @@ export async function initVSCodeRepo() { }; await writeFile(mcpJsonPath, JSON.stringify(mcpJson, null, 2)); // eslint-disable-next-line no-console - console.log(colors.yellow(`${colors.bold('Note:')} Playwright Agents require VSCode version 1.105+ or VSCode Insiders`)); + console.log(colors.yellow(`${colors.bold('Note:')} Playwright Test Agents require VSCode version 1.105+ or VSCode Insiders`)); } export async function initOpencodeRepo() {