UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

27 lines 1.26 kB
"use strict"; /** * @fileoverview Canonical Donobu test-report model. * * This is the single in-memory / on-disk shape shared between the reporter, * the auto-heal orchestrator, the merge step, and the HTML renderer. It is a * Playwright-JSON superset with explicit Donobu fields: downstream tools that * only understand Playwright JSON continue to work because unknown fields are * ignored. * * The file is intentionally loose about the inner Playwright shape (`unknown` * at the boundary, `any` inside the renderer) — the goal here is to give every * consumer one type to import and one filename to look for on disk, not to * retype the whole Playwright reporter surface. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DONOBU_REPORT_STATE_FILENAME = void 0; /** * Filename the reporter writes into each run's Playwright output directory. * The auto-heal orchestrator looks for this file (in both the initial run's * output dir and the heal-run's staging dir) to drive the merge + re-render. * * Internal contract only — not a public artifact and not guaranteed to stay * stable across Donobu versions. */ exports.DONOBU_REPORT_STATE_FILENAME = '.donobu-report-state.json'; //# sourceMappingURL=model.js.map