chore: rename agents to test agents (#37759)

This commit is contained in:
Pavel Feldman 2025-10-07 13:23:37 -07:00 committed by GitHub
parent 4997cafbdf
commit e4679234a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View File

@ -10,12 +10,12 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
<LiteYouTube
id="_AifxZGxwuk"
title="Playwright 1.56 - Introducing Playwright Agents"
title="Playwright 1.56 - Introducing Playwright Test Agents"
/>
### 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

View File

@ -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.
<LiteYouTube
id="_AifxZGxwuk"
title="Playwright 1.56 - Introducing Playwright Agents"
title="Playwright 1.56 - Introducing Playwright Test Agents"
/>
### 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.

View File

@ -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() {