Skip to content
Triggered via push January 15, 2025 08:44
Status Failure
Total duration 2m 33s
Artifacts

codecov.yml

on: push
Run tests and collect coverage
2m 24s
Run tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/rerender.tsx > renders src/MarkdownEditor/demos/rerender.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/rerender.tsx > renders src/MarkdownEditor/demos/rerender.tsx correctly 1` mismatched - Expected + Received @@ -6,11 +6,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" ❯ tests/demo/demo.test.tsx:31:11
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/render.tsx > renders src/MarkdownEditor/demos/render.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/render.tsx > renders src/MarkdownEditor/demos/render.tsx correctly 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-edit" style="width: 100vw; height: 100vh; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 24px 24px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding: 24px 24px 24px 32px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div aria-multiline="true" autocapitalize="false" autocorrect="false" @@ -5275,11 +5275,11 @@ <div class="ant-md-editor-drag-el" contenteditable="false" data-be="link-card" draggable="true" - style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;" + style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;" > <div data-be="schema" style="padding: 8px; width: 100%;" > @@ -5561,11 +5561,11 @@ <div class="" > <div class="ant-anchor-wrapper" - style="max-height: calc(100vh - 64px); min-width: 120px;" + style="max-height: calc(100vh - 64px); min-width: 200px;" > <div class="ant-anchor" > <span ❯ tests/demo/demo.test.tsx:31:11
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/readonly.tsx > renders src/MarkdownEditor/demos/readonly.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/readonly.tsx > renders src/MarkdownEditor/demos/readonly.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: calc(99vw - 16px); height: auto; display: flex; flex-direction: column; max-height: 100%; border: 1px solid #eee;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" ❯ tests/demo/demo.test.tsx:31:11
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/pure.tsx > renders src/MarkdownEditor/demos/pure.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/pure.tsx > renders src/MarkdownEditor/demos/pure.tsx correctly 1` mismatched - Expected + Received @@ -8155,11 +8155,11 @@ <div class="ant-md-editor-drag-el" contenteditable="false" data-be="link-card" draggable="false" - style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;" + style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;" > <div data-be="schema" style="padding: 8px; width: 100%;" > ❯ tests/demo/demo.test.tsx:31:11
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/preview.tsx > renders src/MarkdownEditor/demos/preview.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/preview.tsx > renders src/MarkdownEditor/demos/preview.tsx correctly 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-edit ant-md-editor-report" style="width: 100vw; height: 100vh; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 24px 24px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding: 24px 24px 24px 32px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div aria-multiline="true" autocapitalize="false" autocorrect="false" @@ -9377,11 +9377,11 @@ <div class="ant-md-editor-drag-el" contenteditable="false" data-be="link-card" draggable="true" - style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; align-items: center;" + style="cursor: pointer; position: relative; display: flex; padding: 24px; border-radius: 8px; flex: 1; border: 1px solid rgb(209 213 219 / 0.8); align-items: center;" > <div data-be="schema" style="padding: 8px; width: 100%;" > @@ -9719,11 +9719,11 @@ <div class="" > <div class="ant-anchor-wrapper" - style="max-height: calc(100vh - 64px); min-width: 120px;" + style="max-height: calc(100vh - 64px); min-width: 200px;" > <div class="ant-anchor" > <span ❯ tests/demo/demo.test.tsx:31:11
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/ppt.tsx > renders src/MarkdownEditor/demos/ppt.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/ppt.tsx > renders src/MarkdownEditor/demos/ppt.tsx correctly 1` mismatched - Expected + Received @@ -1,43 +1,44 @@ <DocumentFragment> <div aria-label="segmented control" class="ant-segmented" - role="listbox" + role="radiogroup" style="position: fixed; z-index: 1000; top: 0px;" + tabindex="0" > <div class="ant-segmented-group" > <label class="ant-segmented-item ant-segmented-item-selected" > <input checked="" class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="true" class="ant-segmented-item-label" - role="option" title="编辑模式" > 编辑模式 </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" + name="test-id" type="radio" /> <div aria-selected="false" class="ant-segmented-item-label" - role="option" title="幻灯片模式" > 幻灯片模式 </div> </label> @@ -54,11 +55,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly ant-md-editor-report" style="width: 100%; height: 100%; display: flex; flex-direction: column; max-height: 100%; padding: 0px; margin: 0px;" > <div - style="padding: 0px; overflow: hidden; display: flex; height: 100%; position: relative; gap: 24px; width: 100%; margin: 0px;" + style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; overflow: hidden; display: flex; height: 100%; position: relative; gap: 24px; width: 100%; margin: 0px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content ant-md-editor-content-report" @@ -102,11 +103,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly ant-md-editor-report" style="width: 100%; height: 100%; display: flex; flex-direction: column; max-height: 100%; padding: 0px; margin: 0px;" > <div - style="padding: 0px; overflow: hidden; display: flex; height: 100%; position: relative; gap: 24px; width: 100%; margin: 0px;" + style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; overflow: hidden; display: flex; height: 100%; position: relative; gap: 24px; width: 100%; margin: 0px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content ant-md-editor-content-report" @@ -172,11 +173,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly ant-md-editor-report" style="width: 100%; height: 100%; display: flex; flex-direction: column; max-height: 100%; padding: 0px; margin: 0px;" > <div - style="padding: 0px; overflow: hidden; display: flex; height: 100%; position: relative; gap: 24px; width: 100%; margin: 0px;" + style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; overflow: hidden; display: flex; height: 100%; position: relative; gap: 24px; width: 100%; margin: 0px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content ant-md-editor-content-report" @@ -586,11 +587,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly ant-md-editor-report" style="width: 100%; height: 100%; display: flex; flex-direction: column; max-height: 100%; padding: 0px; margin: 0px;" > <div - style=
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/minPreview.tsx > renders src/MarkdownEditor/demos/minPreview.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/minPreview.tsx > renders src/MarkdownEditor/demos/minPreview.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly ant-md-editor-report" style="width: 80%; height: calc(100vh - 400px); display: flex; flex-direction: column; max-height: 100%; margin: 0px auto; border: 1px solid #e8e8e8;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content ant-md-editor-content-report" @@ -3603,11 +3603,11 @@ </div> </div> </div> </div> <div - style="padding: 24px 24px; overflow: auto; display: flex; height: calc(100% - 56px); position: relative; gap: 24px;" + style="padding: 24px 24px 24px 32px; overflow: auto; display: flex; height: calc(100% - 56px); position: relative; gap: 24px;" > <div aria-multiline="true" autocapitalize="false" autocorrect="false" ❯ tests/demo/demo.test.tsx:31:11
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/min.tsx > renders src/MarkdownEditor/demos/min.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/min.tsx > renders src/MarkdownEditor/demos/min.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -57,11 +57,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -124,11 +124,11 @@ <div class="" > <div class="ant-anchor-wrapper" - style="max-height: calc(100vh - 64px); min-width: 120px;" + style="max-height: calc(100vh - 64px); min-width: 200px;" > <div class="ant-anchor" > <span @@ -159,11 +159,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -3346,11 +3346,11 @@ <div class="" > <div class="ant-anchor-wrapper" - style="max-height: calc(100vh - 64px); min-width: 120px;" + style="max-height: calc(100vh - 64px); min-width: 200px;" > <div class="ant-anchor" > <span @@ -3381,11 +3381,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -4207,11 +4207,11 @@ <div class="" > <div class="ant-anchor-wrapper" - style="max-height: calc(100vh - 64px); min-width: 120px;" + style="max-height: calc(100vh - 64px); min-width: 200px;" > <div class="ant-anchor" > <span @@ -4242,11 +4242,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; heigh
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/min-render.tsx > renders src/MarkdownEditor/demos/min-render.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/min-render.tsx > renders src/MarkdownEditor/demos/min-render.tsx correctly 1` mismatched - Expected + Received @@ -36,11 +36,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -136,11 +136,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -3356,11 +3356,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -3940,11 +3940,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -5084,11 +5084,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" @@ -6228,11 +6228,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitaliz
tests/demo/demo.test.tsx > Rendering demo: src/MarkdownEditor/demos/max-chart.tsx > renders src/MarkdownEditor/demos/max-chart.tsx correctly: tests/demo/demo.test.tsx#L31
Error: Snapshot `Rendering demo: src/MarkdownEditor/demos/max-chart.tsx > renders src/MarkdownEditor/demos/max-chart.tsx correctly 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ <div class="markdown-editor ant-md-editor ant-md-editor-readonly" style="width: 100%; height: auto; display: flex; flex-direction: column; max-height: 100%;" > <div - style="padding: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" + style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; overflow: auto; display: flex; height: 100%; position: relative; gap: 24px;" > <div autocapitalize="false" autocorrect="false" class="ant-md-editor-content-readonly ant-md-editor-content" ❯ tests/demo/demo.test.tsx:31:11
Run tests and collect coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636