Add onSelectionChange
and onValueChange
in Slate React component …
#3699
Annotations
2 errors, 3 warnings, and 1 notice
Run test:integration:
playwright/integration/examples/embeds.test.ts#L16
1) [firefox] › integration/examples/embeds.test.ts:10:7 › embeds example › contains embeded ======
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
14 | .locator('iframe')
15 | .count()
> 16 | ).toBe(1)
| ^
17 | })
18 | })
19 |
at /home/runner/work/slate/slate/playwright/integration/examples/embeds.test.ts:16:7
|
Run test:integration:
playwright/integration/examples/inlines.test.ts#L37
2) [firefox] › integration/examples/inlines.test.ts:18:7 › Inlines example › arrow keys skip over read-only inline
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 3
- .
+ In addition to block nodes, you can create inline nodes. Here is a hyperlink , and here is a more unusual inline: an editable button ! Here is a read-only inline: Approved .
+
+ There are two ways to add links. You can either add a link via the toolbar icon above, or if you want in on a little secret, copy a URL to your keyboard and paste it while a range of text is selected. Finally, here is our favorite dog video.
35 | })
36 |
> 37 | expect(await getSelectionContainerText()).toBe('.')
| ^
38 | await page.keyboard.press('ArrowLeft')
39 | expect(await getSelectionContainerText()).toBe(
40 | '! Here is a read-only inline: '
at /home/runner/work/slate/slate/playwright/integration/examples/inlines.test.ts:37:47
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Setup node
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
|
Post Setup node
Unexpected input(s) 'key', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
|
Run test:integration
2 flaky
[firefox] › integration/examples/embeds.test.ts:10:7 › embeds example › contains embeded =======
[firefox] › integration/examples/inlines.test.ts:18:7 › Inlines example › arrow keys skip over read-only inline
74 passed (4m)
|
The logs for this run have expired and are no longer available.
Loading