회기 원장 상태 복원 보강
This commit is contained in:
parent
13d1c39a33
commit
9a7dd98cb6
7 changed files with 101 additions and 32 deletions
|
|
@ -1324,7 +1324,7 @@ test.describe("학습자 자기주도 전체 루프 — 실제 src UI / route fi
|
|||
await page
|
||||
.getByRole("button", { name: "이번 회기 연습 근거 확인" })
|
||||
.click();
|
||||
const observation = page.locator(".dp-runtime-observation");
|
||||
let observation = page.locator(".dp-runtime-observation");
|
||||
await expect(observation).toBeVisible();
|
||||
await expect(
|
||||
observation.getByRole("heading", {
|
||||
|
|
@ -1374,6 +1374,16 @@ test.describe("학습자 자기주도 전체 루프 — 실제 src UI / route fi
|
|||
await observation.scrollIntoViewIfNeeded();
|
||||
await capture(page, testInfo.project.name, "repractice-observation");
|
||||
|
||||
await page.reload();
|
||||
observation = page.locator(".dp-runtime-observation");
|
||||
await expect(observation).toBeVisible();
|
||||
await expect(observation).toContainText("원장 반영됨");
|
||||
await expect(observation).toContainText("현재 원장 상태");
|
||||
await expect(observation).toContainText(
|
||||
"이미 기록된 이 회기 근거를 원장에서 다시 불러왔습니다.",
|
||||
);
|
||||
await expect(observation).not.toContainText("학습자만 실행");
|
||||
|
||||
await observation
|
||||
.getByRole("button", { name: "반영 상태 다시 확인" })
|
||||
.click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue