Skip to content

Remove immer, making the core slate package dependency-free #4365

Remove immer, making the core slate package dependency-free

Remove immer, making the core slate package dependency-free #4365

Triggered via pull request November 17, 2025 02:11
Status Success
Total duration 5m 41s
Artifacts 1

ci.yml

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

Annotations

3 errors 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
2) [mobile] › playwright/integration/examples/shadow-dom.test.ts:16:7 › shadow-dom example › renders slate editor inside nested shadow and edits content Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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, Paywright!" 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, Paywright!" 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
[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
2) [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: "Helo, lyrgt!" 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 "Helo, lyrgt!" 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
[mobile] › playwright/integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting jsx: playwright/integration/examples/code-highlighting.test.ts#L36
1) [mobile] › playwright/integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting jsx Error: locator.selectOption: Error: strict mode violation: getByTestId('language-select') resolved to 3 elements: 1) <select class="css-rc8lf3" contenteditable="false" data-test-id="language-select">…</select> aka getByTestId('language-select').first() 2) <select class="css-rc8lf3" contenteditable="false" data-test-id="language-select">…</select> aka getByTestId('language-select').nth(1) 3) <select class="css-rc8lf3" contenteditable="false" data-test-id="language-select">…</select> aka getByTestId('language-select').nth(2) Call log: - waiting for getByTestId('language-select') 34 | await page.keyboard.press('Backspace') // clear editor 35 | await page.getByTestId('code-block-button').click() // convert first and the only one paragraph to code block > 36 | await page.getByTestId('language-select').selectOption({ value: language }) // select the language option | ^ 37 | 38 | await page.keyboard.type(text) // type text 39 | } at setText (/home/runner/work/slate/slate/playwright/integration/examples/code-highlighting.test.ts:36:45) at /home/runner/work/slate/slate/playwright/integration/examples/code-highlighting.test.ts:14:7
🎭 Playwright Run Summary
2 flaky [mobile] › playwright/integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting jsx [mobile] › playwright/integration/examples/shadow-dom.test.ts:16:7 › shadow-dom example › renders slate editor inside nested shadow and edits content 3 skipped 115 passed (2.9m)

Artifacts

Produced during runtime
Name Size Digest
test-results
1000 KB
sha256:856794601e39ff5fa26d04c68d91b0aa6735fb6e77061fb1914876667a3e8f59