e2e오류 수정
This commit is contained in:
@@ -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:/);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user