Skip to content

Fix crashing editor when placed in ShadowDOM on Android (#5963) #4359

Fix crashing editor when placed in ShadowDOM on Android (#5963)

Fix crashing editor when placed in ShadowDOM on Android (#5963) #4359

Triggered via push November 7, 2025 19:40
Status Success
Total duration 5m 4s
Artifacts 1

ci.yml

on: push
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 notice
[mobile] › playwright/integration/examples/shadow-dom.test.ts:16:7 › shadow-dom example › renders slate editor inside nested shadow and edits content: playwright/integration/examples/shadow-dom.test.ts#L34
1) [mobile] › playwright/integration/examples/shadow-dom.test.ts:16:7 › shadow-dom example › renders slate editor inside nested shadow and edits content Error: Timed out 8000ms waiting for expect(locator).toHaveText(expected) Locator: locator('[data-cy="outer-shadow-root"]').locator('> div').getByRole('textbox') Expected string: "Hello, Playwright!" Received string: "Hello, Playright!" Call log: - expect.toHaveText with timeout 8000ms - waiting for locator('[data-cy="outer-shadow-root"]').locator('> div').getByRole('textbox') 12 × locator resolved to <div zindex="-1" role="textbox" translate="no" aria-multiline="true" contenteditable="true" data-slate-node="value" data-slate-editor="true">…</div> - unexpected value "Hello, Playright!" 32 | 33 | // Assert that the textbox contains the correct text > 34 | await expect(textbox).toHaveText('Hello, Playwright!') | ^ 35 | }) 36 | 37 | test('user can type add a new line in editor inside shadow DOM', async ({ at /home/runner/work/slate/slate/playwright/integration/examples/shadow-dom.test.ts:34:27
🎭 Playwright Run Summary
1 flaky [mobile] › playwright/integration/examples/shadow-dom.test.ts:16:7 › shadow-dom example › renders slate editor inside nested shadow and edits content 3 skipped 116 passed (2.7m)

Artifacts

Produced during runtime
Name Size Digest
test-results
393 KB
sha256:a0cdf21bd9bbb3db7f48d2916b4e7e0c8b3c5ae523cd8ad24a08fe3e07510980