운영 안정화와 화면 회귀 검증을 반영
Some checks failed
API contract / OpenAPI type drift (push) Failing after 6m2s

This commit is contained in:
Yun Chan 2026-10-20 16:33:48 +09:00
parent 6e3123091a
commit aeddaa6972
69 changed files with 3178 additions and 424 deletions

View file

@ -114,6 +114,24 @@ async function installFixture(page: Page) {
}),
),
);
await page.route(`**/api/sessions/${ACTIVE_SESSION_ID}/alliance-pulses`, (route) =>
route.fulfill(
jsonRoute({
items: [
{
pulse_id: "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
checkpoint: "pre",
status: "ready",
learner_locked_at: new Date().toISOString(),
revealed_at: new Date().toISOString(),
error_code: null,
self_scores: { goal: 0.5, task: 0.5, bond: 0.5 },
measurements: [],
},
],
}),
),
);
return { startAttempts: () => startAttempts };
}
@ -129,7 +147,8 @@ test.describe("uc session continuity guard", () => {
await expect(page).toHaveURL(
new RegExp(`/learn/session/${ACTIVE_SESSION_ID}$`),
);
await expect(page.getByText("민서").first()).toBeVisible();
await expect(page.locator(".sx-stage__client-kicker")).toHaveText("민서");
await expect(page.locator(".sx-stage__client-kicker")).toBeVisible();
expect(fixture.startAttempts()).toBe(1);
});
});