{"version":3,"names":["_test","require","_passmark","configure","ai","gateway","models","stepExecution","userFlowLow","userFlowHigh","assertionPrimary","assertionSecondary","assertionArbiter","test","page","setTimeout","runSteps","userFlow","steps","description","waitUntil","assertions","assertion","expect"],"sources":["passmark.spec.ts"],"sourcesContent":["import { test, expect } from \"@playwright/test\";\nimport { runSteps, configure } from \"passmark\";\n\n// ── Config recommandée Paf-Studio Code ──────────────────────────────\n//   EXÉCUTION (volumineux) → Gemini Flash · JUGEMENT (assertions) → Claude Sonnet 4.6\n//   Tout via la Vercel AI Gateway (AI_GATEWAY_API_KEY dans l'environnement).\nconfigure({\n  ai: {\n    gateway: \"vercel\",\n    models: {\n      stepExecution: \"google/gemini-3-flash\",\n      userFlowLow: \"google/gemini-3-flash-preview\",\n      userFlowHigh: \"google/gemini-3.5-flash\",\n      assertionPrimary: \"anthropic/claude-sonnet-4.6\",\n      assertionSecondary: \"google/gemini-3-flash\",\n      assertionArbiter: \"anthropic/claude-sonnet-4.6\",\n    },\n  },\n});\n\ntest(\"passmark live smoke — demo store\", async ({ page }) => {\n  test.setTimeout(150_000);\n  await runSteps({\n    page,\n    userFlow: \"Browse the Vercel demo store\",\n    steps: [\n      { description: \"Navigate to https://demo.vercel.store\" },\n      { description: \"Open the Acme Circles T-Shirt product\", waitUntil: \"A product detail page is shown\" },\n    ],\n    assertions: [\n      { assertion: \"A product page showing the Acme Circles T-Shirt with an Add To Cart button is visible\" },\n    ],\n    test,\n    expect,\n  });\n});\n"],"mappings":";;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA,IAAAE,mBAAS,EAAC;EACRC,EAAE,EAAE;IACFC,OAAO,EAAE,QAAQ;IACjBC,MAAM,EAAE;MACNC,aAAa,EAAE,uBAAuB;MACtCC,WAAW,EAAE,+BAA+B;MAC5CC,YAAY,EAAE,yBAAyB;MACvCC,gBAAgB,EAAE,6BAA6B;MAC/CC,kBAAkB,EAAE,uBAAuB;MAC3CC,gBAAgB,EAAE;IACpB;EACF;AACF,CAAC,CAAC;AAEF,IAAAC,UAAI,EAAC,kCAAkC,EAAE,OAAO;EAAEC;AAAK,CAAC,KAAK;EAC3DD,UAAI,CAACE,UAAU,CAAC,MAAO,CAAC;EACxB,MAAM,IAAAC,kBAAQ,EAAC;IACbF,IAAI;IACJG,QAAQ,EAAE,8BAA8B;IACxCC,KAAK,EAAE,CACL;MAAEC,WAAW,EAAE;IAAwC,CAAC,EACxD;MAAEA,WAAW,EAAE,uCAAuC;MAAEC,SAAS,EAAE;IAAiC,CAAC,CACtG;IACDC,UAAU,EAAE,CACV;MAAEC,SAAS,EAAE;IAAwF,CAAC,CACvG;IACDT,IAAI,EAAJA,UAAI;IACJU,MAAM,EAANA;EACF,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}