playwright 1.57.0-alpha-2025-10-29 → 1.57.0-alpha-2025-10-31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,9 +100,6 @@ class ClaudeGenerator {
100
100
  await import_fs.default.promises.mkdir(".claude/agents", { recursive: true });
101
101
  for (const agent of agents)
102
102
  await writeFile(`.claude/agents/${agent.header.name}.md`, ClaudeGenerator.agentSpec(agent), "\u{1F916}", "agent definition");
103
- await deleteFile(`.claude/agents/playwright-test-planner.md`, "legacy planner agent");
104
- await deleteFile(`.claude/agents/playwright-test-generator.md`, "legacy generator agent");
105
- await deleteFile(`.claude/agents/playwright-test-healer.md`, "legacy healer agent");
106
103
  await writeFile(".mcp.json", JSON.stringify({
107
104
  mcpServers: {
108
105
  "playwright-test": {
@@ -153,9 +150,6 @@ class OpencodeGenerator {
153
150
  prompt.push(...agent.examples.map((example) => `<example>${example}</example>`));
154
151
  await writeFile(`.opencode/prompts/${agent.header.name}.md`, prompt.join("\n"), "\u{1F916}", "agent definition");
155
152
  }
156
- await deleteFile(`.opencode/prompts/playwright-test-planner.md`, "legacy planner agent");
157
- await deleteFile(`.opencode/prompts/playwright-test-generator.md`, "legacy generator agent");
158
- await deleteFile(`.opencode/prompts/playwright-test-healer.md`, "legacy healer agent");
159
153
  await writeFile("opencode.json", OpencodeGenerator.configuration(agents), "\u{1F527}", "opencode configuration");
160
154
  initRepoDone();
161
155
  }
@@ -8,7 +8,7 @@ Parameters:
8
8
  - Seed file (optional): the seed file to use, defaults to `${seedFile}`
9
9
  - Test plan file (optional): the test plan file to write, under `specs/` folder.
10
10
 
11
- 1. Call #pwt-planner subagent with prompt:
11
+ 1. Call #playwright-test-planner subagent with prompt:
12
12
 
13
13
  <plan>
14
14
  <task-text><!-- the task --></task-text>
@@ -16,7 +16,7 @@ Parameters:
16
16
  <plan-file><!-- path to test plan file to generate --></plan-file>
17
17
  </plan>
18
18
 
19
- 2. For each test case from the test plan file (1.1, 1.2, ...), one after another, not in parallel, call #pwt-generator subagent with prompt:
19
+ 2. For each test case from the test plan file (1.1, 1.2, ...), one after another, not in parallel, call #playwright-test-generator subagent with prompt:
20
20
 
21
21
  <generate>
22
22
  <test-suite><!-- Verbatim name of the test spec group w/o ordinal like "Multiplication tests" --></test-suite>
@@ -26,6 +26,6 @@ Parameters:
26
26
  <body><!-- Test case content including steps and expectations --></body>
27
27
  </generate>
28
28
 
29
- 3. Call #pwt-healer subagent with prompt:
29
+ 3. Call #playwright-test-healer subagent with prompt:
30
30
 
31
31
  <heal>Run all tests and fix the failing ones one after another.</heal>
@@ -1,5 +1,5 @@
1
1
  ---
2
- agent: pwt-generator
2
+ agent: playwright-test-generator
3
3
  description: Generate test plan
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: pwt-generator
2
+ name: playwright-test-generator
3
3
  description: Use this agent when you need to create automated browser tests using Playwright
4
4
  model: sonnet
5
5
  color: blue
@@ -1,5 +1,5 @@
1
1
  ---
2
- agent: pwt-healer
2
+ agent: playwright-test-healer
3
3
  description: Fix tests
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: pwt-healer
2
+ name: playwright-test-healer
3
3
  description: Use this agent when you need to debug and fix failing Playwright tests
4
4
  model: sonnet
5
5
  color: red
@@ -1,5 +1,5 @@
1
1
  ---
2
- agent: pwt-planner
2
+ agent: playwright-test-planner
3
3
  description: Create test plan
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: pwt-planner
2
+ name: playwright-test-planner
3
3
  description: Use this agent when you need to create comprehensive test plan for a web application or website
4
4
  model: sonnet
5
5
  color: green
@@ -22,17 +22,11 @@ __export(expectBundle_exports, {
22
22
  EXPECTED_COLOR: () => EXPECTED_COLOR,
23
23
  INVERTED_COLOR: () => INVERTED_COLOR,
24
24
  RECEIVED_COLOR: () => RECEIVED_COLOR,
25
- asymmetricMatchers: () => asymmetricMatchers,
26
25
  expect: () => expect,
27
- matcherUtils: () => matcherUtils,
28
- mock: () => mock,
29
26
  printReceived: () => printReceived
30
27
  });
31
28
  module.exports = __toCommonJS(expectBundle_exports);
32
29
  const expect = require("./expectBundleImpl").expect;
33
- const mock = require("./expectBundleImpl").mock;
34
- const asymmetricMatchers = require("./expectBundleImpl").asymmetricMatchers;
35
- const matcherUtils = require("./expectBundleImpl").matcherUtils;
36
30
  const EXPECTED_COLOR = require("./expectBundleImpl").EXPECTED_COLOR;
37
31
  const INVERTED_COLOR = require("./expectBundleImpl").INVERTED_COLOR;
38
32
  const RECEIVED_COLOR = require("./expectBundleImpl").RECEIVED_COLOR;
@@ -44,9 +38,6 @@ const printReceived = require("./expectBundleImpl").printReceived;
44
38
  EXPECTED_COLOR,
45
39
  INVERTED_COLOR,
46
40
  RECEIVED_COLOR,
47
- asymmetricMatchers,
48
41
  expect,
49
- matcherUtils,
50
- mock,
51
42
  printReceived
52
43
  });