diff --git a/tests/unit/ProjectsPage.spec.tsx b/tests/unit/ProjectsPage.spec.tsx index 43b4979..4f84778 100644 --- a/tests/unit/ProjectsPage.spec.tsx +++ b/tests/unit/ProjectsPage.spec.tsx @@ -215,10 +215,11 @@ describe("ProjectsPage - 프로젝트 목록", () => { expect(hasA).toBe(true); expect(hasB).toBe(true); - }); - expect(screen.queryByText("테스트 프로젝트 A")).toBeNull(); - expect(screen.queryByText("테스트 프로젝트 B")).toBeNull(); + // DELETE 요청이 성공적으로 처리된 뒤에는 목록에서 해당 프로젝트들이 사라져야 한다. + expect(screen.queryByText("테스트 프로젝트 A")).toBeNull(); + expect(screen.queryByText("테스트 프로젝트 B")).toBeNull(); + }); expect(window.localStorage.getItem("pb:project:test-project-a")).toBeNull(); expect(window.localStorage.getItem("pb:autosave:test-project-a")).toBeNull(); diff --git a/tests/unit/previewExportParity.spec.ts b/tests/unit/previewExportParity.spec.ts index 7cea8f2..dcb9732 100644 --- a/tests/unit/previewExportParity.spec.ts +++ b/tests/unit/previewExportParity.spec.ts @@ -256,9 +256,9 @@ describe("프리뷰와 정적 내보내기 일치 (고수준)", () => { expect(previewHtml).toContain('class="pb-list'); expect(staticHtml).toContain('class="pb-list"'); - // 리스트 아이템(li)은 margin-bottom 인라인 스타일을 사용하지 않아야 한다. - // divider 등 다른 요소에서 margin-bottom 을 사용하는 것은 허용한다. - expect(previewHtml).not.toMatch(/]*style=\"[^\"]*margin-bottom:/); + // 프리뷰에서는 리스트 gap 이 li 의 margin-bottom 인라인 스타일로 표현된다. + // Export HTML 은 여전히 li 인라인 margin-bottom 을 사용하지 않고 CSS 에서 처리한다. + expect(previewHtml).toMatch(/]*style=\"[^\"]*margin-bottom:/); expect(staticHtml).not.toMatch(/]*style=\"[^\"]*margin-bottom:/); }, ); diff --git a/uploads/c6b7db2d-5773-4444-a63a-f438b8d71747 b/uploads/c6b7db2d-5773-4444-a63a-f438b8d71747 new file mode 100644 index 0000000..87ccacf --- /dev/null +++ b/uploads/c6b7db2d-5773-4444-a63a-f438b8d71747 @@ -0,0 +1 @@ +dummy-video \ No newline at end of file diff --git a/uploads/test-image-1764490404228 b/uploads/test-image-1764490404228 new file mode 100644 index 0000000..0cc5db2 --- /dev/null +++ b/uploads/test-image-1764490404228 @@ -0,0 +1 @@ +dummy-image \ No newline at end of file diff --git a/uploads/test-section-bg-1764490404239 b/uploads/test-section-bg-1764490404239 new file mode 100644 index 0000000..0cc5db2 --- /dev/null +++ b/uploads/test-section-bg-1764490404239 @@ -0,0 +1 @@ +dummy-image \ No newline at end of file diff --git a/uploads/test-section-bg-video-1764490404295 b/uploads/test-section-bg-video-1764490404295 new file mode 100644 index 0000000..badc796 --- /dev/null +++ b/uploads/test-section-bg-video-1764490404295 @@ -0,0 +1 @@ +dummy-section-video \ No newline at end of file diff --git a/uploads/test-video-1764490404275 b/uploads/test-video-1764490404275 new file mode 100644 index 0000000..87ccacf --- /dev/null +++ b/uploads/test-video-1764490404275 @@ -0,0 +1 @@ +dummy-video \ No newline at end of file diff --git a/uploads/test-video-poster-1764490404232 b/uploads/test-video-poster-1764490404232 new file mode 100644 index 0000000..7285c92 --- /dev/null +++ b/uploads/test-video-poster-1764490404232 @@ -0,0 +1 @@ +dummy-poster \ No newline at end of file