ReadonlycodeGenerated TypeScript/Playwright test code.
ReadonlymetadataProvenance and cost metadata for the generation.
Readonlycapabilities: string[]Capability IDs referenced during generation.
Readonlyduration: numberDuration in milliseconds for the LLM call.
Readonlymodel: stringModel used for generation.
Readonlytokens: { input: number; output: number }Token usage breakdown.
ReadonlystepsNatural-language description of each test step in order.
Result of
AgenticHandler.generateTest()— a fully generated Playwright test.Remarks
stepscontains natural-language descriptions of each step.codecontains the generated TypeScript/Playwright code.metadatacarries provenance for debugging and auditing.Intent
Hold the output of an AI-generated Playwright test including code and provenance.
Capability
AI test generation, agentic workflow.
Example