Skip to content

Improve behavior of shift-enter and br tags in lexical components. #25771

Improve behavior of shift-enter and br tags in lexical components.

Improve behavior of shift-enter and br tags in lexical components. #25771

Re-run triggered November 5, 2024 09:24
Status Failure
Total duration 7m 24s
Artifacts 1

test.yml

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

Annotations

7 errors, 4 warnings, and 2 notices
[chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes: packages/koenig-lexical/test/e2e/cards/signup-card.test.js#L1
1) [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes Test timeout of 30000ms exceeded.
[chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes: packages/koenig-lexical/test/utils/e2e.js#L51
1) [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('[data-lexical-editor]') to be visible at ../utils/e2e.js:51 49 | 50 | async function exposeLexicalEditor(page) { > 51 | await page.waitForSelector('[data-lexical-editor]'); | ^ 52 | await page.evaluate(() => { 53 | window.lexicalEditor = document.querySelector('[data-lexical-editor]').__lexicalEditor; 54 | window.originalEditorState = window.lexicalEditor.getEditorState(); at exposeLexicalEditor (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:51:16) at initialize (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:46:15) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/cards/signup-card.test.js:51:9
[chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes: packages/koenig-lexical/test/e2e/cards/signup-card.test.js#L1
1) [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes: packages/koenig-lexical/test/utils/e2e.js#L51
1) [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('[data-lexical-editor]') to be visible at ../utils/e2e.js:51 49 | 50 | async function exposeLexicalEditor(page) { > 51 | await page.waitForSelector('[data-lexical-editor]'); | ^ 52 | await page.evaluate(() => { 53 | window.lexicalEditor = document.querySelector('[data-lexical-editor]').__lexicalEditor; 54 | window.originalEditorState = window.lexicalEditor.getEditorState(); at exposeLexicalEditor (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:51:16) at initialize (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:46:15) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/cards/signup-card.test.js:51:9
[chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes: packages/koenig-lexical/test/e2e/cards/signup-card.test.js#L1
1) [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes: packages/koenig-lexical/test/utils/e2e.js#L51
1) [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('[data-lexical-editor]') to be visible at ../utils/e2e.js:51 49 | 50 | async function exposeLexicalEditor(page) { > 51 | await page.waitForSelector('[data-lexical-editor]'); | ^ 52 | await page.evaluate(() => { 53 | window.lexicalEditor = document.querySelector('[data-lexical-editor]').__lexicalEditor; 54 | window.originalEditorState = window.lexicalEditor.getEditorState(); at exposeLexicalEditor (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:51:16) at initialize (/home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/utils/e2e.js:46:15) at /home/runner/work/Koenig/Koenig/packages/koenig-lexical/test/e2e/cards/signup-card.test.js:51:9
Node 20.11.1
Process completed with exit code 1.
Slow Test: packages/koenig-lexical/[chromium] › cards/bookmark-card-with-search.test.js#L1
packages/koenig-lexical/[chromium] › cards/bookmark-card-with-search.test.js took 20.7s
Slow Test: packages/koenig-lexical/[chromium] › card-behaviour.test.js#L1
packages/koenig-lexical/[chromium] › card-behaviour.test.js took 17.6s
Slow Test: packages/koenig-lexical/[chromium] › cards/code-block-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/code-block-card.test.js took 16.4s
Slow Test: packages/koenig-lexical/[chromium] › cards/html-card.test.js#L1
packages/koenig-lexical/[chromium] › cards/html-card.test.js took 15.1s
🎭 Playwright Run Summary
4 passed (9.0s)
🎭 Playwright Run Summary
1 failed [chromium] › cards/signup-card.test.js:23:5 › Signup card › can import serialized signup card nodes 27 skipped 668 passed (3.6m)

Artifacts

Produced during runtime
Name Size
playwright-report
558 KB