Fix crashing editor when placed in ShadowDOM on Android (#5963) #4359
Annotations
1 error and 1 notice
|
Run test:integration:
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
|
|
Run test:integration
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)
|
Loading