Skip to content

Fix: Calling ReactEditor.focus doesn't update useFocused when running in @testing-library/react #3792

Fix: Calling ReactEditor.focus doesn't update useFocused when running in @testing-library/react

Fix: Calling ReactEditor.focus doesn't update useFocused when running in @testing-library/react #3792

Triggered via pull request January 22, 2024 16:56
Status Failure
Total duration 5m 8s
Artifacts

ci.yml

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

Annotations

10 errors, 14 warnings, and 1 notice
[chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked: playwright/integration/examples/check-lists.test.ts#L1
1) [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked: playwright/integration/examples/check-lists.test.ts#L1
1) [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked: playwright/integration/examples/check-lists.test.ts#L1
1) [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked: playwright/integration/examples/check-lists.test.ts#L1
1) [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked: playwright/integration/examples/check-lists.test.ts#L1
1) [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked Retry #4 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked: playwright/integration/examples/check-lists.test.ts#L1
1) [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked Retry #5 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css: playwright/integration/examples/code-highlighting.test.ts#L1
2) [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css: playwright/integration/examples/code-highlighting.test.ts#L1
2) [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css: playwright/integration/examples/code-highlighting.test.ts#L1
2) [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
[chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css: playwright/integration/examples/code-highlighting.test.ts#L1
2) [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1084/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ yarn playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
lint:prettier
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/
lint:prettier
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']
lint:prettier
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']
lint:typescript
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/
lint:typescript
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']
lint:typescript
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']
lint:eslint
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/
lint:eslint
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']
lint:eslint
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']
test
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/
test
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']
test
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']
test:integration
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/
test:integration
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']
🎭 Playwright Run Summary
74 failed [chromium] › integration/examples/check-lists.test.ts:8:7 › Check-lists example › checks the bullet when clicked [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting css [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting html [chromium] › integration/examples/code-highlighting.test.ts:13:9 › code highlighting › code highlighting jsx [chromium] › integration/examples/editable-voids.test.ts:15:7 › editable voids › checks for the elements [chromium] › integration/examples/editable-voids.test.ts:22:7 › editable voids › should double the elements [chromium] › integration/examples/editable-voids.test.ts:32:7 › editable voids › make sure you can edit editable void [chromium] › integration/examples/embeds.test.ts:10:7 › embeds example › contains embeded ────── [chromium] › integration/examples/forced-layout.test.ts:13:7 › forced layout example › checks for the elements [chromium] › integration/examples/forced-layout.test.ts:19:7 › forced layout example › checks if elements persist even after everything is deleted [chromium] › integration/examples/hovering-toolbar.test.ts:8:7 › hovering toolbar example › hovering toolbar appears [chromium] › integration/examples/hovering-toolbar.test.ts:21:7 › hovering toolbar example › hovering toolbar disappears [chromium] › integration/examples/huge-document.test.ts:13:7 › huge document example › contains image [chromium] › integration/examples/iframe.test.ts:8:7 › iframe editor › should be editable ────── [chromium] › integration/examples/images.test.ts:8:7 › images example › contains image ───────── [chromium] › integration/examples/inlines.test.ts:8:7 › Inlines example › contains link ──────── [chromium] › integration/examples/markdown-preview.test.ts:11:7 › markdown preview › checks for markdown [chromium] › integration/examples/markdown-shortcuts.test.ts:8:7 › On markdown-shortcuts example › contains quote [chromium] › integration/examples/markdown-shortcuts.test.ts:14:7 › On markdown-shortcuts example › can add list items [chromium] › integration/examples/markdown-shortcuts.test.ts:43:7 › On markdown-shortcuts example › can add a h1 item [chromium] › integration/examples/mentions.test.ts:9:7 › mentions example › renders mention element [chromium] › integration/examples/mentions.test.ts:14:7 › mentions example › shows list of mentions [chromium] › integration/examples/mentions.test.ts:22:7 › mentions example › inserts on enter from list [chromium] › integration/examples/paste-html.test.ts:29:7 › paste html example › pasted bold text uses <strong> [chromium] › integration/examples/paste-html.test.ts:34:7 › paste html example › pasted code uses <code> [chromium] › integration/examples/placeholder.test.ts:9:7 › placeholder example › renders custom placeholder [chromium] › integration/examples/placeholder.test.ts:18:7 › placeholder example › renders editor tall enough to fit placeholder [chromium] › integration/examples/plaintext.test.ts:9:7 › plaintext example › inserts text when typed [chromium] › integration/examples/read-only.test.ts:8:7 › readonly editor › should not be editable [chromium] › integration/examples/richtext.test.ts:9:7 › On richtext example › renders rich text [chromium] › integration/examples/richtext.test.ts:16:7 › On richtext example › inserts text when typed [chromium] › integration/examples/search-highlighting.test.ts:9:7 › search highlighting › highlights the searched text [chromium] › integration/examples/select.test.ts:9:7 › selection › select the correct block when triple clicking [chromium] › integration/examples/shadow-dom.test.ts:9:7 › shadow-dom example › renders slate editor inside nested shadow [chromium] › integration/examples/styling.test.ts:9:7 › styling example › applies styles to editor from style prop [chromium] › integration/examples/styling.test.ts:49:7 › styling