.
CI / test (push) Successful in 5m22s
CI / e2e (push) Failing after 5m26s
CI / pr_and_merge (push) Has been skipped

This commit is contained in:
2025-12-14 22:56:12 +09:00
parent 5bb3353fab
commit 90fe851b64
+6 -2
View File
@@ -86,13 +86,17 @@ test("프로젝트 설정 패널에서 캔버스 프리셋을 변경하면 에
};
await presetSelect.selectOption("mobile");
await expect
.poll(async () => parseFloat(await getMaxWidth()), { timeout: 5000 })
.toBeLessThan(400);
const mobileMaxWidth = parseFloat(await getMaxWidth());
expect(mobileMaxWidth).toBeGreaterThan(380);
expect(mobileMaxWidth).toBeLessThan(400);
await presetSelect.selectOption("desktop");
await expect
.poll(async () => parseFloat(await getMaxWidth()), { timeout: 5000 })
.toBeGreaterThan(1180);
const desktopMaxWidth = parseFloat(await getMaxWidth());
expect(desktopMaxWidth).toBeGreaterThan(1180);
expect(desktopMaxWidth).toBeLessThan(1220);
});