testeiya 0.3.9 → 0.3.14
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/README.md +353 -27
- package/dist/prompt/index.js +6 -2
- package/dist/prompt/index.js.map +1 -1
- package/dist/prompt/print.js +8 -0
- package/dist/prompt/print.js.map +1 -1
- package/dist/prompt/system-prompt.js +14 -4
- package/dist/prompt/system-prompt.js.map +1 -1
- package/dist/prompt/testomatio.js +3 -3
- package/dist/prompt/tools.js +28 -7
- package/dist/prompt/tools.js.map +1 -1
- package/dist/src/args.js +198 -46
- package/dist/src/args.js.map +1 -1
- package/dist/src/cli.js +64 -20
- package/dist/src/cli.js.map +1 -1
- package/dist/src/doctor.js +171 -0
- package/dist/src/doctor.js.map +1 -0
- package/dist/src/env.js +39 -5
- package/dist/src/env.js.map +1 -1
- package/dist/src/mcp.js +3 -3
- package/dist/src/mcp.js.map +1 -1
- package/dist/src/model.js +15 -10
- package/dist/src/model.js.map +1 -1
- package/dist/src/models.js +38 -0
- package/dist/src/models.js.map +1 -0
- package/dist/src/output.js +216 -0
- package/dist/src/output.js.map +1 -0
- package/dist/src/run.js +141 -27
- package/dist/src/run.js.map +1 -1
- package/dist/src/session.js +46 -25
- package/dist/src/session.js.map +1 -1
- package/dist/src/sessions.js +72 -0
- package/dist/src/sessions.js.map +1 -0
- package/dist/src/skills.js +130 -0
- package/dist/src/skills.js.map +1 -0
- package/package.json +7 -3
- package/prompt/index.ts +11 -2
- package/prompt/print.ts +9 -0
- package/prompt/system-prompt.ts +18 -4
- package/prompt/testomatio.ts +3 -3
- package/prompt/tools.ts +30 -7
- package/skills/codeceptjs/ci-fix-tests/SKILL.md +119 -0
- package/skills/codeceptjs/codeceptjs-auth/SKILL.md +141 -0
- package/skills/codeceptjs/codeceptjs-exploration/SKILL.md +100 -0
- package/skills/codeceptjs/codeceptjs-fundamentals/SKILL.md +196 -0
- package/skills/codeceptjs/codeceptjs-run-analysis/SKILL.md +83 -0
- package/skills/codeceptjs/debugging-codeceptjs-tests/SKILL.md +126 -0
- package/skills/codeceptjs/migrate-codeceptjs-4/SKILL.md +109 -0
- package/skills/codeceptjs/migrate-cypress-to-codeceptjs/SKILL.md +295 -0
- package/skills/codeceptjs/migrate-protractor-to-codeceptjs/SKILL.md +339 -0
- package/skills/codeceptjs/migrate-selenium-java-to-codeceptjs/SKILL.md +459 -0
- package/skills/codeceptjs/migrate-testcafe-to-codeceptjs/SKILL.md +338 -0
- package/skills/codeceptjs/refactoring-codeceptjs-tests/SKILL.md +78 -0
- package/skills/codeceptjs/writing-codeceptjs-tests/SKILL.md +102 -0
- package/skills/playwright/playwright-best-practices/SKILL.md +303 -0
- package/skills/playwright/playwright-best-practices/advanced/authentication-flows.md +360 -0
- package/skills/playwright/playwright-best-practices/advanced/authentication.md +871 -0
- package/skills/playwright/playwright-best-practices/advanced/clock-mocking.md +364 -0
- package/skills/playwright/playwright-best-practices/advanced/mobile-testing.md +409 -0
- package/skills/playwright/playwright-best-practices/advanced/multi-context.md +288 -0
- package/skills/playwright/playwright-best-practices/advanced/multi-user.md +393 -0
- package/skills/playwright/playwright-best-practices/advanced/network-advanced.md +452 -0
- package/skills/playwright/playwright-best-practices/advanced/third-party.md +464 -0
- package/skills/playwright/playwright-best-practices/architecture/pom-vs-fixtures.md +363 -0
- package/skills/playwright/playwright-best-practices/architecture/test-architecture.md +369 -0
- package/skills/playwright/playwright-best-practices/architecture/when-to-mock.md +383 -0
- package/skills/playwright/playwright-best-practices/browser-apis/browser-apis.md +391 -0
- package/skills/playwright/playwright-best-practices/browser-apis/iframes.md +403 -0
- package/skills/playwright/playwright-best-practices/browser-apis/service-workers.md +504 -0
- package/skills/playwright/playwright-best-practices/browser-apis/websockets.md +403 -0
- package/skills/playwright/playwright-best-practices/core/annotations.md +424 -0
- package/skills/playwright/playwright-best-practices/core/assertions-waiting.md +361 -0
- package/skills/playwright/playwright-best-practices/core/configuration.md +452 -0
- package/skills/playwright/playwright-best-practices/core/fixtures-hooks.md +417 -0
- package/skills/playwright/playwright-best-practices/core/global-setup.md +434 -0
- package/skills/playwright/playwright-best-practices/core/locators.md +242 -0
- package/skills/playwright/playwright-best-practices/core/page-object-model.md +315 -0
- package/skills/playwright/playwright-best-practices/core/projects-dependencies.md +453 -0
- package/skills/playwright/playwright-best-practices/core/test-data.md +492 -0
- package/skills/playwright/playwright-best-practices/core/test-suite-structure.md +361 -0
- package/skills/playwright/playwright-best-practices/core/test-tags.md +298 -0
- package/skills/playwright/playwright-best-practices/debugging/console-errors.md +420 -0
- package/skills/playwright/playwright-best-practices/debugging/debugging.md +504 -0
- package/skills/playwright/playwright-best-practices/debugging/error-testing.md +360 -0
- package/skills/playwright/playwright-best-practices/debugging/flaky-tests.md +496 -0
- package/skills/playwright/playwright-best-practices/frameworks/angular.md +530 -0
- package/skills/playwright/playwright-best-practices/frameworks/nextjs.md +469 -0
- package/skills/playwright/playwright-best-practices/frameworks/react.md +531 -0
- package/skills/playwright/playwright-best-practices/frameworks/vue.md +574 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/ci-cd.md +468 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/docker.md +283 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/github-actions.md +546 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/gitlab.md +397 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/other-providers.md +521 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/parallel-sharding.md +371 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/performance.md +453 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/reporting.md +424 -0
- package/skills/playwright/playwright-best-practices/infrastructure-ci-cd/test-coverage.md +497 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/accessibility.md +359 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/api-testing.md +719 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/browser-extensions.md +506 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/canvas-webgl.md +493 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/component-testing.md +500 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/drag-drop.md +576 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/electron.md +509 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/file-operations.md +377 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/file-upload-download.md +562 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/forms-validation.md +561 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/graphql-testing.md +331 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/i18n.md +508 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/performance-testing.md +476 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/security-testing.md +430 -0
- package/skills/playwright/playwright-best-practices/testing-patterns/visual-regression.md +634 -0
- package/skills/playwright/playwright-cli/SKILL.md +420 -0
- package/skills/playwright/playwright-cli/references/element-attributes.md +23 -0
- package/skills/playwright/playwright-cli/references/playwright-tests.md +39 -0
- package/skills/playwright/playwright-cli/references/request-mocking.md +87 -0
- package/skills/playwright/playwright-cli/references/running-code.md +241 -0
- package/skills/playwright/playwright-cli/references/session-management.md +225 -0
- package/skills/playwright/playwright-cli/references/storage-state.md +275 -0
- package/skills/playwright/playwright-cli/references/test-generation.md +433 -0
- package/skills/playwright/playwright-cli/references/tracing.md +139 -0
- package/skills/playwright/playwright-cli/references/video-recording.md +143 -0
- package/skills/skills.lock.json +41 -37
- package/skills/skills.yaml +1 -0
- package/skills/testomatio/explorbot/explorbot-fundamentals/SKILL.md +76 -0
- package/skills/testomatio/explorbot/explorbot-fundamentals/references/no-install.md +36 -0
- package/skills/testomatio/explorbot/explorbot-plan/SKILL.md +108 -0
- package/skills/testomatio/explorbot/explorbot-setup/SKILL.md +86 -0
- package/skills/testomatio/explorbot/prima/SKILL.md +87 -0
- package/skills/testomatio/qa-process/qa-explain-behavior/SKILL.md +111 -0
- package/skills/testomatio/qa-process/qa-explain-behavior/references/answer-shapes.md +116 -0
- package/skills/testomatio/qa-process/qa-explain-behavior/references/examples.md +157 -0
- package/skills/testomatio/qa-process/qa-lead-strategy-advisor/SKILL.md +91 -0
- package/skills/testomatio/qa-process/qa-lead-strategy-advisor/references/output-format.md +71 -0
- package/skills/testomatio/qa-process/testing-workflow/SKILL.md +227 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/CLAUDE.md +56 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/SKILL.md +242 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/references/CODECEPTJS_BEST_PRACTICES.md +182 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/references/FINAL_SUMMARY_TEMPLATE.md +22 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/references/PLAYWRIGHT_BEST_PRACTICES.md +90 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/references/POM_BEST_PRACTICES.md +53 -0
- package/skills/testomatio/test-automation/automate-manual-test-cases/references/TEST_DATA_MANAGEMENT.md +52 -0
- package/skills/testomatio/test-automation/debug-fix-failed-flaky-autotests/SKILL.md +107 -0
- package/skills/testomatio/test-automation/debug-fix-failed-flaky-autotests/references/DEBUGGING_QUICK_REFERENCE.md +113 -0
- package/skills/testomatio/test-automation/qa-automation-test-consolidation/SKILL.md +29 -0
- package/skills/testomatio/test-automation/qa-data-seeder/SKILL.md +83 -0
- package/skills/testomatio/test-automation/run-tests-with-testomatio-reporter/SKILL.md +153 -0
- package/skills/testomatio/test-automation/setup-change-aware-pr-testing/SKILL.md +190 -0
- package/skills/testomatio/test-automation/setup-ci-automation/SKILL.md +76 -0
- package/skills/testomatio/test-automation/testomat-allure-adapter/SKILL.md +289 -0
- package/skills/testomatio/test-management/detect-duplicate-test-cases/SKILL.md +86 -0
- package/skills/testomatio/test-management/detect-duplicate-test-cases/references/DUPLICATE_INSTRUCTIONS.md +54 -0
- package/skills/testomatio/test-management/improve-test-cases/SKILL.md +114 -0
- package/skills/testomatio/test-management/improve-test-cases/references/TESTOMAT_MARKDOWN_EXAMPLE.md +66 -0
- package/skills/testomatio/test-management/pull-request-diff-analyzer/SKILL.md +141 -0
- package/skills/testomatio/test-management/qa-e2e-tests-reporting/SKILL.md +354 -0
- package/skills/testomatio/test-management/qa-e2e-tests-reporting/references/TESTOMATIO_ARTIFACTS.md +82 -0
- package/skills/testomatio/test-management/qa-e2e-tests-reporting/references/TESTOMATIO_HTML_REPORT.md +37 -0
- package/skills/testomatio/test-management/qa-e2e-tests-reporting/references/TESTOMATIO_REPORTERS_CONFIG.md +118 -0
- package/skills/testomatio/test-management/qa-pr-requirements-analyzer/SKILL.md +149 -0
- package/skills/testomatio/test-management/qa-pr-requirements-analyzer/references/summary-example.md +54 -0
- package/skills/testomatio/test-management/qa-requirement-reviewer/SKILL.md +126 -0
- package/skills/testomatio/test-management/qa-requirement-reviewer/references/requirements_reviewer_examples.md +128 -0
- package/skills/testomatio/test-management/qa-split-testing-levels-pyramid/SKILL.md +55 -0
- package/skills/testomatio/test-management/qa-sprint-report-by-testomatio/SKILL.md +220 -0
- package/skills/testomatio/test-management/qa-sprint-report-by-testomatio/references/qa-sprint-report.md +126 -0
- package/skills/testomatio/test-management/qa-test-code-coverage/SKILL.md +174 -0
- package/skills/testomatio/test-management/qa-test-code-coverage/references/COVERAGE_FILE_FORMAT.md +138 -0
- package/skills/testomatio/test-management/qa-test-code-coverage/references/E2E_FRAMEWORKS.md +65 -0
- package/skills/testomatio/test-management/qa-test-code-coverage/scripts/check-coverage.mjs +40 -0
- package/skills/testomatio/test-management/qa-thinking/SKILL.md +36 -0
- package/skills/testomatio/test-management/qa-write-test-cases/SKILL.md +267 -0
- package/skills/testomatio/test-management/qa-write-test-cases/references/test-case-format.md +387 -0
- package/skills/testomatio/test-management/qa-write-test-cases/references/testomat-tms-guide.md +72 -0
- package/skills/testomatio/test-management/qa-write-test-cases/references/writing-rule.md +159 -0
- package/skills/testomatio/test-management/scan-automation-project/SKILL.md +152 -0
- package/skills/testomatio/test-management/sync-test-cases-with-tms/SKILL.md +107 -0
- package/skills/testomatio/test-management/sync-test-cases-with-tms/references/TESTOMATIO_CLI.md +140 -0
- package/skills/testomatio/test-management/testomatio-mcp/SKILL.md +195 -0
- package/skills/testomatio/test-management/testomatio-mcp/references/MCP_SETUP.md +177 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Tracing
|
|
2
|
+
|
|
3
|
+
Capture detailed execution traces for debugging and analysis. Traces include DOM snapshots, screenshots, network activity, and console logs.
|
|
4
|
+
|
|
5
|
+
## Basic Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Start trace recording
|
|
9
|
+
playwright-cli tracing-start
|
|
10
|
+
|
|
11
|
+
# Perform actions
|
|
12
|
+
playwright-cli open https://example.com
|
|
13
|
+
playwright-cli click e1
|
|
14
|
+
playwright-cli fill e2 "test"
|
|
15
|
+
|
|
16
|
+
# Stop trace recording
|
|
17
|
+
playwright-cli tracing-stop
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Trace Output Files
|
|
21
|
+
|
|
22
|
+
When you start tracing, Playwright creates a `traces/` directory with several files:
|
|
23
|
+
|
|
24
|
+
### `trace-{timestamp}.trace`
|
|
25
|
+
|
|
26
|
+
**Action log** - The main trace file containing:
|
|
27
|
+
- Every action performed (clicks, fills, navigations)
|
|
28
|
+
- DOM snapshots before and after each action
|
|
29
|
+
- Screenshots at each step
|
|
30
|
+
- Timing information
|
|
31
|
+
- Console messages
|
|
32
|
+
- Source locations
|
|
33
|
+
|
|
34
|
+
### `trace-{timestamp}.network`
|
|
35
|
+
|
|
36
|
+
**Network log** - Complete network activity:
|
|
37
|
+
- All HTTP requests and responses
|
|
38
|
+
- Request headers and bodies
|
|
39
|
+
- Response headers and bodies
|
|
40
|
+
- Timing (DNS, connect, TLS, TTFB, download)
|
|
41
|
+
- Resource sizes
|
|
42
|
+
- Failed requests and errors
|
|
43
|
+
|
|
44
|
+
### `resources/`
|
|
45
|
+
|
|
46
|
+
**Resources directory** - Cached resources:
|
|
47
|
+
- Images, fonts, stylesheets, scripts
|
|
48
|
+
- Response bodies for replay
|
|
49
|
+
- Assets needed to reconstruct page state
|
|
50
|
+
|
|
51
|
+
## What Traces Capture
|
|
52
|
+
|
|
53
|
+
| Category | Details |
|
|
54
|
+
|----------|---------|
|
|
55
|
+
| **Actions** | Clicks, fills, hovers, keyboard input, navigations |
|
|
56
|
+
| **DOM** | Full DOM snapshot before/after each action |
|
|
57
|
+
| **Screenshots** | Visual state at each step |
|
|
58
|
+
| **Network** | All requests, responses, headers, bodies, timing |
|
|
59
|
+
| **Console** | All console.log, warn, error messages |
|
|
60
|
+
| **Timing** | Precise timing for each operation |
|
|
61
|
+
|
|
62
|
+
## Use Cases
|
|
63
|
+
|
|
64
|
+
### Debugging Failed Actions
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
playwright-cli tracing-start
|
|
68
|
+
playwright-cli open https://app.example.com
|
|
69
|
+
|
|
70
|
+
# This click fails - why?
|
|
71
|
+
playwright-cli click e5
|
|
72
|
+
|
|
73
|
+
playwright-cli tracing-stop
|
|
74
|
+
# Open trace to see DOM state when click was attempted
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Analyzing Performance
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
playwright-cli tracing-start
|
|
81
|
+
playwright-cli open https://slow-site.com
|
|
82
|
+
playwright-cli tracing-stop
|
|
83
|
+
|
|
84
|
+
# View network waterfall to identify slow resources
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Capturing Evidence
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Record a complete user flow for documentation
|
|
91
|
+
playwright-cli tracing-start
|
|
92
|
+
|
|
93
|
+
playwright-cli open https://app.example.com/checkout
|
|
94
|
+
playwright-cli fill e1 "4111111111111111"
|
|
95
|
+
playwright-cli fill e2 "12/25"
|
|
96
|
+
playwright-cli fill e3 "123"
|
|
97
|
+
playwright-cli click e4
|
|
98
|
+
|
|
99
|
+
playwright-cli tracing-stop
|
|
100
|
+
# Trace shows exact sequence of events
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Trace vs Video vs Screenshot
|
|
104
|
+
|
|
105
|
+
| Feature | Trace | Video | Screenshot |
|
|
106
|
+
|---------|-------|-------|------------|
|
|
107
|
+
| **Format** | .trace file | .webm video | .png/.jpeg image |
|
|
108
|
+
| **DOM inspection** | Yes | No | No |
|
|
109
|
+
| **Network details** | Yes | No | No |
|
|
110
|
+
| **Step-by-step replay** | Yes | Continuous | Single frame |
|
|
111
|
+
| **File size** | Medium | Large | Small |
|
|
112
|
+
| **Best for** | Debugging | Demos | Quick capture |
|
|
113
|
+
|
|
114
|
+
## Best Practices
|
|
115
|
+
|
|
116
|
+
### 1. Start Tracing Before the Problem
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
# Trace the entire flow, not just the failing step
|
|
120
|
+
playwright-cli tracing-start
|
|
121
|
+
playwright-cli open https://example.com
|
|
122
|
+
# ... all steps leading to the issue ...
|
|
123
|
+
playwright-cli tracing-stop
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### 2. Clean Up Old Traces
|
|
127
|
+
|
|
128
|
+
Traces can consume significant disk space:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
# Remove traces older than 7 days
|
|
132
|
+
find .playwright-cli/traces -mtime +7 -delete
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Limitations
|
|
136
|
+
|
|
137
|
+
- Traces add overhead to automation
|
|
138
|
+
- Large traces can consume significant disk space
|
|
139
|
+
- Some dynamic content may not replay perfectly
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Video Recording
|
|
2
|
+
|
|
3
|
+
Capture browser automation sessions as video for debugging, documentation, or verification. Produces WebM (VP8/VP9 codec).
|
|
4
|
+
|
|
5
|
+
## Basic Recording
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Open browser first
|
|
9
|
+
playwright-cli open
|
|
10
|
+
|
|
11
|
+
# Start recording
|
|
12
|
+
playwright-cli video-start demo.webm
|
|
13
|
+
|
|
14
|
+
# Add a chapter marker for section transitions
|
|
15
|
+
playwright-cli video-chapter "Getting Started" --description="Opening the homepage" --duration=2000
|
|
16
|
+
|
|
17
|
+
# Navigate and perform actions
|
|
18
|
+
playwright-cli goto https://example.com
|
|
19
|
+
playwright-cli snapshot
|
|
20
|
+
playwright-cli click e1
|
|
21
|
+
|
|
22
|
+
# Add another chapter
|
|
23
|
+
playwright-cli video-chapter "Filling Form" --description="Entering test data" --duration=2000
|
|
24
|
+
playwright-cli fill e2 "test input"
|
|
25
|
+
|
|
26
|
+
# Stop and save
|
|
27
|
+
playwright-cli video-stop
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Best Practices
|
|
31
|
+
|
|
32
|
+
### 1. Use Descriptive Filenames
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
# Include context in filename
|
|
36
|
+
playwright-cli video-start recordings/login-flow-2024-01-15.webm
|
|
37
|
+
playwright-cli video-start recordings/checkout-test-run-42.webm
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### 2. Record entire hero scripts.
|
|
41
|
+
|
|
42
|
+
When recording a video for the user or as a proof of work, it is best to create a code snippet and execute it with run-code.
|
|
43
|
+
It allows inserting appropriate pauses between the actions and annotating the video. There are new Playwright APIs for that.
|
|
44
|
+
|
|
45
|
+
1) Perform scenario using CLI and take note of all locators and actions. You'll need those locators to request their bounding boxes for highlight.
|
|
46
|
+
2) Create a file with the intended script for video (below). Use pressSequentially w/ delay for nice typing, make reasonable pauses.
|
|
47
|
+
3) Use playwright-cli run-code --filename your-script.js
|
|
48
|
+
|
|
49
|
+
**Important**: Overlays are `pointer-events: none` — they do not interfere with page interactions. You can safely keep sticky overlays visible while clicking, filling, or performing any actions on the page.
|
|
50
|
+
|
|
51
|
+
```js
|
|
52
|
+
async page => {
|
|
53
|
+
await page.screencast.start({ path: 'video.webm', size: { width: 1280, height: 800 } });
|
|
54
|
+
await page.goto('https://demo.playwright.dev/todomvc');
|
|
55
|
+
|
|
56
|
+
// Show a chapter card — blurs the page and shows a dialog.
|
|
57
|
+
// Blocks until duration expires, then auto-removes.
|
|
58
|
+
// Use this for simple use cases, but always feel free to hand-craft your own beautiful
|
|
59
|
+
// overlay via await page.screencast.showOverlay().
|
|
60
|
+
await page.screencast.showChapter('Adding Todo Items', {
|
|
61
|
+
description: 'We will add several items to the todo list.',
|
|
62
|
+
duration: 2000,
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
// Perform action
|
|
66
|
+
await page.getByRole('textbox', { name: 'What needs to be done?' }).pressSequentially('Walk the dog', { delay: 60 });
|
|
67
|
+
await page.getByRole('textbox', { name: 'What needs to be done?' }).press('Enter');
|
|
68
|
+
await page.waitForTimeout(1000);
|
|
69
|
+
|
|
70
|
+
// Show next chapter
|
|
71
|
+
await page.screencast.showChapter('Verifying Results', {
|
|
72
|
+
description: 'Checking the item appeared in the list.',
|
|
73
|
+
duration: 2000,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// Add a sticky annotation that stays while you perform actions.
|
|
77
|
+
// Overlays are pointer-events: none, so they won't block clicks.
|
|
78
|
+
const annotation = await page.screencast.showOverlay(`
|
|
79
|
+
<div style="position: absolute; top: 8px; right: 8px;
|
|
80
|
+
padding: 6px 12px; background: rgba(0,0,0,0.7);
|
|
81
|
+
border-radius: 8px; font-size: 13px; color: white;">
|
|
82
|
+
✓ Item added successfully
|
|
83
|
+
</div>
|
|
84
|
+
`);
|
|
85
|
+
|
|
86
|
+
// Perform more actions while the annotation is visible
|
|
87
|
+
await page.getByRole('textbox', { name: 'What needs to be done?' }).pressSequentially('Buy groceries', { delay: 60 });
|
|
88
|
+
await page.getByRole('textbox', { name: 'What needs to be done?' }).press('Enter');
|
|
89
|
+
await page.waitForTimeout(1500);
|
|
90
|
+
|
|
91
|
+
// Remove the annotation when done
|
|
92
|
+
await annotation.dispose();
|
|
93
|
+
|
|
94
|
+
// You can also highlight relevant locators and provide contextual annotations.
|
|
95
|
+
const bounds = await page.getByText('Walk the dog').boundingBox();
|
|
96
|
+
await page.screencast.showOverlay(`
|
|
97
|
+
<div style="position: absolute;
|
|
98
|
+
top: ${bounds.y}px;
|
|
99
|
+
left: ${bounds.x}px;
|
|
100
|
+
width: ${bounds.width}px;
|
|
101
|
+
height: ${bounds.height}px;
|
|
102
|
+
border: 1px solid red;">
|
|
103
|
+
</div>
|
|
104
|
+
<div style="position: absolute;
|
|
105
|
+
top: ${bounds.y + bounds.height + 5}px;
|
|
106
|
+
left: ${bounds.x + bounds.width / 2}px;
|
|
107
|
+
transform: translateX(-50%);
|
|
108
|
+
padding: 6px;
|
|
109
|
+
background: #808080;
|
|
110
|
+
border-radius: 10px;
|
|
111
|
+
font-size: 14px;
|
|
112
|
+
color: white;">Check it out, it is right above this text
|
|
113
|
+
</div>
|
|
114
|
+
`, { duration: 2000 });
|
|
115
|
+
|
|
116
|
+
await page.screencast.stop();
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Embrace creativity, overlays are powerful.
|
|
121
|
+
|
|
122
|
+
### Overlay API Summary
|
|
123
|
+
|
|
124
|
+
| Method | Use Case |
|
|
125
|
+
|--------|----------|
|
|
126
|
+
| `page.screencast.showChapter(title, { description?, duration?, styleSheet? })` | Full-screen chapter card with blurred backdrop — ideal for section transitions |
|
|
127
|
+
| `page.screencast.showOverlay(html, { duration? })` | Custom HTML overlay — use for callouts, labels, highlights |
|
|
128
|
+
| `disposable.dispose()` | Remove a sticky overlay added without duration |
|
|
129
|
+
| `page.screencast.hideOverlays()` / `page.screencast.showOverlays()` | Temporarily hide/show all overlays |
|
|
130
|
+
|
|
131
|
+
## Tracing vs Video
|
|
132
|
+
|
|
133
|
+
| Feature | Video | Tracing |
|
|
134
|
+
|---------|-------|---------|
|
|
135
|
+
| Output | WebM file | Trace file (viewable in Trace Viewer) |
|
|
136
|
+
| Shows | Visual recording | DOM snapshots, network, console, actions |
|
|
137
|
+
| Use case | Demos, documentation | Debugging, analysis |
|
|
138
|
+
| Size | Larger | Smaller |
|
|
139
|
+
|
|
140
|
+
## Limitations
|
|
141
|
+
|
|
142
|
+
- Recording adds slight overhead to automation
|
|
143
|
+
- Large recordings can consume significant disk space
|
package/skills/skills.lock.json
CHANGED
|
@@ -3,55 +3,59 @@
|
|
|
3
3
|
{
|
|
4
4
|
"source": "testomatio/skills",
|
|
5
5
|
"ref": null,
|
|
6
|
-
"sha": "
|
|
6
|
+
"sha": "ef338b8b8dfabfdd523a7f00544d00c3705946f6",
|
|
7
7
|
"folder": "testomatio",
|
|
8
8
|
"skills": [
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"scan-automation-project",
|
|
12
|
-
"qa-write-test-cases",
|
|
13
|
-
"qa-thinking",
|
|
14
|
-
"qa-test-code-coverage",
|
|
15
|
-
"qa-sprint-report-by-testomatio",
|
|
16
|
-
"qa-split-testing-levels-pyramid",
|
|
17
|
-
"qa-requirement-reviewer",
|
|
18
|
-
"qa-pr-requirements-analyzer",
|
|
19
|
-
"qa-e2e-tests-reporting",
|
|
20
|
-
"pull-request-diff-analyzer",
|
|
21
|
-
"improve-test-cases",
|
|
9
|
+
"automate-manual-test-cases",
|
|
10
|
+
"debug-fix-failed-flaky-autotests",
|
|
22
11
|
"detect-duplicate-test-cases",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
12
|
+
"explorbot-fundamentals",
|
|
13
|
+
"explorbot-plan",
|
|
14
|
+
"explorbot-setup",
|
|
15
|
+
"improve-test-cases",
|
|
16
|
+
"prima",
|
|
17
|
+
"pull-request-diff-analyzer",
|
|
27
18
|
"qa-automation-test-consolidation",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
19
|
+
"qa-data-seeder",
|
|
20
|
+
"qa-e2e-tests-reporting",
|
|
21
|
+
"qa-explain-behavior",
|
|
22
|
+
"qa-lead-strategy-advisor",
|
|
23
|
+
"qa-pr-requirements-analyzer",
|
|
24
|
+
"qa-requirement-reviewer",
|
|
25
|
+
"qa-split-testing-levels-pyramid",
|
|
26
|
+
"qa-sprint-report-by-testomatio",
|
|
27
|
+
"qa-test-code-coverage",
|
|
28
|
+
"qa-thinking",
|
|
29
|
+
"qa-write-test-cases",
|
|
30
|
+
"run-tests-with-testomatio-reporter",
|
|
31
|
+
"scan-automation-project",
|
|
32
|
+
"setup-change-aware-pr-testing",
|
|
33
|
+
"setup-ci-automation",
|
|
34
|
+
"sync-test-cases-with-tms",
|
|
35
|
+
"testing-workflow",
|
|
30
36
|
"testomat-allure-adapter",
|
|
31
|
-
"
|
|
32
|
-
"explorbot-plan",
|
|
33
|
-
"explorbot-fundamentals"
|
|
37
|
+
"testomatio-mcp"
|
|
34
38
|
]
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"source": "codeceptjs/skills",
|
|
38
42
|
"ref": null,
|
|
39
|
-
"sha": "
|
|
43
|
+
"sha": "d3d6a4e0e29207b1afb051eeb6f5f36984f4752b",
|
|
40
44
|
"folder": "codeceptjs",
|
|
41
45
|
"skills": [
|
|
42
|
-
"
|
|
43
|
-
"refactoring-codeceptjs-tests",
|
|
44
|
-
"migrate-testcafe-to-codeceptjs",
|
|
45
|
-
"migrate-selenium-java-to-codeceptjs",
|
|
46
|
-
"migrate-protractor-to-codeceptjs",
|
|
47
|
-
"migrate-cypress-to-codeceptjs",
|
|
48
|
-
"migrate-codeceptjs-4",
|
|
49
|
-
"debugging-codeceptjs-tests",
|
|
50
|
-
"codeceptjs-run-analysis",
|
|
51
|
-
"codeceptjs-fundamentals",
|
|
52
|
-
"codeceptjs-exploration",
|
|
46
|
+
"ci-fix-tests",
|
|
53
47
|
"codeceptjs-auth",
|
|
54
|
-
"
|
|
48
|
+
"codeceptjs-exploration",
|
|
49
|
+
"codeceptjs-fundamentals",
|
|
50
|
+
"codeceptjs-run-analysis",
|
|
51
|
+
"debugging-codeceptjs-tests",
|
|
52
|
+
"migrate-codeceptjs-4",
|
|
53
|
+
"migrate-cypress-to-codeceptjs",
|
|
54
|
+
"migrate-protractor-to-codeceptjs",
|
|
55
|
+
"migrate-selenium-java-to-codeceptjs",
|
|
56
|
+
"migrate-testcafe-to-codeceptjs",
|
|
57
|
+
"refactoring-codeceptjs-tests",
|
|
58
|
+
"writing-codeceptjs-tests"
|
|
55
59
|
]
|
|
56
60
|
},
|
|
57
61
|
{
|
|
@@ -66,7 +70,7 @@
|
|
|
66
70
|
{
|
|
67
71
|
"source": "microsoft/playwright-cli/tree/main/skills/playwright-cli",
|
|
68
72
|
"ref": null,
|
|
69
|
-
"sha": "
|
|
73
|
+
"sha": "60cb176373cf4400405122703e6de26cd58c7a1c",
|
|
70
74
|
"folder": "playwright",
|
|
71
75
|
"skills": [
|
|
72
76
|
"playwright-cli"
|
package/skills/skills.yaml
CHANGED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explorbot-fundamentals
|
|
3
|
+
description: Use when running or debugging Explorbot from the command line — which command to run, what a flag does, where results were written, why a run failed, or how to run it with nothing installed in the project.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
author: Testomat.io
|
|
7
|
+
version: 1.2.0
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Explorbot Fundamentals
|
|
11
|
+
|
|
12
|
+
Explorbot is an autonomous AI web-testing CLI. It drives its own browser through cycles of research → plan → test, and an agent drives it like `git` or `npm`.
|
|
13
|
+
|
|
14
|
+
**Answer command and flag questions from the installed CLI, never from memory.**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx explorbot --help # commands, and the EXPLORBOT_* variables
|
|
18
|
+
npx explorbot <command> --help # flags for one command
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Running it with nothing installed
|
|
22
|
+
|
|
23
|
+
Explorbot needs no project install: `npx` plus a provider is enough, and nothing is written into the working directory. Reach for this when the user wants to try Explorbot, or is pointing it at an app that has no repo here.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx explorbot init --global --provider <name> # once per machine, key in ~/.explorbot/.env
|
|
27
|
+
npx explorbot explore https://app.example.com/login --max-tests 3
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Details, including the per-command `EXPLORBOT_*` form for CI: [references/no-install.md](references/no-install.md).
|
|
31
|
+
|
|
32
|
+
Installing into the project instead — config, knowledge, and generated tests in the repo — is [[explorbot-setup]].
|
|
33
|
+
|
|
34
|
+
## Docs
|
|
35
|
+
|
|
36
|
+
`node_modules/explorbot/docs/` after a local install, the repo's `docs/` when working inside Explorbot itself, otherwise `https://raw.githubusercontent.com/testomatio/explorbot/main/docs/<path>`. `docs/index.json` lists every page with a description — read it to pick the page, then open that page.
|
|
37
|
+
|
|
38
|
+
## Where results land
|
|
39
|
+
|
|
40
|
+
Explorbot writes into the project directory when the run used a project `explorbot.config.js`, and into `~/.explorbot/sites/<host>/` otherwise. Under that root:
|
|
41
|
+
|
|
42
|
+
| Path | Contents |
|
|
43
|
+
|---|---|
|
|
44
|
+
| `output/reports/` | session report: coverage, defects, execution issues |
|
|
45
|
+
| `output/plans/` | the plan generated or executed |
|
|
46
|
+
| `output/states/` | per-state HTML, ARIA snapshots, screenshots |
|
|
47
|
+
| `output/research/` | UI maps from the Researcher |
|
|
48
|
+
| `output/tests/` | generated Playwright / CodeceptJS files |
|
|
49
|
+
| `output/explorbot.log` | run log — start here on a failure |
|
|
50
|
+
| `knowledge/`, `experience/` | what you taught it, and what it learned |
|
|
51
|
+
|
|
52
|
+
**Exit codes are not pass/fail.** `explore` and `test` exit `0` whenever the session completes; a failing scenario is a result, not a crash. Read the report. `navigate` is the exception — `1` means unreachable, which makes it a pre-flight check.
|
|
53
|
+
|
|
54
|
+
## Naming the site
|
|
55
|
+
|
|
56
|
+
A target is either **absolute** — starting with `http://` or `https://` — or a **relative path** starting with `/`. Anything else is ambiguous and not a valid target.
|
|
57
|
+
|
|
58
|
+
A relative path needs a site to resolve against: `web.url` from a project config, or `EXPLORBOT_URL`. Without either, pass the absolute URL. Commands that take no target at all — `test`, `learn`, `knows`, `experience`, `compact` — read the same two sources. `npx explorbot sites` lists what has been explored so far.
|
|
59
|
+
|
|
60
|
+
## Cheap before expensive
|
|
61
|
+
|
|
62
|
+
- `npx explorbot context <url>` — headings, matched knowledge, interactive elements. No AI calls.
|
|
63
|
+
- `npx explorbot shell <url> '<codecept command>'` — run one command and exit.
|
|
64
|
+
- `npx explorbot knows <url>` — what knowledge matches a page.
|
|
65
|
+
- `npx explorbot navigate <url> --session` — reachability, and it saves the session.
|
|
66
|
+
|
|
67
|
+
## Rules
|
|
68
|
+
|
|
69
|
+
- `explorbot start` is an interactive TUI — an agent cannot operate it. Ask the user to run it. Everything else runs headless and exits.
|
|
70
|
+
- If `--help` does not show a command or flag, it does not exist.
|
|
71
|
+
- Explorbot needs CRUD; a landing page, blog, or CMS is out of scope.
|
|
72
|
+
|
|
73
|
+
## Related skills
|
|
74
|
+
|
|
75
|
+
- [[explorbot-setup]] — install into a project: config, provider, login knowledge, verified navigation.
|
|
76
|
+
- [[explorbot-plan]] — hand-author a test plan and run it with `explorbot test`.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Running Explorbot without installing it
|
|
2
|
+
|
|
3
|
+
Two ways, both `npx`. Neither writes anything into the working directory: knowledge, experience, and output go to `~/.explorbot/sites/<host>/`.
|
|
4
|
+
|
|
5
|
+
## Once per machine
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx explorbot init --global --provider <name>
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Writes `~/.explorbot/config.js` with the model ids recommended by that Explorbot version, and `~/.explorbot/.env` with the provider's key variable — add the key there, or pass `--api-key`. `npx explorbot init --help` lists the accepted providers. With `--provider` there is no wizard, so an agent can run it unattended.
|
|
12
|
+
|
|
13
|
+
Every directory can then run Explorbot, and each app keeps what Explorbot learned about it between runs. With no project config there is no site to resolve a relative path against, so pass the absolute URL — or set `EXPLORBOT_URL` and pass paths:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx explorbot explore https://app.example.com/login --max-tests 3
|
|
17
|
+
EXPLORBOT_URL=https://app.example.com npx explorbot explore /dashboard
|
|
18
|
+
npx explorbot sites # what has been explored, and when
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Per command
|
|
22
|
+
|
|
23
|
+
When nothing may be written — CI, containers, someone else's machine — `EXPLORBOT_AI_PROVIDER` builds the config from the environment:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
EXPLORBOT_URL=https://app.example.com \
|
|
27
|
+
EXPLORBOT_AI_PROVIDER=<name> \
|
|
28
|
+
npx explorbot explore /login --max-tests 3
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- `npx explorbot --help` lists every `EXPLORBOT_*` variable of the installed version — read it there rather than copying a list.
|
|
32
|
+
- `EXPLORBOT_KNOWLEDGE="Log in as …"` applies knowledge to every page without a file; `EXPLORBOT_KNOWLEDGE_FILE` points at one.
|
|
33
|
+
- Model variables take a provider name for its recommendation, or `provider/model-id` to pin one.
|
|
34
|
+
- These variables win over `~/.explorbot/config.js`; a project `explorbot.config.js` wins over them.
|
|
35
|
+
- `EXPLORBOT_EPHEMERAL=1` keeps nothing between runs.
|
|
36
|
+
- Trade-off: the Historian is off, so no generated Playwright or CodeceptJS files. Plans and reports are still written.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explorbot-plan
|
|
3
|
+
description: Use when the user wants to write an Explorbot test plan by hand — from a feature description, requirements, ticket, or docs, without exploring a live page — so `explorbot test` can run it.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
author: Testomat.io
|
|
7
|
+
version: 0.1.0
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Writing Explorbot Test Plans
|
|
11
|
+
|
|
12
|
+
Write an Explorbot **test plan** by hand in Explorbot's exact markdown format, from a feature
|
|
13
|
+
description / requirements / docs and a starting URL. No browser or live exploration needed.
|
|
14
|
+
|
|
15
|
+
**Explorbot does not need to be installed to author a plan** — it is just a markdown file.
|
|
16
|
+
Installation is only required later to *run* the plan (see Output).
|
|
17
|
+
|
|
18
|
+
## Inputs to gather
|
|
19
|
+
|
|
20
|
+
- The feature / requirements / user story (ask for docs or a description).
|
|
21
|
+
- A suite title (the feature under test).
|
|
22
|
+
- The **start URL**: a path relative to the app host (e.g. `/login`), or a full absolute URL.
|
|
23
|
+
This is mandatory. Relative paths resolve against `web.url` in a project config, or against
|
|
24
|
+
the site the command names (`EXPLORBOT_URL` / a registered host) in global mode.
|
|
25
|
+
- Optional per-test start URLs when a scenario begins on a different page.
|
|
26
|
+
- Priority for each scenario: `critical`, `important`, `high`, `normal`, `low`.
|
|
27
|
+
|
|
28
|
+
## Format
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
<!-- suite -->
|
|
32
|
+
# User Authentication
|
|
33
|
+
|
|
34
|
+
### Prerequisite
|
|
35
|
+
|
|
36
|
+
* URL: /login
|
|
37
|
+
|
|
38
|
+
<!-- test
|
|
39
|
+
priority: critical
|
|
40
|
+
-->
|
|
41
|
+
# User signs in with valid credentials
|
|
42
|
+
|
|
43
|
+
## Requirements
|
|
44
|
+
/login
|
|
45
|
+
|
|
46
|
+
## Steps
|
|
47
|
+
* Enter a registered email in the email field
|
|
48
|
+
* Enter the matching password
|
|
49
|
+
* Submit the sign-in form
|
|
50
|
+
|
|
51
|
+
## Expected
|
|
52
|
+
* The user lands on the authenticated dashboard
|
|
53
|
+
* The signed-in account is shown in the header
|
|
54
|
+
|
|
55
|
+
<!-- test
|
|
56
|
+
priority: high
|
|
57
|
+
-->
|
|
58
|
+
# Sign-in is rejected for an unknown account
|
|
59
|
+
|
|
60
|
+
## Requirements
|
|
61
|
+
/login
|
|
62
|
+
|
|
63
|
+
## Steps
|
|
64
|
+
* Enter an unregistered email and any password
|
|
65
|
+
* Submit the sign-in form
|
|
66
|
+
|
|
67
|
+
## Expected
|
|
68
|
+
* An invalid-credentials error is shown
|
|
69
|
+
* The user stays on the sign-in page
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Rules
|
|
73
|
+
|
|
74
|
+
- `<!-- suite -->` then the **next line** is `# Suite Title`. One suite per file is normal;
|
|
75
|
+
add more by repeating `<!-- suite -->`.
|
|
76
|
+
- `### Prerequisite` — its **first list item** must be `* URL: <path>`. This documents the
|
|
77
|
+
suite-wide start page for readers and the TUI. A relative path resolves against `web.url` /
|
|
78
|
+
`playwright.url`; absolute URLs work too.
|
|
79
|
+
- Each test: a `<!-- test` … `priority: <level>` … `-->` block, then `# Scenario` (h1).
|
|
80
|
+
Missing priority defaults to `normal`.
|
|
81
|
+
- **Give every test its own `## Requirements` line with the start URL** (same value as the
|
|
82
|
+
Prerequisite, unless the scenario starts elsewhere). Execution reads the per-test
|
|
83
|
+
`## Requirements` URL; a test with no `## Requirements` may have no start URL and fail to
|
|
84
|
+
run. The canonical generated plans repeat the URL in every test for this reason.
|
|
85
|
+
- `## Steps` and `## Expected` use `* ` bullets; wrap a long bullet by indenting continuation
|
|
86
|
+
lines two spaces.
|
|
87
|
+
- Steps are **guidance** — the Tester adapts them; keep each step atomic and free of brittle
|
|
88
|
+
selectors. Every `## Expected` bullet must be **independently verifiable** (a data change,
|
|
89
|
+
state change, or UI change with a real side effect), not a restated step.
|
|
90
|
+
- Scenario titles describe a **business outcome**, not a click path.
|
|
91
|
+
|
|
92
|
+
## Output
|
|
93
|
+
|
|
94
|
+
A hand-written plan is input only — Explorbot never rewrites it, so keep it in the repo next to
|
|
95
|
+
the code it covers (`tests/plans/<feature>.md` or similar) and pass its path to `explorbot test`.
|
|
96
|
+
Save it under the run's `output/plans/` only when the user wants it alongside generated plans:
|
|
97
|
+
`output/plans/` in a project setup, `~/.explorbot/sites/<host>/output/plans/` in global mode.
|
|
98
|
+
|
|
99
|
+
Run it (index: `1`, `1,3`, `1-5`, or `*` for all):
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
npx explorbot test checkout-plan.md '*'
|
|
103
|
+
EXPLORBOT_URL=https://app.example.com npx explorbot test checkout-plan.md '*'
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
`test` takes no URL argument: it uses `web.url` from a project config, and needs `EXPLORBOT_URL`
|
|
107
|
+
in global mode. It exits `0` whenever the session completes — read the report in
|
|
108
|
+
`output/reports/`, not the exit code. See [[explorbot-fundamentals]].
|