Test fixtures
| Test guide | Project README |
Fixtures supply deterministic browser state, data and access to instrumented source modules; scenario lifecycle is managed by support.
flowchart LR
Hooks["Cucumber hooks"] --> Context["Browser context: UTC + en-US"]
Context --> Clock["Fixed test clock"]
Context --> Routes["Local fixtures / cached dependencies"]
Routes --> Page["Test page"]
Plugin["Instrumented plugin bundle"] --> Page
Data["Traffic / vector tile fixtures"] --> Steps["Step definitions"]
Page --> Steps
browser-environment.js blocks unexpected external
requests and resets reused contexts. dependencies.js
maps known CDN URLs to a local cache; npm test prepares missing files.
plugin.js exposes test operations and source helpers, while
globals.js bridges private state for tests.
Use focused data such as focused-paris.js to retain the real layers relevant to a scenario without loading unrelated ones.