@crvouga/atlas 0.0.0-stage → 0.2.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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +649 -2
- package/dist/bun/src/driver.d.ts +67 -0
- package/dist/bun/src/driver.js +90 -0
- package/dist/bun/src/index.d.ts +2 -0
- package/dist/bun/src/index.js +2 -0
- package/dist/core/src/cli.d.ts +1 -0
- package/dist/core/src/cli.js +177 -0
- package/dist/core/src/config.d.ts +477 -0
- package/dist/core/src/config.js +100 -0
- package/dist/core/src/events/cloudevents.d.ts +56 -0
- package/dist/core/src/events/cloudevents.js +152 -0
- package/dist/core/src/graph.d.ts +113 -0
- package/dist/core/src/graph.js +221 -0
- package/dist/core/src/index.d.ts +17 -0
- package/dist/core/src/index.js +17 -0
- package/dist/core/src/lint.d.ts +53 -0
- package/dist/core/src/lint.js +138 -0
- package/dist/core/src/plan.d.ts +109 -0
- package/dist/core/src/plan.js +324 -0
- package/dist/core/src/privacy.d.ts +8 -0
- package/dist/core/src/privacy.js +42 -0
- package/dist/core/src/report/formats.d.ts +69 -0
- package/dist/core/src/report/formats.js +109 -0
- package/dist/core/src/report/markdown.d.ts +8 -0
- package/dist/core/src/report/markdown.js +140 -0
- package/dist/core/src/run/clients.d.ts +42 -0
- package/dist/core/src/run/clients.js +250 -0
- package/dist/core/src/run/execute.d.ts +854 -0
- package/dist/core/src/run/execute.js +877 -0
- package/dist/core/src/run/frames.d.ts +16 -0
- package/dist/core/src/run/frames.js +52 -0
- package/dist/core/src/run/http.d.ts +41 -0
- package/dist/core/src/run/http.js +71 -0
- package/dist/core/src/run/types.d.ts +248 -0
- package/dist/core/src/run/types.js +39 -0
- package/dist/core/src/signals.d.ts +110 -0
- package/dist/core/src/signals.js +121 -0
- package/dist/core/src/spec/compose.d.ts +28 -0
- package/dist/core/src/spec/compose.js +71 -0
- package/dist/core/src/spec/index.d.ts +5 -0
- package/dist/core/src/spec/index.js +5 -0
- package/dist/core/src/spec/load.d.ts +8 -0
- package/dist/core/src/spec/load.js +46 -0
- package/dist/core/src/spec/parse.d.ts +5 -0
- package/dist/core/src/spec/parse.js +32 -0
- package/dist/core/src/spec/scxml.d.ts +19 -0
- package/dist/core/src/spec/scxml.js +239 -0
- package/dist/core/src/spec/types.d.ts +96 -0
- package/dist/core/src/spec/types.js +25 -0
- package/dist/detox/src/index.d.ts +75 -0
- package/dist/detox/src/index.js +110 -0
- package/dist/playwright/src/driver.d.ts +44 -0
- package/dist/playwright/src/driver.js +82 -0
- package/dist/playwright/src/index.d.ts +3 -0
- package/dist/playwright/src/index.js +3 -0
- package/dist/playwright/src/media.d.ts +68 -0
- package/dist/playwright/src/media.js +283 -0
- package/dist/playwright/src/signals.d.ts +34 -0
- package/dist/playwright/src/signals.js +56 -0
- package/dist/reports/src/browser-navigation.d.ts +2 -0
- package/dist/reports/src/browser-navigation.js +28 -0
- package/dist/reports/src/bundle.d.ts +24 -0
- package/dist/reports/src/bundle.js +114 -0
- package/dist/reports/src/catalog.d.ts +37 -0
- package/dist/reports/src/catalog.js +127 -0
- package/dist/reports/src/clock.d.ts +14 -0
- package/dist/reports/src/clock.js +4 -0
- package/dist/reports/src/completion-order.d.ts +10 -0
- package/dist/reports/src/completion-order.js +76 -0
- package/dist/reports/src/evidence-live.d.ts +40 -0
- package/dist/reports/src/evidence-live.js +118 -0
- package/dist/reports/src/evidence-types.d.ts +90 -0
- package/dist/reports/src/evidence-types.js +15 -0
- package/dist/reports/src/evidence-view.d.ts +68 -0
- package/dist/reports/src/evidence-view.js +113 -0
- package/dist/reports/src/explorer-types.d.ts +56 -0
- package/dist/reports/src/explorer-types.js +0 -0
- package/dist/reports/src/explorer-versions.d.ts +4 -0
- package/dist/reports/src/explorer-versions.js +21 -0
- package/dist/reports/src/export-evidence.d.ts +11 -0
- package/dist/reports/src/export-evidence.js +94 -0
- package/dist/reports/src/fetcher.d.ts +50 -0
- package/dist/reports/src/fetcher.js +205 -0
- package/dist/reports/src/format-date.d.ts +1 -0
- package/dist/reports/src/format-date.js +10 -0
- package/dist/reports/src/format.d.ts +16 -0
- package/dist/reports/src/format.js +71 -0
- package/dist/reports/src/frames.d.ts +46 -0
- package/dist/reports/src/frames.js +245 -0
- package/dist/reports/src/hash.d.ts +17 -0
- package/dist/reports/src/hash.js +43 -0
- package/dist/reports/src/html-frame.d.ts +13 -0
- package/dist/reports/src/html-frame.js +63 -0
- package/dist/reports/src/http.d.ts +3 -0
- package/dist/reports/src/http.js +0 -0
- package/dist/reports/src/junit.d.ts +23 -0
- package/dist/reports/src/junit.js +119 -0
- package/dist/reports/src/keyboard.d.ts +16 -0
- package/dist/reports/src/keyboard.js +135 -0
- package/dist/reports/src/keys.d.ts +53 -0
- package/dist/reports/src/keys.js +122 -0
- package/dist/reports/src/layer-catalog.d.ts +5 -0
- package/dist/reports/src/layer-catalog.js +39 -0
- package/dist/reports/src/layer-merge.d.ts +43 -0
- package/dist/reports/src/layer-merge.js +154 -0
- package/dist/reports/src/layer-source.d.ts +6 -0
- package/dist/reports/src/layer-source.js +32 -0
- package/dist/reports/src/layer-store.d.ts +10 -0
- package/dist/reports/src/layer-store.js +36 -0
- package/dist/reports/src/layer-types.d.ts +32 -0
- package/dist/reports/src/layer-types.js +0 -0
- package/dist/reports/src/layers-route.d.ts +20 -0
- package/dist/reports/src/layers-route.js +259 -0
- package/dist/reports/src/namespace-guard.d.ts +11 -0
- package/dist/reports/src/namespace-guard.js +40 -0
- package/dist/reports/src/navigation.d.ts +8 -0
- package/dist/reports/src/navigation.js +0 -0
- package/dist/reports/src/object-io.d.ts +9 -0
- package/dist/reports/src/object-io.js +41 -0
- package/dist/reports/src/object-store.d.ts +67 -0
- package/dist/reports/src/object-store.js +32 -0
- package/dist/reports/src/performance-part.d.ts +9 -0
- package/dist/reports/src/performance-part.js +42 -0
- package/dist/reports/src/performance.d.ts +13 -0
- package/dist/reports/src/performance.js +45 -0
- package/dist/reports/src/persist.d.ts +10 -0
- package/dist/reports/src/persist.js +38 -0
- package/dist/reports/src/phone.d.ts +5 -0
- package/dist/reports/src/phone.js +18 -0
- package/dist/reports/src/protocol.d.ts +78 -0
- package/dist/reports/src/protocol.js +36 -0
- package/dist/reports/src/publication.d.ts +4 -0
- package/dist/reports/src/publication.js +35 -0
- package/dist/reports/src/publish.d.ts +52 -0
- package/dist/reports/src/publish.js +189 -0
- package/dist/reports/src/read.d.ts +62 -0
- package/dist/reports/src/read.js +214 -0
- package/dist/reports/src/recording-bundle.d.ts +22 -0
- package/dist/reports/src/recording-bundle.js +4 -0
- package/dist/reports/src/recording-keys.d.ts +9 -0
- package/dist/reports/src/recording-keys.js +50 -0
- package/dist/reports/src/remote-report.d.ts +39 -0
- package/dist/reports/src/remote-report.js +304 -0
- package/dist/reports/src/report-loader.d.ts +22 -0
- package/dist/reports/src/report-loader.js +0 -0
- package/dist/reports/src/report-parts.d.ts +10 -0
- package/dist/reports/src/report-parts.js +112 -0
- package/dist/reports/src/report-types.d.ts +194 -0
- package/dist/reports/src/report-types.js +29 -0
- package/dist/reports/src/reports-explorer-route.d.ts +90 -0
- package/dist/reports/src/reports-explorer-route.js +65 -0
- package/dist/reports/src/reports-list-route.d.ts +23 -0
- package/dist/reports/src/reports-list-route.js +55 -0
- package/dist/reports/src/reports-route.d.ts +267 -0
- package/dist/reports/src/reports-route.js +204 -0
- package/dist/reports/src/reports-store.d.ts +11 -0
- package/dist/reports/src/reports-store.js +28 -0
- package/dist/reports/src/resilient-cache.d.ts +3 -0
- package/dist/reports/src/resilient-cache.js +33 -0
- package/dist/reports/src/retention.d.ts +9 -0
- package/dist/reports/src/retention.js +16 -0
- package/dist/reports/src/scenario.d.ts +15 -0
- package/dist/reports/src/scenario.js +35 -0
- package/dist/reports/src/snapshot-bundle.d.ts +18 -0
- package/dist/reports/src/snapshot-bundle.js +94 -0
- package/dist/reports/src/snapshot-surface.d.ts +29 -0
- package/dist/reports/src/snapshot-surface.js +339 -0
- package/dist/reports/src/source-content.d.ts +30 -0
- package/dist/reports/src/source-content.js +63 -0
- package/dist/reports/src/source-entries.d.ts +4 -0
- package/dist/reports/src/source-entries.js +34 -0
- package/dist/reports/src/source-part.d.ts +4 -0
- package/dist/reports/src/source-part.js +66 -0
- package/dist/reports/src/source-reader.d.ts +6 -0
- package/dist/reports/src/source-reader.js +17 -0
- package/dist/reports/src/spec-evidence.d.ts +6 -0
- package/dist/reports/src/spec-evidence.js +20 -0
- package/dist/reports/src/spec-inventory.d.ts +14 -0
- package/dist/reports/src/spec-inventory.js +75 -0
- package/dist/reports/src/status.d.ts +4 -0
- package/dist/reports/src/status.js +8 -0
- package/dist/reports/src/store-prefix.d.ts +21 -0
- package/dist/reports/src/store-prefix.js +53 -0
- package/dist/reports/src/test-catalog-entity.d.ts +3 -0
- package/dist/reports/src/test-catalog-entity.js +34 -0
- package/dist/reports/src/types.d.ts +5 -0
- package/dist/reports/src/types.js +0 -0
- package/dist/reports/src/use-report-nav.d.ts +25 -0
- package/dist/reports/src/use-report-nav.js +181 -0
- package/dist/schema/src/common.d.ts +57 -0
- package/dist/schema/src/common.js +32 -0
- package/dist/schema/src/index.d.ts +5 -0
- package/dist/schema/src/index.js +5 -0
- package/dist/schema/src/manifest.d.ts +457 -0
- package/dist/schema/src/manifest.js +247 -0
- package/dist/schema/src/report-sources.d.ts +68 -0
- package/dist/schema/src/report-sources.js +53 -0
- package/dist/schema/src/runs-index.d.ts +52 -0
- package/dist/schema/src/runs-index.js +24 -0
- package/dist/schema/src/spec.d.ts +245 -0
- package/dist/schema/src/spec.js +133 -0
- package/dist/vitest/src/index.d.ts +22 -0
- package/dist/vitest/src/index.js +33 -0
- package/dist/webdriver/src/driver.d.ts +69 -0
- package/dist/webdriver/src/driver.js +230 -0
- package/dist/webdriver/src/index.d.ts +11 -0
- package/dist/webdriver/src/index.js +10 -0
- package/dist/webdriver/src/protocol.d.ts +60 -0
- package/dist/webdriver/src/protocol.js +146 -0
- package/package.json +181 -4
- package/packages/bun/README.md +69 -0
- package/packages/core/README.md +78 -0
- package/packages/core/bin/atlas.mjs +8 -0
- package/packages/detox/README.md +73 -0
- package/packages/playwright/README.md +77 -0
- package/packages/reports/README.md +47 -0
- package/packages/reports/STORAGE.md +73 -0
- package/packages/schema/README.md +23 -0
- package/packages/schema/schemas/atlas-change.schema.json +34 -0
- package/packages/schema/schemas/atlas.schema.json +32 -0
- package/packages/schema/schemas/cloud-event.schema.json +40 -0
- package/packages/schema/schemas/journeys.schema.json +17 -0
- package/packages/schema/schemas/manifest.schema.json +160 -0
- package/packages/schema/schemas/path-record.schema.json +151 -0
- package/packages/schema/schemas/report-sources.schema.json +95 -0
- package/packages/schema/schemas/run-info.schema.json +176 -0
- package/packages/schema/schemas/run-summary.schema.json +206 -0
- package/packages/schema/schemas/runs-index.schema.json +23 -0
- package/packages/schema/schemas/state-node.schema.json +238 -0
- package/packages/schema/schemas/state-record.schema.json +354 -0
- package/packages/schema/schemas/timeline-entry.schema.json +124 -0
- package/packages/schema/schemas/transition-record.schema.json +125 -0
- package/packages/visualizer/README.md +154 -0
- package/packages/visualizer/bin/atlas-visualizer.mjs +176 -0
- package/packages/visualizer/example/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/example/specs/coffee/ordering/journeys.yaml +129 -0
- package/packages/visualizer/example/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/example/specs/coffee/ordering/machine.yaml +158 -0
- package/packages/visualizer/example/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/chart.mmd +67 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/ctrf.json +245 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/junit.xml +12 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/manifest.json +2003 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/001.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/002.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/003.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/004.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/005.vtt +17 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/006.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/007.vtt +17 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/008.vtt +17 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/009.vtt +13 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/010.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/011.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/012.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/013.vtt +9 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.mp4 +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.poster.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.mp4 +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.poster.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/03.mp4 +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/03.poster.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/04.mp4 +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/04.poster.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/04.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/04.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/05.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/05.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-2/01.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-2/01.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-3/failed-01.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-3/failed-01.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-4/01.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-4/01.webp +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-5/01.png +0 -0
- package/packages/visualizer/fixtures/failures/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-5/01.webp +0 -0
- package/packages/visualizer/fixtures/failures/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/fixtures/failures/specs/coffee/ordering/journeys.yaml +129 -0
- package/packages/visualizer/fixtures/failures/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/fixtures/failures/specs/coffee/ordering/machine.yaml +158 -0
- package/packages/visualizer/fixtures/failures/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-02T09-10-00-000Z-fast/chart.mmd +67 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-02T09-10-00-000Z-fast/ctrf.json +247 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-02T09-10-00-000Z-fast/junit.xml +12 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-02T09-10-00-000Z-fast/manifest.json +1875 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/chart.mmd +67 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/ctrf.json +244 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/junit.xml +12 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/manifest.json +1977 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/captions/001.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/captions/002.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/captions/003.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/captions/004.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/captions/005.vtt +17 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/captions/006.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/clips/journey-1/01.mp4 +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/clips/journey-1/01.poster.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/clips/journey-1/02.mp4 +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/clips/journey-1/02.poster.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-1/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-1/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-1/02.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-1/02.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-1/03.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-1/03.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-2/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-04T16-20-00-000Z-showcase/media/paths/journey-2/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/chart.mmd +67 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/ctrf.json +472 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/junit.xml +16 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/manifest.json +3701 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/001.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/002.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/003.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/004.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/005.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/006.vtt +13 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/007.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/008.vtt +13 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/009.vtt +17 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/010.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/011.vtt +13 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/012.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/013.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/014.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/015.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/016.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/017.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/018.vtt +17 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/019.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/020.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/021.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/022.vtt +17 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/023.vtt +17 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/024.vtt +13 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/025.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/026.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/027.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/028.vtt +9 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.mp4 +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.poster.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.mp4 +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.poster.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/03.mp4 +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/03.poster.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/04.mp4 +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/04.poster.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/04.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/04.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/05.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/05.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/06.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/06.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/07.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/07.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/08.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/08.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/09.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/09.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/10.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/10.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/11.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/11.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/12.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/12.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/13.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/13.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/14.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/14.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-2/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-2/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-3/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-3/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-4/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-4/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-5/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-5/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-6/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-6/01.webp +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-7/01.png +0 -0
- package/packages/visualizer/fixtures/full/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-7/01.webp +0 -0
- package/packages/visualizer/fixtures/full/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/fixtures/full/specs/coffee/ordering/journeys.yaml +129 -0
- package/packages/visualizer/fixtures/full/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/fixtures/full/specs/coffee/ordering/machine.yaml +158 -0
- package/packages/visualizer/fixtures/full/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/fixtures/large/runs/2026-10-06T14-40-00-000Z-fast/ctrf.json +1280 -0
- package/packages/visualizer/fixtures/large/runs/2026-10-06T14-40-00-000Z-fast/junit.xml +26 -0
- package/packages/visualizer/fixtures/large/runs/2026-10-06T14-40-00-000Z-fast/manifest.json +28393 -0
- package/packages/visualizer/fixtures/large/specs/accounts/sign-up/identity-check.machine.yaml +397 -0
- package/packages/visualizer/fixtures/large/specs/accounts/sign-up/journeys.yaml +129 -0
- package/packages/visualizer/fixtures/large/specs/accounts/sign-up/machine.yaml +830 -0
- package/packages/visualizer/fixtures/large/specs/atlas.yaml +65 -0
- package/packages/visualizer/fixtures/large/specs/billing/invoices/journeys.yaml +132 -0
- package/packages/visualizer/fixtures/large/specs/billing/invoices/machine.yaml +830 -0
- package/packages/visualizer/fixtures/large/specs/billing/invoices/refund-handling.scxml +288 -0
- package/packages/visualizer/fixtures/large/specs/catalog/browsing/journeys.yaml +126 -0
- package/packages/visualizer/fixtures/large/specs/catalog/browsing/machine.yaml +831 -0
- package/packages/visualizer/fixtures/large/specs/catalog/browsing/product-comparison.machine.yaml +395 -0
- package/packages/visualizer/fixtures/large/specs/orders/checkout/journeys.yaml +120 -0
- package/packages/visualizer/fixtures/large/specs/orders/checkout/machine.yaml +724 -0
- package/packages/visualizer/fixtures/large/specs/orders/checkout/open-questions.md +16 -0
- package/packages/visualizer/fixtures/large/specs/orders/checkout/payment.scxml +288 -0
- package/packages/visualizer/fixtures/large/specs/shipping/deliveries/delivery-scheduling.machine.yaml +397 -0
- package/packages/visualizer/fixtures/large/specs/shipping/deliveries/journeys.yaml +132 -0
- package/packages/visualizer/fixtures/large/specs/shipping/deliveries/known-issues.md +13 -0
- package/packages/visualizer/fixtures/large/specs/shipping/deliveries/machine.yaml +830 -0
- package/packages/visualizer/fixtures/large/specs/support/tickets/escalation.machine.yaml +395 -0
- package/packages/visualizer/fixtures/large/specs/support/tickets/journeys.yaml +123 -0
- package/packages/visualizer/fixtures/large/specs/support/tickets/machine.yaml +720 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T10-00-00-000Z-showcase/manifest.json +68 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T11-00-00-000Z-showcase/ctrf.json +50 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T11-00-00-000Z-showcase/junit.xml +6 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T11-00-00-000Z-showcase/manifest.json +1281 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T12-00-00-000Z-showcase/ctrf.json +50 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T12-00-00-000Z-showcase/junit.xml +6 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T12-00-00-000Z-showcase/manifest.json +1232 -0
- package/packages/visualizer/fixtures/malformed/runs/2026-10-06T13-00-00-000Z-showcase/manifest.json +1244 -0
- package/packages/visualizer/fixtures/malformed/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/fixtures/malformed/specs/coffee/ordering/journeys.yaml +134 -0
- package/packages/visualizer/fixtures/malformed/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/fixtures/malformed/specs/coffee/ordering/loyalty.scxml +4 -0
- package/packages/visualizer/fixtures/malformed/specs/coffee/ordering/machine.yaml +156 -0
- package/packages/visualizer/fixtures/malformed/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/chart.mmd +67 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/ctrf.json +149 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/junit.xml +9 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/manifest.json +1718 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/001.vtt +9 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/002.vtt +17 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/003.vtt +17 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/004.vtt +9 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/005.vtt +9 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.mp4 +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.poster.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.mp4 +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.poster.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/03.mp4 +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/03.poster.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/05.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/05.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-3/01.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-3/01.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T15-05-00-000Z-showcase/media/paths/journey-1/00-start-01.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T15-05-00-000Z-showcase/media/paths/journey-1/00-start-01.webp +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T15-05-00-000Z-showcase/media/paths/journey-1/02.png +0 -0
- package/packages/visualizer/fixtures/partial/runs/2026-10-06T15-05-00-000Z-showcase/media/paths/journey-1/02.webp +0 -0
- package/packages/visualizer/fixtures/partial/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/fixtures/partial/specs/coffee/ordering/journeys.yaml +129 -0
- package/packages/visualizer/fixtures/partial/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/fixtures/partial/specs/coffee/ordering/machine.yaml +158 -0
- package/packages/visualizer/fixtures/partial/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/ctrf.json +79 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/junit.xml +7 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/manifest.json +1504 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/001.vtt +9 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/002.vtt +9 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/003.vtt +9 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/captions/004.vtt +17 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.mp4 +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/01.poster.webp +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.mp4 +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/clips/journey-1/02.poster.webp +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.png +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/01.webp +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.png +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/02.webp +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.png +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/03.webp +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/04.png +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-1/04.webp +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-2/01.png +0 -0
- package/packages/visualizer/fixtures/removed/runs/2026-10-06T14-40-00-000Z-showcase/media/paths/journey-2/01.webp +0 -0
- package/packages/visualizer/fixtures/removed/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/fixtures/removed/specs/coffee/ordering/journeys.yaml +129 -0
- package/packages/visualizer/fixtures/removed/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/fixtures/removed/specs/coffee/ordering/machine.yaml +158 -0
- package/packages/visualizer/fixtures/removed/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/fixtures/spec-only/runs/.gitkeep +0 -0
- package/packages/visualizer/fixtures/spec-only/specs/coffee/ordering/checkout.scxml +82 -0
- package/packages/visualizer/fixtures/spec-only/specs/coffee/ordering/journeys.yaml +129 -0
- package/packages/visualizer/fixtures/spec-only/specs/coffee/ordering/known-issues.md +14 -0
- package/packages/visualizer/fixtures/spec-only/specs/coffee/ordering/machine.yaml +158 -0
- package/packages/visualizer/fixtures/spec-only/specs/coffee/ordering/open-questions.md +25 -0
- package/packages/visualizer/index.html +13 -0
- package/packages/visualizer/scripts/make-fixtures.ts +1490 -0
- package/packages/visualizer/scripts/publish-data.ts +22 -0
- package/packages/visualizer/src/app/AppShell.tsx +56 -0
- package/packages/visualizer/src/app/atlas-context.tsx +23 -0
- package/packages/visualizer/src/app/gazetteer.module.css +97 -0
- package/packages/visualizer/src/app/gazetteer.tsx +105 -0
- package/packages/visualizer/src/app/report-sources.tsx +122 -0
- package/packages/visualizer/src/app/router.tsx +69 -0
- package/packages/visualizer/src/app/search-query.tsx +14 -0
- package/packages/visualizer/src/components/DataIssues.module.css +136 -0
- package/packages/visualizer/src/components/DataIssues.tsx +70 -0
- package/packages/visualizer/src/components/Header.module.css +189 -0
- package/packages/visualizer/src/components/Header.tsx +127 -0
- package/packages/visualizer/src/components/Legend.module.css +84 -0
- package/packages/visualizer/src/components/Legend.tsx +50 -0
- package/packages/visualizer/src/components/Screen.module.css +312 -0
- package/packages/visualizer/src/components/Screen.tsx +141 -0
- package/packages/visualizer/src/components/Status.module.css +116 -0
- package/packages/visualizer/src/components/Status.tsx +60 -0
- package/packages/visualizer/src/components/icons.tsx +156 -0
- package/packages/visualizer/src/components/labels.tsx +22 -0
- package/packages/visualizer/src/data/adapters/adapter.ts +112 -0
- package/packages/visualizer/src/data/adapters/context.tsx +11 -0
- package/packages/visualizer/src/data/adapters/index.ts +29 -0
- package/packages/visualizer/src/data/adapters/report-backend.test.ts +96 -0
- package/packages/visualizer/src/data/adapters/report-backend.ts +42 -0
- package/packages/visualizer/src/data/fixtures.test.ts +407 -0
- package/packages/visualizer/src/data/model/build.ts +418 -0
- package/packages/visualizer/src/data/model/event-kind.test.ts +59 -0
- package/packages/visualizer/src/data/model/event-kind.ts +54 -0
- package/packages/visualizer/src/data/model/index.ts +3 -0
- package/packages/visualizer/src/data/model/journeys.test.ts +159 -0
- package/packages/visualizer/src/data/model/journeys.ts +29 -0
- package/packages/visualizer/src/data/model/simulation.test.ts +115 -0
- package/packages/visualizer/src/data/model/simulation.ts +187 -0
- package/packages/visualizer/src/data/model/status.test.ts +34 -0
- package/packages/visualizer/src/data/model/status.ts +43 -0
- package/packages/visualizer/src/data/model/types.ts +280 -0
- package/packages/visualizer/src/data/parse/issues.test.ts +82 -0
- package/packages/visualizer/src/data/parse/issues.ts +114 -0
- package/packages/visualizer/src/data/parse/manifest.ts +173 -0
- package/packages/visualizer/src/data/parse/markdown.test.ts +119 -0
- package/packages/visualizer/src/data/parse/markdown.ts +133 -0
- package/packages/visualizer/src/data/parse/spec.test.ts +106 -0
- package/packages/visualizer/src/data/parse/spec.ts +557 -0
- package/packages/visualizer/src/data/parse/structured.ts +44 -0
- package/packages/visualizer/src/data/queries.ts +369 -0
- package/packages/visualizer/src/data/testing/load-fixture.ts +63 -0
- package/packages/visualizer/src/evidence/api.ts +41 -0
- package/packages/visualizer/src/evidence/check-detail.tsx +257 -0
- package/packages/visualizer/src/evidence/decision-table.tsx +68 -0
- package/packages/visualizer/src/evidence/document-page.tsx +40 -0
- package/packages/visualizer/src/evidence/evidence-context.tsx +159 -0
- package/packages/visualizer/src/evidence/evidence.module.css +877 -0
- package/packages/visualizer/src/evidence/feature-page.tsx +88 -0
- package/packages/visualizer/src/evidence/format.ts +56 -0
- package/packages/visualizer/src/evidence/gherkin.ts +98 -0
- package/packages/visualizer/src/evidence/marks.tsx +118 -0
- package/packages/visualizer/src/evidence/model-page.tsx +60 -0
- package/packages/visualizer/src/evidence/model-trace.tsx +57 -0
- package/packages/visualizer/src/evidence/overview.tsx +134 -0
- package/packages/visualizer/src/evidence/quint.ts +45 -0
- package/packages/visualizer/src/evidence/recording-page.tsx +69 -0
- package/packages/visualizer/src/evidence/recording.module.css +464 -0
- package/packages/visualizer/src/evidence/recording.tsx +197 -0
- package/packages/visualizer/src/evidence/snapshot.tsx +108 -0
- package/packages/visualizer/src/evidence/sources-panel.tsx +134 -0
- package/packages/visualizer/src/evidence/sources.module.css +168 -0
- package/packages/visualizer/src/evidence/spec-header.tsx +64 -0
- package/packages/visualizer/src/evidence/spec-index.tsx +82 -0
- package/packages/visualizer/src/evidence/spec-page.tsx +92 -0
- package/packages/visualizer/src/evidence/spec-snapshot.tsx +26 -0
- package/packages/visualizer/src/layout/graph.test.ts +113 -0
- package/packages/visualizer/src/layout/graph.ts +324 -0
- package/packages/visualizer/src/layout/layout.ts +237 -0
- package/packages/visualizer/src/layout/use-chart-layout.ts +18 -0
- package/packages/visualizer/src/main.tsx +31 -0
- package/packages/visualizer/src/map/ChartMap.tsx +252 -0
- package/packages/visualizer/src/map/EventEdge.tsx +138 -0
- package/packages/visualizer/src/map/map.module.css +546 -0
- package/packages/visualizer/src/map/nodes.tsx +145 -0
- package/packages/visualizer/src/map/path.ts +24 -0
- package/packages/visualizer/src/reachable.test.ts +54 -0
- package/packages/visualizer/src/spec-kind.test.ts +27 -0
- package/packages/visualizer/src/spec-kind.ts +56 -0
- package/packages/visualizer/src/state/ui-store.ts +44 -0
- package/packages/visualizer/src/styles/global.css +105 -0
- package/packages/visualizer/src/styles/tokens.css +80 -0
- package/packages/visualizer/src/views/ChartPage.tsx +52 -0
- package/packages/visualizer/src/views/ProductPage.tsx +35 -0
- package/packages/visualizer/src/views/SidePanel.tsx +339 -0
- package/packages/visualizer/src/views/views.module.css +546 -0
- package/packages/visualizer/vite/atlas-dev-plugin.ts +169 -0
- package/packages/visualizer/vite/atlas-files.test.ts +119 -0
- package/packages/visualizer/vite/atlas-files.ts +199 -0
- package/packages/visualizer/vite/publish.test.ts +52 -0
- package/packages/visualizer/vite/publish.ts +99 -0
- package/packages/visualizer/vite/reports-dev-plugin.ts +82 -0
- package/packages/visualizer/vite.config.ts +13 -0
- package/packages/vitest/README.md +58 -0
- package/packages/webdriver/README.md +77 -0
|
@@ -0,0 +1,854 @@
|
|
|
1
|
+
import type { BusinessEventResult } from '../events/cloudevents.js';
|
|
2
|
+
import type { ChartGraph } from '../graph.js';
|
|
3
|
+
import type { ChartScope, PlannedJourney, PlannedPath, PlannedStep } from '../plan.js';
|
|
4
|
+
import type { Composition } from '../spec/compose.js';
|
|
5
|
+
import type { SpecBundle } from '../spec/types.js';
|
|
6
|
+
import type { CheckResult, Clip, Driver, EventMatcher, EventSource, Image, Implementation, PrivacyRules, RecognizerResult, RunMode, Status, TimelineEntry } from './types.js';
|
|
7
|
+
/** A seed as the plan sees it: where it starts, and whether it can run yet. */
|
|
8
|
+
export type PlannedSeed = {
|
|
9
|
+
name: string;
|
|
10
|
+
active: string[];
|
|
11
|
+
blocked?: string;
|
|
12
|
+
};
|
|
13
|
+
/** One shard of a run split across machines: `index` is 1-based. */
|
|
14
|
+
export type Shard = {
|
|
15
|
+
index: number;
|
|
16
|
+
count: number;
|
|
17
|
+
};
|
|
18
|
+
/** What a run reports about: the spec, the scope, and the implementation's metadata. */
|
|
19
|
+
export type RunContext<C> = {
|
|
20
|
+
bundle: SpecBundle;
|
|
21
|
+
composition: Composition;
|
|
22
|
+
graph: ChartGraph;
|
|
23
|
+
scope: ChartScope;
|
|
24
|
+
implementation: Implementation<C>;
|
|
25
|
+
/** The journeys of the plan, as the paths they are cut into; journeys are reported from them. */
|
|
26
|
+
journeys?: PlannedJourney[];
|
|
27
|
+
seeds?: PlannedSeed[];
|
|
28
|
+
eventMatchers?: Record<string, EventMatcher>;
|
|
29
|
+
privacy?: PrivacyRules;
|
|
30
|
+
/** Recorded in the manifest as the run's environment. */
|
|
31
|
+
environment?: Record<string, unknown>;
|
|
32
|
+
};
|
|
33
|
+
export type RunOptions<C> = RunContext<C> & {
|
|
34
|
+
paths: PlannedPath[];
|
|
35
|
+
driver: Driver<C>;
|
|
36
|
+
mode: RunMode;
|
|
37
|
+
/** Runs land in `<outputRoot>/<run-id>/`. */
|
|
38
|
+
outputRoot: string;
|
|
39
|
+
retry?: boolean;
|
|
40
|
+
stepTimeoutMs?: number;
|
|
41
|
+
eventSources?: EventSource[];
|
|
42
|
+
/** Path attempts that run at once, capped by the driver's `concurrency`; 1 when omitted. */
|
|
43
|
+
workers?: number;
|
|
44
|
+
/** Reported in the manifest when the paths are one shard of a larger run. */
|
|
45
|
+
shard?: Shard;
|
|
46
|
+
/** Passed outcomes of an earlier run to keep instead of running those paths again. */
|
|
47
|
+
reuse?: {
|
|
48
|
+
runDir: string;
|
|
49
|
+
outcomes: Record<string, PathOutcome>;
|
|
50
|
+
};
|
|
51
|
+
log?: (line: string) => void;
|
|
52
|
+
};
|
|
53
|
+
type StepResult = {
|
|
54
|
+
transition: string;
|
|
55
|
+
event: string;
|
|
56
|
+
status: Status;
|
|
57
|
+
reason: string | null;
|
|
58
|
+
};
|
|
59
|
+
type Attempt = {
|
|
60
|
+
status: 'passed' | 'failed';
|
|
61
|
+
error: string | null;
|
|
62
|
+
stoppedAt: string | null;
|
|
63
|
+
trace: string | null;
|
|
64
|
+
traces?: Record<string, string>;
|
|
65
|
+
};
|
|
66
|
+
type Observed = {
|
|
67
|
+
step: PlannedStep;
|
|
68
|
+
target: string;
|
|
69
|
+
clip: (Clip & {
|
|
70
|
+
captions?: string;
|
|
71
|
+
}) | null;
|
|
72
|
+
timeline: TimelineEntry[];
|
|
73
|
+
events: BusinessEventResult;
|
|
74
|
+
recognizer: RecognizerResult;
|
|
75
|
+
shot: Image | null;
|
|
76
|
+
transient: boolean;
|
|
77
|
+
checks: CheckResult[];
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Everything one path's run produced, with media paths relative to the run directory. A run's
|
|
81
|
+
* manifest is a pure function of its plan and these outcomes, folded in plan order, so outcomes
|
|
82
|
+
* from parallel workers, shards and earlier runs compose into the same report.
|
|
83
|
+
*/
|
|
84
|
+
export type PathOutcome = {
|
|
85
|
+
id: string;
|
|
86
|
+
key: string;
|
|
87
|
+
status: Status;
|
|
88
|
+
attempts: Attempt[];
|
|
89
|
+
steps: StepResult[];
|
|
90
|
+
stoppedAt: string | null;
|
|
91
|
+
observed: Observed[];
|
|
92
|
+
failure: {
|
|
93
|
+
state: string;
|
|
94
|
+
recognizer: RecognizerResult | null;
|
|
95
|
+
looksLike: string[];
|
|
96
|
+
shot: Image | null;
|
|
97
|
+
} | null;
|
|
98
|
+
leaks: string[];
|
|
99
|
+
durationMs: number;
|
|
100
|
+
/** How long the last attempt took to seed (or set up) and recognise its start. */
|
|
101
|
+
setupMs?: number;
|
|
102
|
+
/** The run the outcome was taken from, when it was reused rather than run again. */
|
|
103
|
+
reusedFrom?: string;
|
|
104
|
+
};
|
|
105
|
+
/** A rough cost of a path before it has ever run: setting it up, then each step. */
|
|
106
|
+
export declare const estimateMs: (p: PlannedPath) => number;
|
|
107
|
+
/**
|
|
108
|
+
* The paths one shard runs: longest first onto the least loaded shard, by the plan alone, so
|
|
109
|
+
* every machine computes the same split. Paths reported without running go to the first shard.
|
|
110
|
+
*/
|
|
111
|
+
export declare function shardPaths(paths: PlannedPath[], shard: Shard): PlannedPath[];
|
|
112
|
+
/** The plan keys and outcomes a run wrote, for merging shards and reusing passed paths. */
|
|
113
|
+
export declare function readOutcomes(runDir: string): {
|
|
114
|
+
runId: string;
|
|
115
|
+
outcomes: Record<string, PathOutcome>;
|
|
116
|
+
} | null;
|
|
117
|
+
/** How long each path took in the newest run under `outputRoot` that recorded it, by path key. */
|
|
118
|
+
export declare function durationHistory(outputRoot: string): Record<string, number>;
|
|
119
|
+
/** The newest run under `outputRoot` that wrote outcomes. */
|
|
120
|
+
export declare function latestRun(outputRoot: string): string | null;
|
|
121
|
+
/**
|
|
122
|
+
* Fold path outcomes into the run's report, in plan order: the same plan and outcomes always give
|
|
123
|
+
* the same manifest, however many workers ran them, in whatever order they finished.
|
|
124
|
+
*/
|
|
125
|
+
export declare function buildManifest<C>(context: RunContext<C>, paths: PlannedPath[], outcomes: Map<string, PathOutcome>, run: {
|
|
126
|
+
id: string;
|
|
127
|
+
startedAt: Date;
|
|
128
|
+
finished: boolean;
|
|
129
|
+
mode: RunMode;
|
|
130
|
+
driver: {
|
|
131
|
+
name: string;
|
|
132
|
+
clients?: Record<string, string>;
|
|
133
|
+
};
|
|
134
|
+
activePaths?: string[];
|
|
135
|
+
extra?: Record<string, unknown>;
|
|
136
|
+
}): {
|
|
137
|
+
$schema: string;
|
|
138
|
+
schemaVersion: number;
|
|
139
|
+
run: {
|
|
140
|
+
id: string;
|
|
141
|
+
startedAt: string;
|
|
142
|
+
finishedAt: string | null;
|
|
143
|
+
progress: {
|
|
144
|
+
totalPaths: number;
|
|
145
|
+
completedPaths: number;
|
|
146
|
+
activePaths: string[];
|
|
147
|
+
updatedAt: string;
|
|
148
|
+
};
|
|
149
|
+
durationMs: number;
|
|
150
|
+
commit: string | null;
|
|
151
|
+
branch: string | null;
|
|
152
|
+
environment: {
|
|
153
|
+
clients?: Record<string, string> | undefined;
|
|
154
|
+
driver: string;
|
|
155
|
+
};
|
|
156
|
+
mode: RunMode;
|
|
157
|
+
specVersion: string;
|
|
158
|
+
specDirectory: string;
|
|
159
|
+
approvals: unknown[];
|
|
160
|
+
scope: {
|
|
161
|
+
state?: string | undefined;
|
|
162
|
+
chart: string;
|
|
163
|
+
start: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
charts: {
|
|
167
|
+
id: string;
|
|
168
|
+
file: string;
|
|
169
|
+
description: string;
|
|
170
|
+
parentState: string | null;
|
|
171
|
+
handOffs: {
|
|
172
|
+
[k: string]: string;
|
|
173
|
+
};
|
|
174
|
+
}[];
|
|
175
|
+
map: {
|
|
176
|
+
nodes: {
|
|
177
|
+
id: string;
|
|
178
|
+
parent: string | null;
|
|
179
|
+
chart: string;
|
|
180
|
+
type: string;
|
|
181
|
+
initial: string | null;
|
|
182
|
+
inScope: boolean;
|
|
183
|
+
}[];
|
|
184
|
+
edges: {
|
|
185
|
+
id: string;
|
|
186
|
+
source: string;
|
|
187
|
+
target: string;
|
|
188
|
+
event: string;
|
|
189
|
+
kind: import('./types.js').EventKind;
|
|
190
|
+
inScope: boolean;
|
|
191
|
+
}[];
|
|
192
|
+
};
|
|
193
|
+
states: {
|
|
194
|
+
[k: string]: {
|
|
195
|
+
status: Status;
|
|
196
|
+
screenshot: Image | null;
|
|
197
|
+
screenshotsByPath: Record<string, Image>;
|
|
198
|
+
recognizer: RecognizerResult | null;
|
|
199
|
+
looksLike: string[];
|
|
200
|
+
businessEvents: BusinessEventResult | null;
|
|
201
|
+
checks: CheckResult[];
|
|
202
|
+
reachedBy: string[];
|
|
203
|
+
notes: string[];
|
|
204
|
+
confidence: "confirmed" | "assumed";
|
|
205
|
+
source: string[];
|
|
206
|
+
expectedEvents: string[];
|
|
207
|
+
seeds?: string[] | undefined;
|
|
208
|
+
client?: string | undefined;
|
|
209
|
+
name: string;
|
|
210
|
+
chart: string | null;
|
|
211
|
+
description: string;
|
|
212
|
+
snapshot: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
transitions: {
|
|
216
|
+
[k: string]: {
|
|
217
|
+
status: Status;
|
|
218
|
+
clip: (Clip & {
|
|
219
|
+
captions?: string;
|
|
220
|
+
}) | null;
|
|
221
|
+
timeline: TimelineEntry[];
|
|
222
|
+
reason: string | null;
|
|
223
|
+
reachedBy: string[];
|
|
224
|
+
client?: string | undefined;
|
|
225
|
+
id: string;
|
|
226
|
+
source: string;
|
|
227
|
+
target: string | null;
|
|
228
|
+
event: string;
|
|
229
|
+
kind: import('./types.js').EventKind;
|
|
230
|
+
how: string | null;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
paths: {
|
|
234
|
+
id: string;
|
|
235
|
+
key: string;
|
|
236
|
+
name: string;
|
|
237
|
+
kind: PlannedPath["kind"];
|
|
238
|
+
status: Status;
|
|
239
|
+
attempts: Attempt[];
|
|
240
|
+
steps: StepResult[];
|
|
241
|
+
stoppedAt: string | null;
|
|
242
|
+
seed?: string;
|
|
243
|
+
durationMs?: number;
|
|
244
|
+
setupMs?: number;
|
|
245
|
+
reusedFrom?: string;
|
|
246
|
+
}[];
|
|
247
|
+
journeys: {
|
|
248
|
+
name: string;
|
|
249
|
+
description: string;
|
|
250
|
+
status: Status | "not-run";
|
|
251
|
+
paths: string[];
|
|
252
|
+
stoppedAt: string | null;
|
|
253
|
+
}[];
|
|
254
|
+
seeds: {
|
|
255
|
+
paths: string[];
|
|
256
|
+
verifiedBy: string[];
|
|
257
|
+
blocked?: string | undefined;
|
|
258
|
+
for?: string[] | undefined;
|
|
259
|
+
shows?: string | undefined;
|
|
260
|
+
name: string;
|
|
261
|
+
at: string[];
|
|
262
|
+
how: string | null;
|
|
263
|
+
}[];
|
|
264
|
+
coverage: {
|
|
265
|
+
[x: string]: {
|
|
266
|
+
states: {
|
|
267
|
+
total: number;
|
|
268
|
+
passed: number;
|
|
269
|
+
failed: number;
|
|
270
|
+
flaky: number;
|
|
271
|
+
notReached: number;
|
|
272
|
+
};
|
|
273
|
+
transitions: {
|
|
274
|
+
total: number;
|
|
275
|
+
passed: number;
|
|
276
|
+
failed: number;
|
|
277
|
+
flaky: number;
|
|
278
|
+
notReached: number;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
overall: {
|
|
282
|
+
states: {
|
|
283
|
+
total: number;
|
|
284
|
+
passed: number;
|
|
285
|
+
failed: number;
|
|
286
|
+
flaky: number;
|
|
287
|
+
notReached: number;
|
|
288
|
+
};
|
|
289
|
+
transitions: {
|
|
290
|
+
total: number;
|
|
291
|
+
passed: number;
|
|
292
|
+
failed: number;
|
|
293
|
+
flaky: number;
|
|
294
|
+
notReached: number;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
privacy: {
|
|
299
|
+
findings: string[];
|
|
300
|
+
passed: boolean;
|
|
301
|
+
};
|
|
302
|
+
reports: {
|
|
303
|
+
junit: string;
|
|
304
|
+
ctrf: string;
|
|
305
|
+
mermaid: string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
export type Manifest = ReturnType<typeof buildManifest>;
|
|
309
|
+
/** Write a run's manifest, reports and outcomes; returns the manifest. */
|
|
310
|
+
export declare function writeRun<C>(runDir: string, context: RunContext<C>, paths: PlannedPath[], outcomes: Map<string, PathOutcome>, run: Parameters<typeof buildManifest>[3]): {
|
|
311
|
+
$schema: string;
|
|
312
|
+
schemaVersion: number;
|
|
313
|
+
run: {
|
|
314
|
+
id: string;
|
|
315
|
+
startedAt: string;
|
|
316
|
+
finishedAt: string | null;
|
|
317
|
+
progress: {
|
|
318
|
+
totalPaths: number;
|
|
319
|
+
completedPaths: number;
|
|
320
|
+
activePaths: string[];
|
|
321
|
+
updatedAt: string;
|
|
322
|
+
};
|
|
323
|
+
durationMs: number;
|
|
324
|
+
commit: string | null;
|
|
325
|
+
branch: string | null;
|
|
326
|
+
environment: {
|
|
327
|
+
clients?: Record<string, string> | undefined;
|
|
328
|
+
driver: string;
|
|
329
|
+
};
|
|
330
|
+
mode: RunMode;
|
|
331
|
+
specVersion: string;
|
|
332
|
+
specDirectory: string;
|
|
333
|
+
approvals: unknown[];
|
|
334
|
+
scope: {
|
|
335
|
+
state?: string | undefined;
|
|
336
|
+
chart: string;
|
|
337
|
+
start: string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
charts: {
|
|
341
|
+
id: string;
|
|
342
|
+
file: string;
|
|
343
|
+
description: string;
|
|
344
|
+
parentState: string | null;
|
|
345
|
+
handOffs: {
|
|
346
|
+
[k: string]: string;
|
|
347
|
+
};
|
|
348
|
+
}[];
|
|
349
|
+
map: {
|
|
350
|
+
nodes: {
|
|
351
|
+
id: string;
|
|
352
|
+
parent: string | null;
|
|
353
|
+
chart: string;
|
|
354
|
+
type: string;
|
|
355
|
+
initial: string | null;
|
|
356
|
+
inScope: boolean;
|
|
357
|
+
}[];
|
|
358
|
+
edges: {
|
|
359
|
+
id: string;
|
|
360
|
+
source: string;
|
|
361
|
+
target: string;
|
|
362
|
+
event: string;
|
|
363
|
+
kind: import('./types.js').EventKind;
|
|
364
|
+
inScope: boolean;
|
|
365
|
+
}[];
|
|
366
|
+
};
|
|
367
|
+
states: {
|
|
368
|
+
[k: string]: {
|
|
369
|
+
status: Status;
|
|
370
|
+
screenshot: Image | null;
|
|
371
|
+
screenshotsByPath: Record<string, Image>;
|
|
372
|
+
recognizer: RecognizerResult | null;
|
|
373
|
+
looksLike: string[];
|
|
374
|
+
businessEvents: BusinessEventResult | null;
|
|
375
|
+
checks: CheckResult[];
|
|
376
|
+
reachedBy: string[];
|
|
377
|
+
notes: string[];
|
|
378
|
+
confidence: "confirmed" | "assumed";
|
|
379
|
+
source: string[];
|
|
380
|
+
expectedEvents: string[];
|
|
381
|
+
seeds?: string[] | undefined;
|
|
382
|
+
client?: string | undefined;
|
|
383
|
+
name: string;
|
|
384
|
+
chart: string | null;
|
|
385
|
+
description: string;
|
|
386
|
+
snapshot: string;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
transitions: {
|
|
390
|
+
[k: string]: {
|
|
391
|
+
status: Status;
|
|
392
|
+
clip: (Clip & {
|
|
393
|
+
captions?: string;
|
|
394
|
+
}) | null;
|
|
395
|
+
timeline: TimelineEntry[];
|
|
396
|
+
reason: string | null;
|
|
397
|
+
reachedBy: string[];
|
|
398
|
+
client?: string | undefined;
|
|
399
|
+
id: string;
|
|
400
|
+
source: string;
|
|
401
|
+
target: string | null;
|
|
402
|
+
event: string;
|
|
403
|
+
kind: import('./types.js').EventKind;
|
|
404
|
+
how: string | null;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
paths: {
|
|
408
|
+
id: string;
|
|
409
|
+
key: string;
|
|
410
|
+
name: string;
|
|
411
|
+
kind: PlannedPath["kind"];
|
|
412
|
+
status: Status;
|
|
413
|
+
attempts: Attempt[];
|
|
414
|
+
steps: StepResult[];
|
|
415
|
+
stoppedAt: string | null;
|
|
416
|
+
seed?: string;
|
|
417
|
+
durationMs?: number;
|
|
418
|
+
setupMs?: number;
|
|
419
|
+
reusedFrom?: string;
|
|
420
|
+
}[];
|
|
421
|
+
journeys: {
|
|
422
|
+
name: string;
|
|
423
|
+
description: string;
|
|
424
|
+
status: Status | "not-run";
|
|
425
|
+
paths: string[];
|
|
426
|
+
stoppedAt: string | null;
|
|
427
|
+
}[];
|
|
428
|
+
seeds: {
|
|
429
|
+
paths: string[];
|
|
430
|
+
verifiedBy: string[];
|
|
431
|
+
blocked?: string | undefined;
|
|
432
|
+
for?: string[] | undefined;
|
|
433
|
+
shows?: string | undefined;
|
|
434
|
+
name: string;
|
|
435
|
+
at: string[];
|
|
436
|
+
how: string | null;
|
|
437
|
+
}[];
|
|
438
|
+
coverage: {
|
|
439
|
+
[x: string]: {
|
|
440
|
+
states: {
|
|
441
|
+
total: number;
|
|
442
|
+
passed: number;
|
|
443
|
+
failed: number;
|
|
444
|
+
flaky: number;
|
|
445
|
+
notReached: number;
|
|
446
|
+
};
|
|
447
|
+
transitions: {
|
|
448
|
+
total: number;
|
|
449
|
+
passed: number;
|
|
450
|
+
failed: number;
|
|
451
|
+
flaky: number;
|
|
452
|
+
notReached: number;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
overall: {
|
|
456
|
+
states: {
|
|
457
|
+
total: number;
|
|
458
|
+
passed: number;
|
|
459
|
+
failed: number;
|
|
460
|
+
flaky: number;
|
|
461
|
+
notReached: number;
|
|
462
|
+
};
|
|
463
|
+
transitions: {
|
|
464
|
+
total: number;
|
|
465
|
+
passed: number;
|
|
466
|
+
failed: number;
|
|
467
|
+
flaky: number;
|
|
468
|
+
notReached: number;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
privacy: {
|
|
473
|
+
findings: string[];
|
|
474
|
+
passed: boolean;
|
|
475
|
+
};
|
|
476
|
+
reports: {
|
|
477
|
+
junit: string;
|
|
478
|
+
ctrf: string;
|
|
479
|
+
mermaid: string;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Compose the outcomes of several runs of the same plan (the shards of one run, or a rerun of the
|
|
484
|
+
* paths that failed) into one run, folded in plan order. Media are copied in, so the merged run
|
|
485
|
+
* stands on its own. Later runs win when two ran the same path.
|
|
486
|
+
*/
|
|
487
|
+
export declare function mergeRuns<C>(context: RunContext<C>, paths: PlannedPath[], runDirs: string[], options: {
|
|
488
|
+
outputRoot: string;
|
|
489
|
+
mode?: RunMode;
|
|
490
|
+
driver?: {
|
|
491
|
+
name: string;
|
|
492
|
+
clients?: Record<string, string>;
|
|
493
|
+
};
|
|
494
|
+
}): {
|
|
495
|
+
runDir: string;
|
|
496
|
+
manifest: {
|
|
497
|
+
$schema: string;
|
|
498
|
+
schemaVersion: number;
|
|
499
|
+
run: {
|
|
500
|
+
id: string;
|
|
501
|
+
startedAt: string;
|
|
502
|
+
finishedAt: string | null;
|
|
503
|
+
progress: {
|
|
504
|
+
totalPaths: number;
|
|
505
|
+
completedPaths: number;
|
|
506
|
+
activePaths: string[];
|
|
507
|
+
updatedAt: string;
|
|
508
|
+
};
|
|
509
|
+
durationMs: number;
|
|
510
|
+
commit: string | null;
|
|
511
|
+
branch: string | null;
|
|
512
|
+
environment: {
|
|
513
|
+
clients?: Record<string, string> | undefined;
|
|
514
|
+
driver: string;
|
|
515
|
+
};
|
|
516
|
+
mode: RunMode;
|
|
517
|
+
specVersion: string;
|
|
518
|
+
specDirectory: string;
|
|
519
|
+
approvals: unknown[];
|
|
520
|
+
scope: {
|
|
521
|
+
state?: string | undefined;
|
|
522
|
+
chart: string;
|
|
523
|
+
start: string;
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
charts: {
|
|
527
|
+
id: string;
|
|
528
|
+
file: string;
|
|
529
|
+
description: string;
|
|
530
|
+
parentState: string | null;
|
|
531
|
+
handOffs: {
|
|
532
|
+
[k: string]: string;
|
|
533
|
+
};
|
|
534
|
+
}[];
|
|
535
|
+
map: {
|
|
536
|
+
nodes: {
|
|
537
|
+
id: string;
|
|
538
|
+
parent: string | null;
|
|
539
|
+
chart: string;
|
|
540
|
+
type: string;
|
|
541
|
+
initial: string | null;
|
|
542
|
+
inScope: boolean;
|
|
543
|
+
}[];
|
|
544
|
+
edges: {
|
|
545
|
+
id: string;
|
|
546
|
+
source: string;
|
|
547
|
+
target: string;
|
|
548
|
+
event: string;
|
|
549
|
+
kind: import('./types.js').EventKind;
|
|
550
|
+
inScope: boolean;
|
|
551
|
+
}[];
|
|
552
|
+
};
|
|
553
|
+
states: {
|
|
554
|
+
[k: string]: {
|
|
555
|
+
status: Status;
|
|
556
|
+
screenshot: Image | null;
|
|
557
|
+
screenshotsByPath: Record<string, Image>;
|
|
558
|
+
recognizer: RecognizerResult | null;
|
|
559
|
+
looksLike: string[];
|
|
560
|
+
businessEvents: BusinessEventResult | null;
|
|
561
|
+
checks: CheckResult[];
|
|
562
|
+
reachedBy: string[];
|
|
563
|
+
notes: string[];
|
|
564
|
+
confidence: "confirmed" | "assumed";
|
|
565
|
+
source: string[];
|
|
566
|
+
expectedEvents: string[];
|
|
567
|
+
seeds?: string[] | undefined;
|
|
568
|
+
client?: string | undefined;
|
|
569
|
+
name: string;
|
|
570
|
+
chart: string | null;
|
|
571
|
+
description: string;
|
|
572
|
+
snapshot: string;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
transitions: {
|
|
576
|
+
[k: string]: {
|
|
577
|
+
status: Status;
|
|
578
|
+
clip: (Clip & {
|
|
579
|
+
captions?: string;
|
|
580
|
+
}) | null;
|
|
581
|
+
timeline: TimelineEntry[];
|
|
582
|
+
reason: string | null;
|
|
583
|
+
reachedBy: string[];
|
|
584
|
+
client?: string | undefined;
|
|
585
|
+
id: string;
|
|
586
|
+
source: string;
|
|
587
|
+
target: string | null;
|
|
588
|
+
event: string;
|
|
589
|
+
kind: import('./types.js').EventKind;
|
|
590
|
+
how: string | null;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
paths: {
|
|
594
|
+
id: string;
|
|
595
|
+
key: string;
|
|
596
|
+
name: string;
|
|
597
|
+
kind: PlannedPath["kind"];
|
|
598
|
+
status: Status;
|
|
599
|
+
attempts: Attempt[];
|
|
600
|
+
steps: StepResult[];
|
|
601
|
+
stoppedAt: string | null;
|
|
602
|
+
seed?: string;
|
|
603
|
+
durationMs?: number;
|
|
604
|
+
setupMs?: number;
|
|
605
|
+
reusedFrom?: string;
|
|
606
|
+
}[];
|
|
607
|
+
journeys: {
|
|
608
|
+
name: string;
|
|
609
|
+
description: string;
|
|
610
|
+
status: Status | "not-run";
|
|
611
|
+
paths: string[];
|
|
612
|
+
stoppedAt: string | null;
|
|
613
|
+
}[];
|
|
614
|
+
seeds: {
|
|
615
|
+
paths: string[];
|
|
616
|
+
verifiedBy: string[];
|
|
617
|
+
blocked?: string | undefined;
|
|
618
|
+
for?: string[] | undefined;
|
|
619
|
+
shows?: string | undefined;
|
|
620
|
+
name: string;
|
|
621
|
+
at: string[];
|
|
622
|
+
how: string | null;
|
|
623
|
+
}[];
|
|
624
|
+
coverage: {
|
|
625
|
+
[x: string]: {
|
|
626
|
+
states: {
|
|
627
|
+
total: number;
|
|
628
|
+
passed: number;
|
|
629
|
+
failed: number;
|
|
630
|
+
flaky: number;
|
|
631
|
+
notReached: number;
|
|
632
|
+
};
|
|
633
|
+
transitions: {
|
|
634
|
+
total: number;
|
|
635
|
+
passed: number;
|
|
636
|
+
failed: number;
|
|
637
|
+
flaky: number;
|
|
638
|
+
notReached: number;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
overall: {
|
|
642
|
+
states: {
|
|
643
|
+
total: number;
|
|
644
|
+
passed: number;
|
|
645
|
+
failed: number;
|
|
646
|
+
flaky: number;
|
|
647
|
+
notReached: number;
|
|
648
|
+
};
|
|
649
|
+
transitions: {
|
|
650
|
+
total: number;
|
|
651
|
+
passed: number;
|
|
652
|
+
failed: number;
|
|
653
|
+
flaky: number;
|
|
654
|
+
notReached: number;
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
privacy: {
|
|
659
|
+
findings: string[];
|
|
660
|
+
passed: boolean;
|
|
661
|
+
};
|
|
662
|
+
reports: {
|
|
663
|
+
junit: string;
|
|
664
|
+
ctrf: string;
|
|
665
|
+
mermaid: string;
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
ok: boolean;
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Run planned paths against a system through a driver. Paths start from their seed (or the
|
|
672
|
+
* implementation's `setup`) and run on a pool of workers, longest first, each attempt in its own
|
|
673
|
+
* driver context; every state is recognised from the outside after every step; a failed path is
|
|
674
|
+
* retried once to tell flaky from broken. The manifest is rewritten as each path finishes, from
|
|
675
|
+
* all outcomes so far in plan order, so a crash keeps what ran and the order paths finished in
|
|
676
|
+
* never changes the report.
|
|
677
|
+
*/
|
|
678
|
+
export declare function runPaths<C>(options: RunOptions<C>): Promise<{
|
|
679
|
+
runDir: string;
|
|
680
|
+
manifest: {
|
|
681
|
+
$schema: string;
|
|
682
|
+
schemaVersion: number;
|
|
683
|
+
run: {
|
|
684
|
+
id: string;
|
|
685
|
+
startedAt: string;
|
|
686
|
+
finishedAt: string | null;
|
|
687
|
+
progress: {
|
|
688
|
+
totalPaths: number;
|
|
689
|
+
completedPaths: number;
|
|
690
|
+
activePaths: string[];
|
|
691
|
+
updatedAt: string;
|
|
692
|
+
};
|
|
693
|
+
durationMs: number;
|
|
694
|
+
commit: string | null;
|
|
695
|
+
branch: string | null;
|
|
696
|
+
environment: {
|
|
697
|
+
clients?: Record<string, string> | undefined;
|
|
698
|
+
driver: string;
|
|
699
|
+
};
|
|
700
|
+
mode: RunMode;
|
|
701
|
+
specVersion: string;
|
|
702
|
+
specDirectory: string;
|
|
703
|
+
approvals: unknown[];
|
|
704
|
+
scope: {
|
|
705
|
+
state?: string | undefined;
|
|
706
|
+
chart: string;
|
|
707
|
+
start: string;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
charts: {
|
|
711
|
+
id: string;
|
|
712
|
+
file: string;
|
|
713
|
+
description: string;
|
|
714
|
+
parentState: string | null;
|
|
715
|
+
handOffs: {
|
|
716
|
+
[k: string]: string;
|
|
717
|
+
};
|
|
718
|
+
}[];
|
|
719
|
+
map: {
|
|
720
|
+
nodes: {
|
|
721
|
+
id: string;
|
|
722
|
+
parent: string | null;
|
|
723
|
+
chart: string;
|
|
724
|
+
type: string;
|
|
725
|
+
initial: string | null;
|
|
726
|
+
inScope: boolean;
|
|
727
|
+
}[];
|
|
728
|
+
edges: {
|
|
729
|
+
id: string;
|
|
730
|
+
source: string;
|
|
731
|
+
target: string;
|
|
732
|
+
event: string;
|
|
733
|
+
kind: import('./types.js').EventKind;
|
|
734
|
+
inScope: boolean;
|
|
735
|
+
}[];
|
|
736
|
+
};
|
|
737
|
+
states: {
|
|
738
|
+
[k: string]: {
|
|
739
|
+
status: Status;
|
|
740
|
+
screenshot: Image | null;
|
|
741
|
+
screenshotsByPath: Record<string, Image>;
|
|
742
|
+
recognizer: RecognizerResult | null;
|
|
743
|
+
looksLike: string[];
|
|
744
|
+
businessEvents: BusinessEventResult | null;
|
|
745
|
+
checks: CheckResult[];
|
|
746
|
+
reachedBy: string[];
|
|
747
|
+
notes: string[];
|
|
748
|
+
confidence: "confirmed" | "assumed";
|
|
749
|
+
source: string[];
|
|
750
|
+
expectedEvents: string[];
|
|
751
|
+
seeds?: string[] | undefined;
|
|
752
|
+
client?: string | undefined;
|
|
753
|
+
name: string;
|
|
754
|
+
chart: string | null;
|
|
755
|
+
description: string;
|
|
756
|
+
snapshot: string;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
transitions: {
|
|
760
|
+
[k: string]: {
|
|
761
|
+
status: Status;
|
|
762
|
+
clip: (Clip & {
|
|
763
|
+
captions?: string;
|
|
764
|
+
}) | null;
|
|
765
|
+
timeline: TimelineEntry[];
|
|
766
|
+
reason: string | null;
|
|
767
|
+
reachedBy: string[];
|
|
768
|
+
client?: string | undefined;
|
|
769
|
+
id: string;
|
|
770
|
+
source: string;
|
|
771
|
+
target: string | null;
|
|
772
|
+
event: string;
|
|
773
|
+
kind: import('./types.js').EventKind;
|
|
774
|
+
how: string | null;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
paths: {
|
|
778
|
+
id: string;
|
|
779
|
+
key: string;
|
|
780
|
+
name: string;
|
|
781
|
+
kind: PlannedPath["kind"];
|
|
782
|
+
status: Status;
|
|
783
|
+
attempts: Attempt[];
|
|
784
|
+
steps: StepResult[];
|
|
785
|
+
stoppedAt: string | null;
|
|
786
|
+
seed?: string;
|
|
787
|
+
durationMs?: number;
|
|
788
|
+
setupMs?: number;
|
|
789
|
+
reusedFrom?: string;
|
|
790
|
+
}[];
|
|
791
|
+
journeys: {
|
|
792
|
+
name: string;
|
|
793
|
+
description: string;
|
|
794
|
+
status: Status | "not-run";
|
|
795
|
+
paths: string[];
|
|
796
|
+
stoppedAt: string | null;
|
|
797
|
+
}[];
|
|
798
|
+
seeds: {
|
|
799
|
+
paths: string[];
|
|
800
|
+
verifiedBy: string[];
|
|
801
|
+
blocked?: string | undefined;
|
|
802
|
+
for?: string[] | undefined;
|
|
803
|
+
shows?: string | undefined;
|
|
804
|
+
name: string;
|
|
805
|
+
at: string[];
|
|
806
|
+
how: string | null;
|
|
807
|
+
}[];
|
|
808
|
+
coverage: {
|
|
809
|
+
[x: string]: {
|
|
810
|
+
states: {
|
|
811
|
+
total: number;
|
|
812
|
+
passed: number;
|
|
813
|
+
failed: number;
|
|
814
|
+
flaky: number;
|
|
815
|
+
notReached: number;
|
|
816
|
+
};
|
|
817
|
+
transitions: {
|
|
818
|
+
total: number;
|
|
819
|
+
passed: number;
|
|
820
|
+
failed: number;
|
|
821
|
+
flaky: number;
|
|
822
|
+
notReached: number;
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
overall: {
|
|
826
|
+
states: {
|
|
827
|
+
total: number;
|
|
828
|
+
passed: number;
|
|
829
|
+
failed: number;
|
|
830
|
+
flaky: number;
|
|
831
|
+
notReached: number;
|
|
832
|
+
};
|
|
833
|
+
transitions: {
|
|
834
|
+
total: number;
|
|
835
|
+
passed: number;
|
|
836
|
+
failed: number;
|
|
837
|
+
flaky: number;
|
|
838
|
+
notReached: number;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
privacy: {
|
|
843
|
+
findings: string[];
|
|
844
|
+
passed: boolean;
|
|
845
|
+
};
|
|
846
|
+
reports: {
|
|
847
|
+
junit: string;
|
|
848
|
+
ctrf: string;
|
|
849
|
+
mermaid: string;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
ok: boolean;
|
|
853
|
+
}>;
|
|
854
|
+
export {};
|