@bugzy-ai/bugzy 1.14.0 → 1.15.0
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.
- package/dist/cli/index.cjs +326 -471
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +326 -471
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +307 -464
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +307 -464
- package/dist/index.js.map +1 -1
- package/dist/subagents/index.cjs +165 -313
- package/dist/subagents/index.cjs.map +1 -1
- package/dist/subagents/index.js +165 -313
- package/dist/subagents/index.js.map +1 -1
- package/dist/subagents/metadata.cjs +4 -4
- package/dist/subagents/metadata.cjs.map +1 -1
- package/dist/subagents/metadata.js +4 -4
- package/dist/subagents/metadata.js.map +1 -1
- package/dist/tasks/index.cjs +81 -76
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +81 -76
- package/dist/tasks/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/init/.bugzy/runtime/templates/test-result-schema.md +2 -2
- package/templates/init/AGENTS.md +3 -3
- package/templates/init/CLAUDE.md +3 -3
- package/templates/init/tests/CLAUDE.md +193 -0
- /package/templates/init/{.bugzy/runtime → tests/docs}/test-execution-strategy.md +0 -0
- /package/templates/init/{.bugzy/runtime → tests/docs}/testing-best-practices.md +0 -0
package/dist/tasks/index.js
CHANGED
|
@@ -24,9 +24,9 @@ var TASK_SLUGS = {
|
|
|
24
24
|
var generateTestCasesTask = {
|
|
25
25
|
slug: TASK_SLUGS.GENERATE_TEST_CASES,
|
|
26
26
|
name: "Generate Test Cases",
|
|
27
|
-
description: "Generate manual test case documentation AND automated
|
|
27
|
+
description: "Generate manual test case documentation AND automated test scripts from test plan",
|
|
28
28
|
frontmatter: {
|
|
29
|
-
description: "Generate manual test case documentation AND automated
|
|
29
|
+
description: "Generate manual test case documentation AND automated test scripts from test plan",
|
|
30
30
|
"argument-hint": "--type [exploratory|functional|regression|smoke] --focus [optional-feature]"
|
|
31
31
|
},
|
|
32
32
|
steps: [
|
|
@@ -34,12 +34,12 @@ var generateTestCasesTask = {
|
|
|
34
34
|
{
|
|
35
35
|
inline: true,
|
|
36
36
|
title: "Generate Test Cases Overview",
|
|
37
|
-
content: `Generate comprehensive test artifacts including BOTH manual test case documentation AND automated
|
|
37
|
+
content: `Generate comprehensive test artifacts including BOTH manual test case documentation AND automated test scripts. Read \`./tests/CLAUDE.md\` for framework-specific conventions, directory structure, and commands.
|
|
38
38
|
|
|
39
39
|
This command generates:
|
|
40
40
|
1. **Manual Test Case Documentation** (in \`./test-cases/\`) - Human-readable test cases in markdown format
|
|
41
|
-
2. **Automated
|
|
42
|
-
3. **Page
|
|
41
|
+
2. **Automated Test Scripts** (in directory from \`./tests/CLAUDE.md\`) - Executable test scripts
|
|
42
|
+
3. **Page Objects** (in directory from \`./tests/CLAUDE.md\`) - Reusable page classes for automated tests
|
|
43
43
|
4. **Supporting Files** (fixtures, helpers, components) - As needed for test automation`
|
|
44
44
|
},
|
|
45
45
|
// Step 2: Security Notice (library)
|
|
@@ -74,9 +74,9 @@ Read the test plan from \`test-plan.md\` to understand:
|
|
|
74
74
|
|
|
75
75
|
**1.2 Check Existing Test Cases and Tests**
|
|
76
76
|
- List all files in \`./test-cases/\` to understand existing manual test coverage
|
|
77
|
-
- List
|
|
77
|
+
- List existing automated tests in the test directory (see \`./tests/CLAUDE.md\` for structure)
|
|
78
78
|
- Determine next test case ID (TC-XXX format)
|
|
79
|
-
- Identify existing
|
|
79
|
+
- Identify existing page objects (see \`./tests/CLAUDE.md\` for directory)
|
|
80
80
|
- Avoid creating overlapping test cases or duplicate automation`
|
|
81
81
|
},
|
|
82
82
|
// Step 6: Documentation Researcher (conditional library step)
|
|
@@ -185,8 +185,8 @@ Before invoking the agent, identify the test cases for the current area:
|
|
|
185
185
|
- Test type: {type}
|
|
186
186
|
- Test plan: test-plan.md
|
|
187
187
|
- Manual test cases directory: ./test-cases/
|
|
188
|
-
- Existing automated tests: ./tests/
|
|
189
|
-
- Existing
|
|
188
|
+
- Existing automated tests: [directory from ./tests/CLAUDE.md]
|
|
189
|
+
- Existing page objects: [directory from ./tests/CLAUDE.md]
|
|
190
190
|
|
|
191
191
|
**Knowledge Base Patterns (MUST APPLY):**
|
|
192
192
|
Include ALL relevant testing patterns from the knowledge base that apply to this area. For example, if the KB documents timing behaviors (animation delays, loading states), selector gotchas, or recommended assertion approaches \u2014 list them here explicitly and instruct the agent to use the specific patterns described (e.g., specific assertion methods with specific timeouts). The test-code-generator does not have access to the knowledge base, so you MUST relay the exact patterns and recommended code approaches.
|
|
@@ -197,7 +197,7 @@ Include ALL relevant testing patterns from the knowledge base that apply to this
|
|
|
197
197
|
3. Explore the feature area to understand implementation (gather selectors, URLs, flows)
|
|
198
198
|
4. Build missing Page Objects and supporting code
|
|
199
199
|
5. For each test case marked \`automated: true\`:
|
|
200
|
-
- Create automated
|
|
200
|
+
- Create automated test in the test directory (from ./tests/CLAUDE.md)
|
|
201
201
|
- Update the manual test case file to reference the automated test path
|
|
202
202
|
- Apply ALL knowledge base patterns listed above (timing, selectors, assertions)
|
|
203
203
|
6. Run and iterate on each test until it passes or fails with a product bug
|
|
@@ -228,15 +228,7 @@ Move to the next area and repeat until all areas are complete.
|
|
|
228
228
|
{
|
|
229
229
|
inline: true,
|
|
230
230
|
title: "Create Directories if Needed",
|
|
231
|
-
content: `Ensure required directories exist
|
|
232
|
-
\`\`\`bash
|
|
233
|
-
mkdir -p ./test-cases
|
|
234
|
-
mkdir -p ./tests/specs
|
|
235
|
-
mkdir -p ./tests/pages
|
|
236
|
-
mkdir -p ./tests/components
|
|
237
|
-
mkdir -p ./tests/fixtures
|
|
238
|
-
mkdir -p ./tests/helpers
|
|
239
|
-
\`\`\``
|
|
231
|
+
content: `Ensure required directories exist. Create the \`./test-cases/\` directory for manual test cases, and create the test directories specified in \`./tests/CLAUDE.md\` (test specs, page objects, components, fixtures, helpers).`
|
|
240
232
|
},
|
|
241
233
|
// Step 14: Extract Env Variables (library)
|
|
242
234
|
"extract-env-variables",
|
|
@@ -256,7 +248,7 @@ mkdir -p ./tests/helpers
|
|
|
256
248
|
- Features covered by automation
|
|
257
249
|
- Areas kept manual-only (and why)
|
|
258
250
|
3. Highlight key automated test scenarios
|
|
259
|
-
4. Share command to run automated tests
|
|
251
|
+
4. Share command to run automated tests (from \`./tests/CLAUDE.md\`)
|
|
260
252
|
5. Ask for team review and validation
|
|
261
253
|
6. Mention any areas needing exploration or clarification
|
|
262
254
|
7. Use appropriate channel and threading for the update
|
|
@@ -301,8 +293,8 @@ The team communication should include:
|
|
|
301
293
|
- Areas kept manual-only (and why)
|
|
302
294
|
|
|
303
295
|
**Next Steps:**
|
|
304
|
-
- Command to run automated tests
|
|
305
|
-
- Instructions to run specific test file
|
|
296
|
+
- Command to run automated tests (from \`./tests/CLAUDE.md\`)
|
|
297
|
+
- Instructions to run specific test file (from \`./tests/CLAUDE.md\`)
|
|
306
298
|
- Note about copying .env.testdata to .env
|
|
307
299
|
- Mention any exploration needed for edge cases
|
|
308
300
|
|
|
@@ -318,7 +310,7 @@ The team communication should include:
|
|
|
318
310
|
- **Test Independence**: Each test must be runnable in isolation and in parallel`
|
|
319
311
|
}
|
|
320
312
|
],
|
|
321
|
-
requiredSubagents: ["
|
|
313
|
+
requiredSubagents: ["browser-automation", "test-code-generator"],
|
|
322
314
|
optionalSubagents: ["documentation-researcher", "team-communicator"],
|
|
323
315
|
dependentTasks: []
|
|
324
316
|
};
|
|
@@ -517,7 +509,7 @@ The team communication should include:
|
|
|
517
509
|
- Instructions for the user to fill in actual values in .env.testdata before running tests`
|
|
518
510
|
}
|
|
519
511
|
],
|
|
520
|
-
requiredSubagents: ["
|
|
512
|
+
requiredSubagents: ["browser-automation"],
|
|
521
513
|
optionalSubagents: ["documentation-researcher", "team-communicator"],
|
|
522
514
|
dependentTasks: []
|
|
523
515
|
};
|
|
@@ -601,7 +593,28 @@ The handler file contains all necessary processing logic for the detected intent
|
|
|
601
593
|
- Response guidelines
|
|
602
594
|
- Memory update instructions`
|
|
603
595
|
},
|
|
604
|
-
// Step 6:
|
|
596
|
+
// Step 6: Post Response via Team Communicator
|
|
597
|
+
{
|
|
598
|
+
inline: true,
|
|
599
|
+
title: "Post Response to Team",
|
|
600
|
+
content: `## Post Response to the Team
|
|
601
|
+
|
|
602
|
+
After processing the message through the handler and composing your response:
|
|
603
|
+
|
|
604
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to post the response back to the team.
|
|
605
|
+
|
|
606
|
+
**Context to include in the delegation:**
|
|
607
|
+
- The original message/question from the team member
|
|
608
|
+
- Your composed response with all gathered data
|
|
609
|
+
- Whether this should be a thread reply (if the original message was in a thread) or a new message
|
|
610
|
+
- The relevant channel (from project-context.md)
|
|
611
|
+
|
|
612
|
+
**Do NOT:**
|
|
613
|
+
- Skip posting and just display the response as text output
|
|
614
|
+
- Ask the user whether to post \u2014 the message came from the team, the response goes back to the team
|
|
615
|
+
- Compose a draft without sending it`
|
|
616
|
+
},
|
|
617
|
+
// Step 7: Clarification Protocol (for ambiguous intents)
|
|
605
618
|
"clarification-protocol",
|
|
606
619
|
// Step 8: Knowledge Base Update (library)
|
|
607
620
|
"update-knowledge-base",
|
|
@@ -1018,7 +1031,7 @@ After queuing and notifying, the task is DONE. Do NOT:
|
|
|
1018
1031
|
- Execute /verify-changes, /run-tests, /generate-test-cases directly
|
|
1019
1032
|
- Wait for team response (messaging infrastructure handles that)
|
|
1020
1033
|
- Create or modify test files
|
|
1021
|
-
- Run
|
|
1034
|
+
- Run automated tests
|
|
1022
1035
|
|
|
1023
1036
|
#### 5.6 Update Event Processor Memory
|
|
1024
1037
|
If new patterns discovered, append to \`.bugzy/runtime/memory/event-processor.md\`:
|
|
@@ -1125,10 +1138,10 @@ Create files if they don't exist:
|
|
|
1125
1138
|
var runTestsTask = {
|
|
1126
1139
|
slug: TASK_SLUGS.RUN_TESTS,
|
|
1127
1140
|
name: "Run Tests",
|
|
1128
|
-
description: "Execute automated
|
|
1141
|
+
description: "Execute automated tests, analyze failures, and fix test issues automatically",
|
|
1129
1142
|
frontmatter: {
|
|
1130
|
-
description: "Execute automated
|
|
1131
|
-
"argument-hint": '[file-pattern|tag|all] (e.g., "auth", "@smoke",
|
|
1143
|
+
description: "Execute automated tests, analyze failures, and fix test issues automatically",
|
|
1144
|
+
"argument-hint": '[file-pattern|tag|all] (e.g., "auth", "@smoke", or a specific test file path)'
|
|
1132
1145
|
},
|
|
1133
1146
|
steps: [
|
|
1134
1147
|
// Step 1: Overview (inline)
|
|
@@ -1137,7 +1150,7 @@ var runTestsTask = {
|
|
|
1137
1150
|
title: "Run Tests Overview",
|
|
1138
1151
|
content: `# Run Tests Command
|
|
1139
1152
|
|
|
1140
|
-
Execute automated
|
|
1153
|
+
Execute automated tests, analyze failures using JSON reports, automatically fix test issues, and log product bugs. Read \`./tests/CLAUDE.md\` for framework-specific conventions and commands.`
|
|
1141
1154
|
},
|
|
1142
1155
|
// Step 2: Security Notice (library)
|
|
1143
1156
|
"security-notice",
|
|
@@ -1150,9 +1163,9 @@ Execute automated Playwright tests, analyze failures using JSON reports, automat
|
|
|
1150
1163
|
**Parse Arguments:**
|
|
1151
1164
|
Extract the following from arguments:
|
|
1152
1165
|
- **selector**: Test selection criteria
|
|
1153
|
-
- File pattern: "auth" \u2192
|
|
1154
|
-
- Tag: "@smoke" \u2192 runs tests with
|
|
1155
|
-
- Specific file:
|
|
1166
|
+
- File pattern: "auth" \u2192 find matching test files (see \`./tests/CLAUDE.md\` for directory structure)
|
|
1167
|
+
- Tag: "@smoke" \u2192 runs tests with tag annotation
|
|
1168
|
+
- Specific file: path to a specific test file
|
|
1156
1169
|
- All tests: "all" or "" \u2192 runs entire test suite`
|
|
1157
1170
|
},
|
|
1158
1171
|
// Step 4: Load Project Context (library)
|
|
@@ -1168,34 +1181,26 @@ Extract the following from arguments:
|
|
|
1168
1181
|
inline: true,
|
|
1169
1182
|
title: "Identify Automated Tests to Run",
|
|
1170
1183
|
content: `#### Understand Test Selection
|
|
1184
|
+
|
|
1185
|
+
Read \`./tests/CLAUDE.md\` for the test directory structure, file patterns, and execution commands.
|
|
1186
|
+
|
|
1171
1187
|
Parse the selector argument to determine which tests to run:
|
|
1172
1188
|
|
|
1173
1189
|
**File Pattern** (e.g., "auth", "login"):
|
|
1174
|
-
- Find matching test files
|
|
1190
|
+
- Find matching test files in the test directory specified by \`./tests/CLAUDE.md\`
|
|
1175
1191
|
- Example: "auth" \u2192 finds all test files with "auth" in the name
|
|
1176
1192
|
|
|
1177
1193
|
**Tag** (e.g., "@smoke", "@regression"):
|
|
1178
|
-
- Run tests with specific
|
|
1179
|
-
- Use Playwright's \`--grep\` option
|
|
1194
|
+
- Run tests with specific tag annotation using the tag command from \`./tests/CLAUDE.md\`
|
|
1180
1195
|
|
|
1181
|
-
**Specific File
|
|
1182
|
-
- Run that specific test file
|
|
1196
|
+
**Specific File**:
|
|
1197
|
+
- Run that specific test file using the single-file command from \`./tests/CLAUDE.md\`
|
|
1183
1198
|
|
|
1184
1199
|
**All Tests** ("all" or no selector):
|
|
1185
|
-
- Run entire test suite
|
|
1200
|
+
- Run entire test suite using the run-all command from \`./tests/CLAUDE.md\`
|
|
1186
1201
|
|
|
1187
1202
|
#### Find Matching Test Files
|
|
1188
|
-
Use glob patterns to find test files
|
|
1189
|
-
\`\`\`bash
|
|
1190
|
-
# For file pattern
|
|
1191
|
-
ls tests/specs/**/*[pattern]*.spec.ts
|
|
1192
|
-
|
|
1193
|
-
# For specific file
|
|
1194
|
-
ls tests/specs/auth/login.spec.ts
|
|
1195
|
-
|
|
1196
|
-
# For all tests
|
|
1197
|
-
ls tests/specs/**/*.spec.ts
|
|
1198
|
-
\`\`\`
|
|
1203
|
+
Use glob patterns to find test files in the directory structure defined by \`./tests/CLAUDE.md\`.
|
|
1199
1204
|
|
|
1200
1205
|
#### Validate Test Files Exist
|
|
1201
1206
|
Check that at least one test file was found:
|
|
@@ -1209,7 +1214,7 @@ Before running tests, confirm the selection with the user if ambiguous:
|
|
|
1209
1214
|
- **No selector** (all tests): Confirm running full suite before executing`
|
|
1210
1215
|
},
|
|
1211
1216
|
// Step 7-10: Test Execution (library steps)
|
|
1212
|
-
"run-
|
|
1217
|
+
"run-tests",
|
|
1213
1218
|
"parse-test-results",
|
|
1214
1219
|
"triage-failures",
|
|
1215
1220
|
"fix-test-issues",
|
|
@@ -1235,8 +1240,8 @@ If no test cases match the selection criteria:
|
|
|
1235
1240
|
2. List available test cases or suggest running \`/generate-test-cases\` first
|
|
1236
1241
|
3. Provide examples of valid selection criteria
|
|
1237
1242
|
|
|
1238
|
-
#### If
|
|
1239
|
-
If the
|
|
1243
|
+
#### If Browser Automation Agent Fails
|
|
1244
|
+
If the browser-automation agent encounters issues:
|
|
1240
1245
|
1. Report the specific error
|
|
1241
1246
|
2. Suggest troubleshooting steps
|
|
1242
1247
|
3. Offer to run tests individually if batch execution failed
|
|
@@ -1250,18 +1255,18 @@ If selected test cases have formatting issues:
|
|
|
1250
1255
|
### Important Notes
|
|
1251
1256
|
|
|
1252
1257
|
**Test Selection Strategy**:
|
|
1253
|
-
- **Always read**
|
|
1258
|
+
- **Always read** \`./tests/docs/test-execution-strategy.md\` before selecting tests
|
|
1254
1259
|
- Default to \`@smoke\` tests for fast validation unless user explicitly requests otherwise
|
|
1255
1260
|
- Smoke tests provide 100% manual test case coverage with zero redundancy (~2-5 min)
|
|
1256
1261
|
- Full regression includes intentional redundancy for diagnostic value (~10-15 min)
|
|
1257
1262
|
- Use context keywords from user request to choose appropriate tier
|
|
1258
1263
|
|
|
1259
1264
|
**Test Execution**:
|
|
1260
|
-
- Automated
|
|
1265
|
+
- Automated tests are executed via bash command, not through agents
|
|
1261
1266
|
- Test execution time varies by tier (see strategy document for details)
|
|
1262
1267
|
- JSON reports provide structured test results for analysis
|
|
1263
|
-
-
|
|
1264
|
-
- Test artifacts are stored in
|
|
1268
|
+
- Test framework may capture traces, screenshots, and videos on failures (see \`./tests/CLAUDE.md\`)
|
|
1269
|
+
- Test artifacts are stored as defined in \`./tests/CLAUDE.md\`
|
|
1265
1270
|
|
|
1266
1271
|
**Failure Handling**:
|
|
1267
1272
|
- Test failures are automatically triaged (product bugs vs test issues)
|
|
@@ -1271,11 +1276,11 @@ If selected test cases have formatting issues:
|
|
|
1271
1276
|
- Critical failures trigger immediate team notification
|
|
1272
1277
|
|
|
1273
1278
|
**Related Documentation**:
|
|
1274
|
-
-
|
|
1275
|
-
-
|
|
1279
|
+
- \`./tests/docs/test-execution-strategy.md\` - When and why to run specific tests
|
|
1280
|
+
- \`./tests/docs/testing-best-practices.md\` - How to write tests (patterns and anti-patterns)`
|
|
1276
1281
|
}
|
|
1277
1282
|
],
|
|
1278
|
-
requiredSubagents: ["
|
|
1283
|
+
requiredSubagents: ["browser-automation", "test-debugger-fixer"],
|
|
1279
1284
|
optionalSubagents: ["issue-tracker", "team-communicator"],
|
|
1280
1285
|
dependentTasks: []
|
|
1281
1286
|
};
|
|
@@ -1299,7 +1304,7 @@ var verifyChangesTask = {
|
|
|
1299
1304
|
## Overview
|
|
1300
1305
|
|
|
1301
1306
|
This task performs comprehensive change verification with:
|
|
1302
|
-
- **Automated testing**: Execute
|
|
1307
|
+
- **Automated testing**: Execute automated tests with automatic triage and fixing
|
|
1303
1308
|
- **Manual verification checklists**: Generate role-specific checklists for non-automatable scenarios
|
|
1304
1309
|
- **Multi-trigger support**: Works from manual CLI, Slack messages, GitHub PRs, and CI/CD
|
|
1305
1310
|
- **Smart output routing**: Results formatted and delivered to the appropriate channel`
|
|
@@ -1530,11 +1535,11 @@ Analyze the change description to identify affected feature areas:
|
|
|
1530
1535
|
|
|
1531
1536
|
| Description Keywords | Inferred Test Scope | Example |
|
|
1532
1537
|
|---------------------|-------------------|---------|
|
|
1533
|
-
| "login", "authentication", "sign in/up" |
|
|
1534
|
-
| "checkout", "payment", "purchase" |
|
|
1535
|
-
| "cart", "shopping cart", "add to cart" |
|
|
1538
|
+
| "login", "authentication", "sign in/up" | Auth test suite | "Fix login page validation" -> Auth tests |
|
|
1539
|
+
| "checkout", "payment", "purchase" | Checkout test suite | "Optimize checkout flow" -> Checkout tests |
|
|
1540
|
+
| "cart", "shopping cart", "add to cart" | Cart test suite | "Update cart calculations" -> Cart tests |
|
|
1536
1541
|
| "API", "endpoint", "backend" | API test suites | "Add new user API endpoint" -> User API tests |
|
|
1537
|
-
| "profile", "account", "settings" |
|
|
1542
|
+
| "profile", "account", "settings" | Profile/settings test suite | "Profile page redesign" -> Profile tests |
|
|
1538
1543
|
|
|
1539
1544
|
**Inference strategy:**
|
|
1540
1545
|
1. **Extract feature keywords** from PR title and description
|
|
@@ -1609,13 +1614,13 @@ If the Jira issue or PR references test accounts/data (e.g., TEST_PREMIUM_USER,
|
|
|
1609
1614
|
|
|
1610
1615
|
**CRITICAL**: Never conclude "manual verification required" or "BLOCKED" solely because test data is missing. Always create the test artifacts first.
|
|
1611
1616
|
|
|
1612
|
-
### Generate
|
|
1617
|
+
### Generate Automated Test Specs
|
|
1613
1618
|
|
|
1614
1619
|
{{INVOKE_TEST_CODE_GENERATOR}} to create automated test specs:
|
|
1615
1620
|
- Read the manual test cases you just created
|
|
1616
1621
|
- Explore the feature in the browser to discover selectors and flows
|
|
1617
|
-
- Create
|
|
1618
|
-
- Create test specs in
|
|
1622
|
+
- Create page objects in the directory specified by \`./tests/CLAUDE.md\`
|
|
1623
|
+
- Create test specs in the directory specified by \`./tests/CLAUDE.md\`
|
|
1619
1624
|
- Run each new test to verify it passes
|
|
1620
1625
|
- Update the manual test case with \`automated_test\` reference
|
|
1621
1626
|
|
|
@@ -1625,7 +1630,7 @@ Skip this step \u2014 proceed directly to running existing tests.`,
|
|
|
1625
1630
|
conditionalOnSubagent: "test-code-generator"
|
|
1626
1631
|
},
|
|
1627
1632
|
// Step 8-11: Test Execution (library steps)
|
|
1628
|
-
"run-
|
|
1633
|
+
"run-tests",
|
|
1629
1634
|
"parse-test-results",
|
|
1630
1635
|
"triage-failures",
|
|
1631
1636
|
"fix-test-issues",
|
|
@@ -1814,7 +1819,7 @@ Post PR comment if GitHub context available.`,
|
|
|
1814
1819
|
- Recommend: Check test configuration and prerequisites
|
|
1815
1820
|
|
|
1816
1821
|
**If test execution fails:**
|
|
1817
|
-
- Report specific error (
|
|
1822
|
+
- Report specific error (test framework not installed, env vars missing)
|
|
1818
1823
|
- Suggest troubleshooting steps
|
|
1819
1824
|
- Don't proceed with triage if tests didn't run
|
|
1820
1825
|
|
|
@@ -1844,7 +1849,7 @@ A successful verification includes:
|
|
|
1844
1849
|
10. Clear recommendation provided (merge / review / block)`
|
|
1845
1850
|
}
|
|
1846
1851
|
],
|
|
1847
|
-
requiredSubagents: ["
|
|
1852
|
+
requiredSubagents: ["browser-automation", "test-debugger-fixer"],
|
|
1848
1853
|
optionalSubagents: ["documentation-researcher", "issue-tracker", "team-communicator", "changelog-historian", "test-code-generator"],
|
|
1849
1854
|
dependentTasks: []
|
|
1850
1855
|
};
|
|
@@ -1893,7 +1898,7 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
1893
1898
|
},
|
|
1894
1899
|
// Phase 2: Exploration Protocol
|
|
1895
1900
|
"exploration-protocol",
|
|
1896
|
-
// Execute exploration via
|
|
1901
|
+
// Execute exploration via browser-automation
|
|
1897
1902
|
"create-exploration-test-case",
|
|
1898
1903
|
"run-exploration",
|
|
1899
1904
|
"process-exploration-results",
|
|
@@ -1904,7 +1909,7 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
1904
1909
|
"generate-test-cases",
|
|
1905
1910
|
"automate-test-cases",
|
|
1906
1911
|
// Phase 5: Test Execution
|
|
1907
|
-
"run-
|
|
1912
|
+
"run-tests",
|
|
1908
1913
|
"parse-test-results",
|
|
1909
1914
|
// Phase 6: Triage and Fix (NEW - was missing from full-test-coverage)
|
|
1910
1915
|
"triage-failures",
|
|
@@ -1921,7 +1926,7 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
1921
1926
|
},
|
|
1922
1927
|
"generate-final-report"
|
|
1923
1928
|
],
|
|
1924
|
-
requiredSubagents: ["
|
|
1929
|
+
requiredSubagents: ["browser-automation", "test-code-generator", "test-debugger-fixer"],
|
|
1925
1930
|
optionalSubagents: ["documentation-researcher", "team-communicator", "issue-tracker"],
|
|
1926
1931
|
dependentTasks: ["run-tests", "generate-test-cases"]
|
|
1927
1932
|
};
|
|
@@ -1940,7 +1945,7 @@ var exploreApplicationTask = {
|
|
|
1940
1945
|
{
|
|
1941
1946
|
inline: true,
|
|
1942
1947
|
title: "Explore Application Overview",
|
|
1943
|
-
content: `Discover actual UI elements, workflows, and behaviors using the
|
|
1948
|
+
content: `Discover actual UI elements, workflows, and behaviors using the browser-automation agent. Updates test plan and project documentation with findings.`
|
|
1944
1949
|
},
|
|
1945
1950
|
// Step 2: Security Notice (from library)
|
|
1946
1951
|
"security-notice",
|
|
@@ -1987,7 +1992,7 @@ var exploreApplicationTask = {
|
|
|
1987
1992
|
"cleanup-temp-files",
|
|
1988
1993
|
"update-knowledge-base"
|
|
1989
1994
|
],
|
|
1990
|
-
requiredSubagents: ["
|
|
1995
|
+
requiredSubagents: ["browser-automation"],
|
|
1991
1996
|
optionalSubagents: ["team-communicator"],
|
|
1992
1997
|
dependentTasks: []
|
|
1993
1998
|
};
|