/** * seed recipe — data-seeding and state-reset helpers. * * Lifted from the PROVEN NQ-2 Playwright + CaseLoom Cypress test-data patterns. * Re-derived from first principles — not copy-pasted. * * NQ-2 Playwright seed reference patterns: * - await request.post('/api/test/reset', { data: {} }) * - expect(response.status()).toBe(200) * - await request.post('/api/test/seed', { data: { scenario: 'default' } }) * * CaseLoom Cypress seed reference patterns: * - cy.request('POST', '/api/test/reset') * - cy.request('POST', '/api/test/seed', { scenario: 'default' }) * - cy.request({ method: 'DELETE', url: '/api/test/all' }).its('status').should('be.oneOf', [200, 204]) * * The seed recipe is primarily a Playwright/API recipe because Cypress request() * handles it cleanly, but the NeutralScenario shape covers both adapters via * the api-call action. */ import type { NeutralScenario } from '../schemas/gap-analysis.schema.js'; import type { RecipeConfig } from '../schemas/recipe.schema.js'; /** * Generate NeutralScenarios for the seed recipe. * * Returns 2 scenarios: * 1. State reset — POST to the reset endpoint returns 200/204 (clean slate) * 2. Seed + verify — POST seed then verify the seeded UI state is visible * * These are rendered as api-call steps, which both adapters handle (Cypress via * cy.request, Playwright via page.request.post). */ export declare function buildSeedScenarios(config?: RecipeConfig): NeutralScenario[]; //# sourceMappingURL=seed.d.ts.map