@test-station/cli 0.2.27 → 0.2.29
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 +41 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -269,6 +269,47 @@ Typical prerequisite:
|
|
|
269
269
|
yarn playwright install --with-deps
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
+
### Live UI Performance Benchmarks
|
|
273
|
+
|
|
274
|
+
This repo also carries a manual Playwright benchmark suite for the deployed web interface. It is intended for live-data navigation checks and is not part of the default CI pass.
|
|
275
|
+
|
|
276
|
+
Typical usage:
|
|
277
|
+
|
|
278
|
+
```sh
|
|
279
|
+
yarn playwright install --with-deps chromium
|
|
280
|
+
TEST_STATION_E2E_BASE_URL=https://test-station.smysnk.com yarn test:e2e:performance
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
What it benchmarks:
|
|
284
|
+
|
|
285
|
+
- public home-page readiness with live project and run data
|
|
286
|
+
- sidebar project focus latency
|
|
287
|
+
- run-row navigation into `/runs/[id]`
|
|
288
|
+
- runner-report iframe readiness
|
|
289
|
+
- switching from runner report to operations view
|
|
290
|
+
- navigation from a run into the related project page
|
|
291
|
+
|
|
292
|
+
Artifacts:
|
|
293
|
+
|
|
294
|
+
- summary JSON at `artifacts/e2e-performance/latest.json`
|
|
295
|
+
- timestamped benchmark snapshots under `artifacts/e2e-performance/`
|
|
296
|
+
- Playwright JSON output at `artifacts/e2e-performance/playwright-results.json`
|
|
297
|
+
|
|
298
|
+
Optional environment variables:
|
|
299
|
+
|
|
300
|
+
- `TEST_STATION_E2E_BASE_URL`: target deployment to benchmark
|
|
301
|
+
- `TEST_STATION_E2E_STORAGE_STATE`: optional Playwright storage-state file when the target requires authentication
|
|
302
|
+
- `TEST_STATION_E2E_OUTPUT_DIR`: override the benchmark artifact directory
|
|
303
|
+
- `TEST_STATION_E2E_BUDGET_HOME_READY_MS`
|
|
304
|
+
- `TEST_STATION_E2E_BUDGET_PROJECT_FOCUS_MS`
|
|
305
|
+
- `TEST_STATION_E2E_BUDGET_PROJECT_CLEAR_MS`
|
|
306
|
+
- `TEST_STATION_E2E_BUDGET_RUN_NAVIGATION_MS`
|
|
307
|
+
- `TEST_STATION_E2E_BUDGET_RUNNER_REPORT_READY_MS`
|
|
308
|
+
- `TEST_STATION_E2E_BUDGET_OPERATIONS_VIEW_SWITCH_MS`
|
|
309
|
+
- `TEST_STATION_E2E_BUDGET_PROJECT_PAGE_NAVIGATION_MS`
|
|
310
|
+
|
|
311
|
+
If the app redirects to `/auth/signin` and no storage state is provided, or if there are no public runs/projects visible, the benchmark suite skips rather than failing with misleading timing output.
|
|
312
|
+
|
|
272
313
|
### Publishing CI Runs To `/api/ingest`
|
|
273
314
|
|
|
274
315
|
The deployed server accepts machine reports at `POST /api/ingest` with shared-key auth. The checked-in staging release workflow publishes the self-test report to `https://test-station.smysnk.com/api/ingest`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@test-station/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
".": "./src/index.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@test-station/core": "0.2.
|
|
16
|
-
"@test-station/render-html": "0.2.
|
|
15
|
+
"@test-station/core": "0.2.29",
|
|
16
|
+
"@test-station/render-html": "0.2.29"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"build": "node ../../scripts/check-package.mjs ./src/index.js && node --check ./src/cli.js",
|