e2e_init
Initializes an end-to-end test project by creating Playwright configuration and directory structure, preparing a web app for automated browser tests.
Instructions
初始化 E2E 测试项目,创建 Playwright 配置和目录结构
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectDir": "<projectDir>"
},
"name": "e2e_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | 测试目标 URL,默认 http://localhost:3000 | |
| projectDir | Yes | 项目根目录路径 |