평문 환경 숙의 연습 해시 보정

This commit is contained in:
Yun Chan 2026-08-09 19:38:04 +09:00
parent 21461ab323
commit ba5e6326d5
9 changed files with 262 additions and 14 deletions

View file

@ -477,12 +477,18 @@ test.describe("G4 숙의 연습", () => {
);
const episodeBody = submitted[0].episode as {
episode_id: string;
attempts: Array<{ attempt_id: string }>;
attempts: Array<{
attempt_id: string;
utterance_template_id?: string | null;
}>;
};
expect(episodeBody.episode_id).toMatch(/^oas-g4-episode-[a-f0-9-]+$/);
expect(episodeBody.attempts[0].attempt_id).toMatch(
/^oas-g4-attempt-[a-f0-9-]+$/,
);
expect(episodeBody.attempts[0].utterance_template_id).toBe(
"utterance-sha256:c06db0f06811c540ea7d985c7d4e3b880e978e33524128538d6f0ab7b23362aa",
);
await card.getByRole("button", { name: /05:04.*발화로 이동/ }).click();
await expect(page.getByRole("tab", { name: "축어록" })).toHaveAttribute(