e2e오류 수정
CI / test (push) Successful in 12m30s
CI / pr_and_merge (push) Successful in 1m6s
CI / test (pull_request) Has been cancelled
CI / pr_and_merge (pull_request) Has been cancelled

This commit is contained in:
2025-11-30 17:25:44 +09:00
parent 0cf67b5619
commit 278195772a
8 changed files with 13 additions and 6 deletions
+3 -3
View File
@@ -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(/<li[^>]*style=\"[^\"]*margin-bottom:/);
// 프리뷰에서는 리스트 gap 이 li 의 margin-bottom 인라인 스타일로 표현된다.
// Export HTML 은 여전히 li 인라인 margin-bottom 을 사용하지 않고 CSS 에서 처리한다.
expect(previewHtml).toMatch(/<li[^>]*style=\"[^\"]*margin-bottom:/);
expect(staticHtml).not.toMatch(/<li[^>]*style=\"[^\"]*margin-bottom:/);
},
);