@matware/e2e-runner 1.2.1 → 1.3.1
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/.claude-plugin/marketplace.json +52 -0
- package/.claude-plugin/plugin.json +17 -3
- package/.mcp.json +2 -2
- package/.opencode/commands/create-test.md +63 -0
- package/.opencode/commands/run.md +50 -0
- package/.opencode/commands/verify-issue.md +62 -0
- package/.opencode/skills/e2e-testing/SKILL.md +181 -0
- package/.opencode/skills/e2e-testing/references/action-types.md +143 -0
- package/.opencode/skills/e2e-testing/references/auth-strategies.md +91 -0
- package/.opencode/skills/e2e-testing/references/graphql.md +59 -0
- package/.opencode/skills/e2e-testing/references/issue-verification.md +59 -0
- package/.opencode/skills/e2e-testing/references/multi-pool.md +60 -0
- package/.opencode/skills/e2e-testing/references/network-debugging.md +62 -0
- package/.opencode/skills/e2e-testing/references/test-json-format.md +163 -0
- package/.opencode/skills/e2e-testing/references/troubleshooting.md +224 -0
- package/.opencode/skills/e2e-testing/references/variables.md +41 -0
- package/.opencode/skills/e2e-testing/references/visual-verification.md +89 -0
- package/LICENSE +190 -0
- package/OPENCODE.md +166 -0
- package/README.md +165 -104
- package/agents/test-creator.md +54 -1
- package/agents/test-improver.md +37 -0
- package/bin/cli.js +409 -16
- package/commands/capture.md +45 -0
- package/commands/create-test.md +16 -1
- package/opencode.json +11 -0
- package/package.json +7 -2
- package/scripts/setup-opencode.sh +113 -0
- package/skills/e2e-testing/SKILL.md +10 -3
- package/skills/e2e-testing/references/action-types.md +48 -5
- package/skills/e2e-testing/references/auth-strategies.md +91 -0
- package/skills/e2e-testing/references/graphql.md +59 -0
- package/skills/e2e-testing/references/issue-verification.md +59 -0
- package/skills/e2e-testing/references/multi-pool.md +60 -0
- package/skills/e2e-testing/references/network-debugging.md +62 -0
- package/skills/e2e-testing/references/test-json-format.md +4 -0
- package/skills/e2e-testing/references/troubleshooting.md +44 -2
- package/skills/e2e-testing/references/variables.md +41 -0
- package/skills/e2e-testing/references/visual-verification.md +89 -0
- package/src/actions.js +475 -2
- package/src/ai-generate.js +139 -8
- package/src/app-pool.js +339 -0
- package/src/config.js +266 -5
- package/src/dashboard.js +216 -17
- package/src/db.js +191 -7
- package/src/index.js +12 -9
- package/src/learner-sqlite.js +458 -0
- package/src/learner.js +78 -6
- package/src/mcp-tools.js +1348 -51
- package/src/module-resolver.js +37 -0
- package/src/narrate.js +65 -0
- package/src/pool-manager.js +229 -0
- package/src/pool.js +301 -31
- package/src/reporter.js +86 -2
- package/src/runner.js +480 -71
- package/src/sync/auth.js +354 -0
- package/src/sync/client.js +572 -0
- package/src/sync/hub-routes.js +816 -0
- package/src/sync/index.js +68 -0
- package/src/sync/middleware.js +347 -0
- package/src/sync/queue.js +209 -0
- package/src/sync/schema.js +540 -0
- package/src/verify.js +10 -7
- package/src/visual-diff.js +446 -0
- package/src/watch.js +384 -0
- package/templates/build-dashboard.js +47 -6
- package/templates/dashboard/js/api.js +62 -0
- package/templates/dashboard/js/init.js +13 -0
- package/templates/dashboard/js/keyboard.js +46 -0
- package/templates/dashboard/js/state.js +40 -0
- package/templates/dashboard/js/toast.js +41 -0
- package/templates/dashboard/js/utils.js +216 -0
- package/templates/dashboard/js/view-live.js +181 -0
- package/templates/dashboard/js/view-runs.js +676 -0
- package/templates/dashboard/js/view-tests.js +294 -0
- package/templates/dashboard/js/view-watch.js +242 -0
- package/templates/dashboard/js/websocket.js +116 -0
- package/templates/dashboard/styles/base.css +69 -0
- package/templates/dashboard/styles/components.css +117 -0
- package/templates/dashboard/styles/view-live.css +97 -0
- package/templates/dashboard/styles/view-runs.css +243 -0
- package/templates/dashboard/styles/view-tests.css +96 -0
- package/templates/dashboard/styles/view-watch.css +53 -0
- package/templates/dashboard/template.html +181 -100
- package/templates/dashboard.html +1614 -547
- package/templates/sample-test.json +0 -8
- package/templates/dashboard/app.js +0 -1152
- package/templates/dashboard/styles.css +0 -413
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# Troubleshooting Guide
|
|
2
|
+
|
|
3
|
+
## Pool Connection Issues
|
|
4
|
+
|
|
5
|
+
### "Pool not reachable" / Connection refused
|
|
6
|
+
|
|
7
|
+
**Cause**: Chrome pool (browserless/chrome Docker container) is not running.
|
|
8
|
+
|
|
9
|
+
**Fix**:
|
|
10
|
+
```bash
|
|
11
|
+
npx e2e-runner pool start
|
|
12
|
+
npx e2e-runner pool status # verify it's running
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Pool management is CLI-only — `pool start` and `pool stop` are not available via MCP.
|
|
16
|
+
|
|
17
|
+
### "Pool at capacity" / Tests queuing
|
|
18
|
+
|
|
19
|
+
**Cause**: All Chrome sessions are occupied.
|
|
20
|
+
|
|
21
|
+
**Fix**: Increase capacity or reduce concurrency:
|
|
22
|
+
```bash
|
|
23
|
+
npx e2e-runner pool stop
|
|
24
|
+
npx e2e-runner pool start --max-sessions 10
|
|
25
|
+
```
|
|
26
|
+
Or reduce test concurrency: `--concurrency 2`
|
|
27
|
+
|
|
28
|
+
The runner checks `/pressure` before each connection and waits up to 60s for a free slot.
|
|
29
|
+
|
|
30
|
+
### Docker not running
|
|
31
|
+
|
|
32
|
+
**Cause**: Docker daemon is not started.
|
|
33
|
+
|
|
34
|
+
**Fix**: Start Docker Desktop or `sudo systemctl start docker`, then `npx e2e-runner pool start`.
|
|
35
|
+
|
|
36
|
+
## React / SPA Issues
|
|
37
|
+
|
|
38
|
+
### React inputs not updating state
|
|
39
|
+
|
|
40
|
+
**Symptom**: `type` action enters text but React state doesn't change (form validation fails, submit disabled).
|
|
41
|
+
|
|
42
|
+
**Fix**: Use `type_react` instead of `type` for React controlled inputs:
|
|
43
|
+
```json
|
|
44
|
+
{ "type": "type_react", "selector": "#email", "value": "user@test.com" }
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`type_react` uses the native value setter and dispatches `input` + `change` events that React's synthetic event system recognizes.
|
|
48
|
+
|
|
49
|
+
### SPA navigation not completing
|
|
50
|
+
|
|
51
|
+
**Symptom**: `goto` hangs or times out on client-side route changes.
|
|
52
|
+
|
|
53
|
+
**Fix**: Use `navigate` instead of `goto` for SPA route changes:
|
|
54
|
+
```json
|
|
55
|
+
{ "type": "navigate", "value": "/new-page" }
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
`navigate` uses a 5s race timeout and won't block if `load` doesn't fire (common in SPAs).
|
|
59
|
+
|
|
60
|
+
### MUI autocomplete not opening
|
|
61
|
+
|
|
62
|
+
**Symptom**: Clicking or typing in an MUI Autocomplete doesn't open the dropdown.
|
|
63
|
+
|
|
64
|
+
**Fix**: Use `focus_autocomplete` to properly focus by label text:
|
|
65
|
+
```json
|
|
66
|
+
{ "type": "focus_autocomplete", "text": "Search by name" },
|
|
67
|
+
{ "type": "type_react", "selector": "#autocomplete-input", "value": "search term" },
|
|
68
|
+
{ "type": "click_option", "text": "Desired option" }
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Flaky Tests
|
|
72
|
+
|
|
73
|
+
### Intermittent failures on dynamic content
|
|
74
|
+
|
|
75
|
+
**Symptom**: Tests pass sometimes, fail others. Usually timing-related.
|
|
76
|
+
|
|
77
|
+
**Fixes**:
|
|
78
|
+
1. Add explicit `wait` before assertions:
|
|
79
|
+
```json
|
|
80
|
+
{ "type": "wait", "selector": ".data-loaded" },
|
|
81
|
+
{ "type": "assert_text", "text": "Expected content" }
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
2. Use action-level retries for known flaky selectors:
|
|
85
|
+
```json
|
|
86
|
+
{ "type": "click", "selector": "#dynamic-btn", "retries": 3 }
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
3. Use test-level retries:
|
|
90
|
+
```json
|
|
91
|
+
{ "name": "flaky-test", "retries": 2, "actions": [...] }
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
4. Check the learning system for patterns:
|
|
95
|
+
```
|
|
96
|
+
e2e_learnings("flaky") → identify consistently flaky tests
|
|
97
|
+
e2e_learnings("selectors") → find unstable selectors
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Tests interfering with each other
|
|
101
|
+
|
|
102
|
+
**Symptom**: Tests pass individually but fail when run together.
|
|
103
|
+
|
|
104
|
+
**Fix**: Mark tests that share mutable state as `serial`:
|
|
105
|
+
```json
|
|
106
|
+
{ "name": "create-item", "serial": true, "actions": [...] },
|
|
107
|
+
{ "name": "verify-item", "serial": true, "actions": [...] }
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Timeout Issues
|
|
111
|
+
|
|
112
|
+
### Test timeout (default 60s)
|
|
113
|
+
|
|
114
|
+
**Fix**: Increase per-test or globally:
|
|
115
|
+
```json
|
|
116
|
+
{ "name": "slow-test", "timeout": 120000, "actions": [...] }
|
|
117
|
+
```
|
|
118
|
+
Or globally: `--test-timeout 120000`
|
|
119
|
+
|
|
120
|
+
### Action timeout (default 10s)
|
|
121
|
+
|
|
122
|
+
Each action's `waitForSelector` uses the default timeout. Override per-action:
|
|
123
|
+
```json
|
|
124
|
+
{ "type": "wait", "selector": ".slow-element", "timeout": 30000 }
|
|
125
|
+
```
|
|
126
|
+
Or globally: `--timeout 30000`
|
|
127
|
+
|
|
128
|
+
## Network Errors
|
|
129
|
+
|
|
130
|
+
### Tests passing but network requests failing
|
|
131
|
+
|
|
132
|
+
**Symptom**: Tests pass but `networkSummary` shows failed requests.
|
|
133
|
+
|
|
134
|
+
**Fix**: Enable strict mode to fail tests with network errors:
|
|
135
|
+
```
|
|
136
|
+
e2e_run({ all: true, failOnNetworkError: true })
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Or use `assert_no_network_errors` at specific points:
|
|
140
|
+
```json
|
|
141
|
+
{ "type": "goto", "value": "/api-heavy-page" },
|
|
142
|
+
{ "type": "wait", "selector": ".loaded" },
|
|
143
|
+
{ "type": "assert_no_network_errors" }
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Investigating specific failures
|
|
147
|
+
|
|
148
|
+
Use network log drill-down:
|
|
149
|
+
```
|
|
150
|
+
e2e_network_logs(runDbId, errorsOnly: true) → see all failed requests
|
|
151
|
+
e2e_network_logs(runDbId, urlPattern: "/api/users") → filter by URL
|
|
152
|
+
e2e_network_logs(runDbId, testName: "create-user", includeBodies: true) → full request/response
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Common Mistakes
|
|
156
|
+
|
|
157
|
+
### Using `beforeAll` for browser state
|
|
158
|
+
|
|
159
|
+
`beforeAll` runs on a separate page that closes before tests. Use `beforeEach` for state setup.
|
|
160
|
+
|
|
161
|
+
### Using `evaluate` for simple assertions
|
|
162
|
+
|
|
163
|
+
Prefer granular assertion actions over `evaluate` with inline JS:
|
|
164
|
+
```json
|
|
165
|
+
// Bad: verbose, error-prone
|
|
166
|
+
{ "type": "evaluate", "value": "if (!document.querySelector('h1').textContent.includes('Dashboard')) throw 'not found'" }
|
|
167
|
+
|
|
168
|
+
// Good: clear, auto-waits
|
|
169
|
+
{ "type": "assert_element_text", "selector": "h1", "text": "Dashboard" }
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Forgetting `cwd` in MCP calls
|
|
173
|
+
|
|
174
|
+
All MCP tools need `cwd` to resolve config files and test directories. Always pass the project root.
|
|
175
|
+
|
|
176
|
+
### Path-only `assert_url`
|
|
177
|
+
|
|
178
|
+
When checking paths, use path-only format (starts with `/`):
|
|
179
|
+
```json
|
|
180
|
+
{ "type": "assert_url", "value": "/dashboard" }
|
|
181
|
+
```
|
|
182
|
+
This compares against the pathname only, ignoring the `host.docker.internal` origin.
|
|
183
|
+
|
|
184
|
+
## Action Type Pre-Validation
|
|
185
|
+
|
|
186
|
+
All action types are validated at **load time** (before any browser connections). If a test file contains an unknown action type (e.g., a typo like `"clik"`), loading throws immediately with the location:
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
Unknown action type(s) in auth.json: "clik" in test "login-test"
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
The `KNOWN_ACTION_TYPES` Set in `src/actions.js` is the single source of truth. Unknown actions also throw at runtime as a safety net.
|
|
193
|
+
|
|
194
|
+
## Screenshot Hashes
|
|
195
|
+
|
|
196
|
+
Every screenshot captured during a run is assigned a short hash (`ss:a3f2b1c9`) — the first 8 hex chars of the SHA-256 of its file path. Hashes are deterministic and computed identically on the server (Node `crypto`) and in the browser (Web Crypto API).
|
|
197
|
+
|
|
198
|
+
**Flow**: screenshot saved on disk → `saveRun()` registers hash in SQLite `screenshot_hashes` table → dashboard shows `[ss:XXXXXXXX]` badge (click to copy) → user pastes hash in Claude Code → `e2e_screenshot` MCP tool looks up hash, reads file, returns the image.
|
|
199
|
+
|
|
200
|
+
- Hashes are registered inside the `saveRun()` transaction (covers action, error, verification, and baseline screenshots)
|
|
201
|
+
- The `ss:` prefix is optional when calling `e2e_screenshot` — stripped during lookup
|
|
202
|
+
- Dashboard computes hashes client-side (Web Crypto) for the Live view (before `persistRun()` writes to DB)
|
|
203
|
+
- Run detail API (`/api/db/runs/:id`) includes `screenshotHashes` map per test result
|
|
204
|
+
- Dashboard endpoint `/api/screenshot-hash/:hash` serves the image by hash
|
|
205
|
+
- Dashboard Screenshots view has a **search bar** — type a hash to find and display the screenshot
|
|
206
|
+
|
|
207
|
+
## Web Dashboard
|
|
208
|
+
|
|
209
|
+
**`src/dashboard.js`** — HTTP server, REST API, WebSocket broadcast, pool polling.
|
|
210
|
+
**`templates/dashboard.html`** — SPA, dark theme, vanilla JS, safe DOM (textContent + createEl helper).
|
|
211
|
+
|
|
212
|
+
**Features:**
|
|
213
|
+
- Live test execution with WebSocket updates
|
|
214
|
+
- Run history with inline detail expansion
|
|
215
|
+
- Screenshots gallery with hash badges and hash search
|
|
216
|
+
- Network request logs with clickable expandable rows (full request/response detail)
|
|
217
|
+
- Pool status monitoring
|
|
218
|
+
- Multi-project support via project selector
|
|
219
|
+
- Variables tab with masked values, inline edit, add, and delete
|
|
220
|
+
|
|
221
|
+
**CLI:** `e2e-runner dashboard [--port 8484]`
|
|
222
|
+
**MCP tools:** `e2e_dashboard_start`, `e2e_dashboard_stop`
|
|
223
|
+
|
|
224
|
+
Config defaults: `dashboardPort: 8484`, `maxHistoryRuns: 100`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Variables Reference
|
|
2
|
+
|
|
3
|
+
Variables replace hardcoded sensitive values (JWT tokens, user IDs, API keys, etc.) in test JSON. Stored in SQLite (`~/.e2e-runner/dashboard.db`), scoped per project and per suite, editable from the dashboard UI.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
{{var.TOKEN}} → resolves from DB (suite scope → project scope)
|
|
9
|
+
{{env.MY_VAR}} → resolves from process.env
|
|
10
|
+
{{param}} → existing module param substitution (unchanged)
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**Resolution priority:** suite vars > project vars > error if not found.
|
|
14
|
+
|
|
15
|
+
## Usage in Test JSON
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{ "$use": "auth-jwt", "params": { "token": "{{var.JWT_TOKEN}}", "orgId": "{{var.ORG_ID}}" } }
|
|
19
|
+
{ "type": "goto", "value": "/users/{{var.USER_ID}}/profile" }
|
|
20
|
+
{ "type": "gql", "value": "{ user(id: \"{{var.USER_ID}}\") { name } }" }
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## MCP Tool (`e2e_vars`)
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
e2e_vars({ action: "set", key: "TOKEN", value: "abc123", scope: "project" })
|
|
27
|
+
e2e_vars({ action: "set", key: "TOKEN", value: "xyz789", scope: "auth" }) // suite-specific override
|
|
28
|
+
e2e_vars({ action: "list" })
|
|
29
|
+
e2e_vars({ action: "get", key: "TOKEN" })
|
|
30
|
+
e2e_vars({ action: "delete", key: "TOKEN", scope: "project" })
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Dashboard UI
|
|
34
|
+
|
|
35
|
+
Variables tab shows all variables grouped by scope. Values are masked by default (click to reveal). Inline edit, add new, and delete are supported.
|
|
36
|
+
|
|
37
|
+
## REST API
|
|
38
|
+
|
|
39
|
+
- `GET /api/db/projects/:id/variables` — list all vars for project
|
|
40
|
+
- `PUT /api/db/projects/:id/variables` — set a variable `{ scope, key, value }`
|
|
41
|
+
- `DELETE /api/db/projects/:id/variables/:scope/:key` — delete a variable
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Visual Verification Reference
|
|
2
|
+
|
|
3
|
+
Tests can include an `expect` field for AI-powered visual verification. No API key required — Claude Code itself does the visual judgment.
|
|
4
|
+
|
|
5
|
+
## Expect Field Formats
|
|
6
|
+
|
|
7
|
+
### String form — free-form description
|
|
8
|
+
```json
|
|
9
|
+
{
|
|
10
|
+
"name": "dashboard-loads",
|
|
11
|
+
"expect": "Should show the data table with at least 3 rows, no error messages, and the sidebar with navigation links",
|
|
12
|
+
"actions": [
|
|
13
|
+
{ "type": "goto", "value": "/dashboard" },
|
|
14
|
+
{ "type": "wait", "selector": ".data-table" }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Array form — per-criterion checklist (each evaluated independently as PASS/FAIL)
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"name": "dashboard-loads",
|
|
23
|
+
"expect": [
|
|
24
|
+
"Data table visible with at least 3 rows",
|
|
25
|
+
"No error messages or red banners",
|
|
26
|
+
"Sidebar shows navigation links"
|
|
27
|
+
],
|
|
28
|
+
"actions": [
|
|
29
|
+
{ "type": "goto", "value": "/dashboard" },
|
|
30
|
+
{ "type": "wait", "selector": ".data-table" }
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Double Screenshot (Before/After)
|
|
36
|
+
|
|
37
|
+
When `expect` is present, the runner captures TWO screenshots:
|
|
38
|
+
1. **Baseline** (`baseline-{name}-{timestamp}.png`) — captured BEFORE test actions run (after `beforeEach` hooks)
|
|
39
|
+
2. **Verification** (`verify-{name}-{timestamp}.png`) — captured AFTER all actions complete
|
|
40
|
+
|
|
41
|
+
Both hashes are registered in SQLite and returned in the MCP response for before/after comparison.
|
|
42
|
+
|
|
43
|
+
## Verification Strictness
|
|
44
|
+
|
|
45
|
+
Controls how strictly Claude Code evaluates visual verification. Set via:
|
|
46
|
+
- Config: `verificationStrictness: 'moderate'`
|
|
47
|
+
- CLI: `--verification-strictness strict`
|
|
48
|
+
- Env: `VERIFICATION_STRICTNESS=strict`
|
|
49
|
+
- MCP: `verificationStrictness: 'strict'` in `e2e_run` args
|
|
50
|
+
|
|
51
|
+
| Level | Behavior |
|
|
52
|
+
|-------|----------|
|
|
53
|
+
| **`strict`** | No ambiguity allowed. If any criterion is unclear, not fully visible, or doubtful → FAIL. |
|
|
54
|
+
| **`moderate`** (default) | Reasonable judgment. Minor cosmetic differences acceptable, functional mismatches → FAIL. |
|
|
55
|
+
| **`lenient`** | Only fail on clear, obvious contradictions. |
|
|
56
|
+
|
|
57
|
+
## MCP Response Format
|
|
58
|
+
|
|
59
|
+
The `e2e_run` response includes a `verifications` array:
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"verifications": [
|
|
63
|
+
{
|
|
64
|
+
"name": "dashboard-loads",
|
|
65
|
+
"expect": ["Data table visible...", "No error messages..."],
|
|
66
|
+
"success": true,
|
|
67
|
+
"screenshotHash": "ss:a3f2b1c9",
|
|
68
|
+
"baselineScreenshotHash": "ss:b4e1c2d8",
|
|
69
|
+
"isChecklist": true
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"verificationInstructions": "Verification strictness: MODERATE — ..."
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Verdict Format
|
|
77
|
+
|
|
78
|
+
After calling `e2e_screenshot` for each hash (after + baseline), Claude Code reports a structured verdict:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
TEST: dashboard-loads
|
|
82
|
+
VERDICT: PASS
|
|
83
|
+
STATE CHANGE: Page loaded from blank to populated dashboard
|
|
84
|
+
CRITERIA:
|
|
85
|
+
- "Data table visible with at least 3 rows": PASS
|
|
86
|
+
- "No error messages or red banners": PASS
|
|
87
|
+
- "Sidebar shows navigation links": PASS
|
|
88
|
+
REASON: All criteria met, dashboard fully loaded with expected content
|
|
89
|
+
```
|
package/LICENSE
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding any notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2025 Matware
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|