교수자 요약 카드 간격을 분리
This commit is contained in:
parent
ffadc8bd49
commit
5bf89ff4ee
4 changed files with 35 additions and 1 deletions
|
|
@ -399,6 +399,14 @@ test.describe("professor console full-sweep", () => {
|
|||
|
||||
const kpis = page.locator(".pf-kpi");
|
||||
await expect(kpis).toHaveCount(6);
|
||||
const triageBox = await page.locator(".pf-triage").boundingBox();
|
||||
const summaryBox = await page.getByLabel("교수자 요약").boundingBox();
|
||||
expect(triageBox).not.toBeNull();
|
||||
expect(summaryBox).not.toBeNull();
|
||||
expect(
|
||||
Math.abs(summaryBox!.y - (triageBox!.y + triageBox!.height) - 12),
|
||||
"검토 큐와 교수자 요약 카드 사이 간격",
|
||||
).toBeLessThanOrEqual(1);
|
||||
const expected: Array<[string, string]> = [
|
||||
["검토 대기", "1"],
|
||||
["위기 알림", "2"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue