Skip to content

Added bottom margin to card menu sections #20295

Added bottom margin to card menu sections

Added bottom margin to card menu sections #20295

Triggered via pull request September 22, 2023 14:17
Status Success
Total duration 8m 33s
Artifacts 1

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 10 warnings, and 2 notices
[chromium] › cards/callout-card.test.js:328:5 › Callout Card › can undo/redo without losing content: packages/koenig-lexical/test/utils/e2e.js#L101
1) [chromium] › cards/callout-card.test.js:328:5 › Callout Card › can undo/redo without losing content Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 1 @@ -1,9 +1,9 @@ <div data-lexical-decorator="true" contenteditable="false"> <div data-kg-card-editing="false" - data-kg-card-selected="true" + data-kg-card-selected="false" data-kg-card="callout"> <div> <div><button type="button">💡</button></div> <div> <div data-kg="editor"> @@ -18,9 +18,8 @@ </div> </div> </div> </div> <div></div> - <div data-kg-card-toolbar="callout"></div> </div> </div> <p><br /></p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/cards/callout-card.test.js:340:9
[chromium] › format-shortcuts.test.js:21:9 › Editor keyboard shortcuts › text formatting shortcuts › bold: packages/koenig-lexical/test/utils/e2e.js#L101
2) [chromium] › format-shortcuts.test.js:21:9 › Editor keyboard shortcuts › text formatting shortcuts › bold Error: expect(received).toEqual(expected) // deep equality Expected: "<p dir=\"ltr\"><strong data-lexical-text=\"true\">test</strong></p>" Received: "<p dir=\"ltr\"><span data-lexical-text=\"true\">test</span></p>" at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:35:13
[chromium] › format-shortcuts.test.js:38:9 › Editor keyboard shortcuts › text formatting shortcuts › italic: packages/koenig-lexical/test/utils/e2e.js#L101
3) [chromium] › format-shortcuts.test.js:38:9 › Editor keyboard shortcuts › text formatting shortcuts › italic Error: expect(received).toEqual(expected) // deep equality Expected: "<p dir=\"ltr\"><em data-lexical-text=\"true\">test</em></p>" Received: "<p dir=\"ltr\"><span data-lexical-text=\"true\">test</span></p>" at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:52:13
[chromium] › format-shortcuts.test.js:72:9 › Editor keyboard shortcuts › text formatting shortcuts › link: packages/koenig-lexical/test/utils/e2e.js#L101
4) [chromium] › format-shortcuts.test.js:72:9 › Editor keyboard shortcuts › text formatting shortcuts › link Error: expect(received).toEqual(expected) // deep equality - Expected - 5 + Received + 2 - <p dir="ltr"> - <a href="https://example.com" rel="noreferrer" dir="ltr"> - <span data-lexical-text="true">test</span> - </a> - </p> + <p dir="ltr"><span data-lexical-text="true">https://example.com</span></p> + <p><br /></p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:89:13
[chromium] › format-shortcuts.test.js:97:9 › Editor keyboard shortcuts › text formatting shortcuts › inline code: packages/koenig-lexical/test/utils/e2e.js#L101
5) [chromium] › format-shortcuts.test.js:97:9 › Editor keyboard shortcuts › text formatting shortcuts › inline code Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2 <p dir="ltr"> - <code spellcheck="false" data-lexical-text="true"><span>test</span></code> + <span data-lexical-text="true">te</span> + <code spellcheck="false" data-lexical-text="true"><span>st</span></code> </p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:111:13
[chromium] › title-behaviour.test.js:426:13 › Title behaviour (ExternalControlPlugin) › in editor › SHIFT+TAB › does not move cursor to title if a range selection would outdent something: packages/koenig-lexical/test/utils/e2e.js#L101
6) [chromium] › title-behaviour.test.js:426:13 › Title behaviour (ExternalControlPlugin) › in editor › SHIFT+TAB › does not move cursor to title if a range selection would outdent something Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 4 <p dir="ltr"><span data-lexical-text="true">Test</span></p> - <p dir="ltr"><span data-lexical-text="true">Test</span></p> + <p dir="ltr"> + <span data-lexical-text="true">Test</span> + <span data-lexical-text="true"></span> + </p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/title-behaviour.test.js:439:17
[chromium] › cards/callout-card.test.js:328:5 › Callout Card › can undo/redo without losing content: packages/koenig-lexical/test/utils/e2e.js#L101
1) [chromium] › cards/callout-card.test.js:328:5 › Callout Card › can undo/redo without losing content Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 1 @@ -1,9 +1,9 @@ <div data-lexical-decorator="true" contenteditable="false"> <div data-kg-card-editing="false" - data-kg-card-selected="true" + data-kg-card-selected="false" data-kg-card="callout"> <div> <div><button type="button">💡</button></div> <div> <div data-kg="editor"> @@ -18,9 +18,8 @@ </div> </div> </div> </div> <div></div> - <div data-kg-card-toolbar="callout"></div> </div> </div> <p><br /></p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/cards/callout-card.test.js:340:9
[chromium] › format-shortcuts.test.js:55:9 › Editor keyboard shortcuts › text formatting shortcuts › strikethrough: packages/koenig-lexical/test/utils/e2e.js#L101
2) [chromium] › format-shortcuts.test.js:55:9 › Editor keyboard shortcuts › text formatting shortcuts › strikethrough Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 4 - <p dir="ltr"><span data-lexical-text="true">test</span></p> + <p dir="ltr"> + <span data-lexical-text="true">te</span> + <span data-lexical-text="true">st</span> + </p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:69:13
[chromium] › format-shortcuts.test.js:72:9 › Editor keyboard shortcuts › text formatting shortcuts › link: packages/koenig-lexical/test/utils/e2e.js#L101
3) [chromium] › format-shortcuts.test.js:72:9 › Editor keyboard shortcuts › text formatting shortcuts › link Error: expect(received).toEqual(expected) // deep equality - Expected - 5 + Received + 2 - <p dir="ltr"> - <a href="https://example.com" rel="noreferrer" dir="ltr"> - <span data-lexical-text="true">test</span> - </a> - </p> + <p dir="ltr"><span data-lexical-text="true">https://example.com</span></p> + <p><br /></p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:89:13
[chromium] › format-shortcuts.test.js:97:9 › Editor keyboard shortcuts › text formatting shortcuts › inline code: packages/koenig-lexical/test/utils/e2e.js#L101
4) [chromium] › format-shortcuts.test.js:97:9 › Editor keyboard shortcuts › text formatting shortcuts › inline code Error: expect(received).toEqual(expected) // deep equality - Expected - 3 + Received + 1 - <p dir="ltr"> - <code spellcheck="false" data-lexical-text="true"><span>test</span></code> - </p> + <p dir="ltr"><span data-lexical-text="true">test</span></p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/format-shortcuts.test.js:111:13
[chromium] › title-behaviour.test.js:426:13 › Title behaviour (ExternalControlPlugin) › in editor › SHIFT+TAB › does not move cursor to title if a range selection would outdent something: packages/koenig-lexical/test/utils/e2e.js#L101
5) [chromium] › title-behaviour.test.js:426:13 › Title behaviour (ExternalControlPlugin) › in editor › SHIFT+TAB › does not move cursor to title if a range selection would outdent something Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 4 <p dir="ltr"><span data-lexical-text="true">Test</span></p> - <p dir="ltr"><span data-lexical-text="true">Test</span></p> + <p dir="ltr"> + <span data-lexical-text="true">Test</span> + <span data-lexical-text="true"></span> + </p> at ../utils/e2e.js:101 99 | ignoreCardCaptionContents 100 | }); > 101 | expect(actual).toEqual(expected); | ^ 102 | } 103 | 104 | export function prettifyHTML(string, options = {}) { at assertHTML (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:101:20) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/title-behaviour.test.js:439:17
Slow Test: packages/koenig-lexical/[chromium] › card-behaviour.test.js#L1
packages/koenig-lexical/[chromium] › card-behaviour.test.js took 26.2s
Slow Test: packages/koenig-lexical/[chromium] › cards/image-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/image-card.test.js took 24.6s
Slow Test: packages/koenig-lexical/[chromium] › format-shortcuts.test.js#L1
packages/koenig-lexical/[chromium] › format-shortcuts.test.js took 22.8s
Slow Test: packages/koenig-lexical/[chromium] › cards/code-block-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/code-block-card.test.js took 20.6s
Slow Test: packages/koenig-lexical/[chromium] › cards/header-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/header-card.test.js took 19.2s
Slow Test: packages/koenig-lexical/[chromium] › card-behaviour.test.js#L1
packages/koenig-lexical/[chromium] › card-behaviour.test.js took 26.4s
Slow Test: packages/koenig-lexical/[chromium] › cards/image-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/image-card.test.js took 22.4s
Slow Test: packages/koenig-lexical/[chromium] › cards/code-block-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/code-block-card.test.js took 21.1s
Slow Test: packages/koenig-lexical/[firefox] › cards/video-card.firefox.test.js#L1
packages/koenig-lexical/[firefox] › cards/video-card.firefox.test.js took 20.2s
Slow Test: packages/koenig-lexical/[chromium] › format-shortcuts.test.js#L1
packages/koenig-lexical/[chromium] › format-shortcuts.test.js took 19.7s
🎭 Playwright Run Summary
6 flaky [chromium] › cards/callout-card.test.js:328:5 › Callout Card › can undo/redo without losing content [chromium] › format-shortcuts.test.js:21:9 › Editor keyboard shortcuts › text formatting shortcuts › bold [chromium] › format-shortcuts.test.js:38:9 › Editor keyboard shortcuts › text formatting shortcuts › italic [chromium] › format-shortcuts.test.js:72:9 › Editor keyboard shortcuts › text formatting shortcuts › link [chromium] › format-shortcuts.test.js:97:9 › Editor keyboard shortcuts › text formatting shortcuts › inline code [chromium] › title-behaviour.test.js:426:13 › Title behaviour (ExternalControlPlugin) › in editor › SHIFT+TAB › does not move cursor to title if a range selection would outdent something 17 skipped 547 passed (4.1m)
🎭 Playwright Run Summary
5 flaky [chromium] › cards/callout-card.test.js:328:5 › Callout Card › can undo/redo without losing content [chromium] › format-shortcuts.test.js:55:9 › Editor keyboard shortcuts › text formatting shortcuts › strikethrough [chromium] › format-shortcuts.test.js:72:9 › Editor keyboard shortcuts › text formatting shortcuts › link [chromium] › format-shortcuts.test.js:97:9 › Editor keyboard shortcuts › text formatting shortcuts › inline code [chromium] › title-behaviour.test.js:426:13 › Title behaviour (ExternalControlPlugin) › in editor › SHIFT+TAB › does not move cursor to title if a range selection would outdent something 17 skipped 548 passed (4.1m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.12 MB