Add task attachment management to Self-Serve Studio. Extend graph, path outcomes, and flow logic. Update E2E/unit tests with attachment creation, upload, download, deletion flows, and related validations.

This commit is contained in:
Jeppe Bundgaard
2026-04-29 14:41:29 +02:00
parent 9641f67e3a
commit a15d6841c5
28 changed files with 2459 additions and 213 deletions
+2 -1
View File
@@ -6108,6 +6108,7 @@ export async function mockApi(page, options = {}) {
const key = `${body.lane}:${String(body.reg || "").toUpperCase()}:${body.question}:${body.value}`;
const responseSummary = selfServe.answerResponseByKey[key] || null;
await maybeDelayFixtureResponse(selfServe.answerResponseDelayMs);
await route.fulfill(
json({
data: {
@@ -6908,7 +6909,7 @@ export async function primeMockSession(page, { token = "e2e-token", bootPath = "
(response) => {
return response.request().method() === "GET" && response.url().includes("/auth/session");
},
{ timeout: 10_000 }
{ timeout: 30_000 }
)
.catch(() => null);
await page.goto(bootPath, { waitUntil: "domcontentloaded" });