This commit is contained in:
parent
6e3123091a
commit
aeddaa6972
69 changed files with 3178 additions and 424 deletions
|
|
@ -606,10 +606,15 @@ test.describe("G4 숙의 연습", () => {
|
|||
return fulfillJson(route, { detail: "wrong execution endpoint" }, 409);
|
||||
},
|
||||
);
|
||||
await page.route("**/api/calibration/learners/me", (route) => {
|
||||
calibrationReadRequests += 1;
|
||||
return fulfillJson(route, { detail: "g5 routing fixture" }, 503);
|
||||
});
|
||||
await page.route(
|
||||
(url) =>
|
||||
url.pathname === "/api/calibration/learners/me" &&
|
||||
url.searchParams.get("session_id") === FILLED_REVIEW_SESSION_ID,
|
||||
(route) => {
|
||||
calibrationReadRequests += 1;
|
||||
return fulfillJson(route, { detail: "g5 routing fixture" }, 503);
|
||||
},
|
||||
);
|
||||
const transferPrescriptionId =
|
||||
"5b000000-0000-4000-8000-000000000001";
|
||||
const transferSourceSessionId =
|
||||
|
|
@ -772,7 +777,7 @@ test.describe("G4 숙의 연습", () => {
|
|||
await expect(page.locator(".lh-practice-launch-intent")).toContainText(
|
||||
"원본 회기의 내담자를 우선 선택했으며",
|
||||
);
|
||||
await page.getByRole("button", { name: "새 회기 시작" }).click();
|
||||
await page.getByRole("button", { name: "완전히 새로 시작", exact: true }).click();
|
||||
await expect(
|
||||
page.getByRole("heading", { name: "처방 연습 · 장면 다시 보기" }),
|
||||
).toBeVisible();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue