Block Bindings: Explore improving block bindings UI useSelect
logic
#121793
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/various/rich-text.spec.js:11:2 › RichText (@Firefox, @WebKit) › should handle change in tag name gracefully
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Change level"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:22:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/various/rich-text.spec.js:11:2 › RichText (@Firefox, @WebKit) › should handle change in tag name gracefully
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Change level"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:22:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/various/rich-text.spec.js:11:2 › RichText (@Firefox, @WebKit) › should handle change in tag name gracefully
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Change level"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:22:3
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L45
2) [chromium] › editor/various/rich-text.spec.js:33:2 › RichText (@Firefox, @WebKit) › should apply formatting with primary shortcut
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "<strong>test</strong>",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
43 | await pageUtils.pressKeys( 'primary+b' );
44 |
> 45 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
46 | {
47 | name: 'core/paragraph',
48 | attributes: { content: '<strong>test</strong>' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:45:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L45
2) [chromium] › editor/various/rich-text.spec.js:33:2 › RichText (@Firefox, @WebKit) › should apply formatting with primary shortcut
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "<strong>test</strong>",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
43 | await pageUtils.pressKeys( 'primary+b' );
44 |
> 45 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
46 | {
47 | name: 'core/paragraph',
48 | attributes: { content: '<strong>test</strong>' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:45:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L45
2) [chromium] › editor/various/rich-text.spec.js:33:2 › RichText (@Firefox, @WebKit) › should apply formatting with primary shortcut
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "<strong>test</strong>",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
43 | await pageUtils.pressKeys( 'primary+b' );
44 |
> 45 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
46 | {
47 | name: 'core/paragraph',
48 | attributes: { content: '<strong>test</strong>' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:45:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L67
3) [chromium] › editor/various/rich-text.spec.js:53:2 › RichText (@Firefox, @WebKit) › should apply formatting when selection is collapsed
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "Some <strong>bold</strong>.",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
65 | await page.keyboard.type( '.' );
66 |
> 67 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
68 | {
69 | name: 'core/paragraph',
70 | attributes: { content: 'Some <strong>bold</strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:67:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L67
3) [chromium] › editor/various/rich-text.spec.js:53:2 › RichText (@Firefox, @WebKit) › should apply formatting when selection is collapsed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "Some <strong>bold</strong>.",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
65 | await page.keyboard.type( '.' );
66 |
> 67 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
68 | {
69 | name: 'core/paragraph',
70 | attributes: { content: 'Some <strong>bold</strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:67:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L67
3) [chromium] › editor/various/rich-text.spec.js:53:2 › RichText (@Firefox, @WebKit) › should apply formatting when selection is collapsed
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "Some <strong>bold</strong>.",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
65 | await page.keyboard.type( '.' );
66 |
> 67 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
68 | {
69 | name: 'core/paragraph',
70 | attributes: { content: 'Some <strong>bold</strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:67:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L90
4) [chromium] › editor/various/rich-text.spec.js:75:2 › RichText (@Firefox, @WebKit) › should apply multiple formats when selection is collapsed
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "<strong><em>1</em></strong>.",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
88 | await page.keyboard.type( '.' );
89 |
> 90 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
91 | {
92 | name: 'core/paragraph',
93 | attributes: { content: '<strong><em>1</em></strong>.' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:90:38
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
100 failed
[chromium] › editor/various/rich-text.spec.js:11:2 › RichText (@Firefox, @WebKit) › should handle change in tag name gracefully
[chromium] › editor/various/rich-text.spec.js:33:2 › RichText (@Firefox, @WebKit) › should apply formatting with primary shortcut
[chromium] › editor/various/rich-text.spec.js:53:2 › RichText (@Firefox, @WebKit) › should apply formatting when selection is collapsed
[chromium] › editor/various/rich-text.spec.js:75:2 › RichText (@Firefox, @WebKit) › should apply multiple formats when selection is collapsed
[chromium] › editor/various/rich-text.spec.js:98:2 › RichText (@Firefox, @WebKit) › should not highlight more than one format
[chromium] › editor/various/rich-text.spec.js:122:2 › RichText (@Firefox, @WebKit) › should return focus when pressing formatting button (-firefox)
[chromium] › editor/various/rich-text.spec.js:143:2 › RichText (@Firefox, @WebKit) › should transform backtick to code
[chromium] › editor/various/rich-text.spec.js:167:2 › RichText (@Firefox, @WebKit) › should undo backtick transform with backspace
[chromium] › editor/various/rich-text.spec.js:218:2 › RichText (@Firefox, @WebKit) › should not format text after code backtick
[chromium] › editor/various/rich-text.spec.js:235:2 › RichText (@Firefox, @WebKit) › should transform when typing backtick over selection
[chromium] › editor/various/rich-text.spec.js:267:2 › RichText (@Firefox, @WebKit) › should only mutate text data on input
[chromium] › editor/various/rich-text.spec.js:362:2 › RichText (@Firefox, @WebKit) › should not lose selection direction
[chromium] › editor/various/rich-text.spec.js:394:2 › RichText (@Firefox, @WebKit) › should handle Home and End keys
[chromium] › editor/various/rich-text.spec.js:418:2 › RichText (@Firefox, @WebKit) › should update internal selection after fresh focus (-firefox)
[chromium] › editor/various/rich-text.spec.js:441:2 › RichText (@Firefox, @WebKit) › should keep internal selection after blur (-webkit)
[chromium] › editor/various/rich-text.spec.js:474:2 › RichText (@Firefox, @WebKit) › should split rich text on paste
[chromium] › editor/various/rich-text.spec.js:504:2 › RichText (@Firefox, @WebKit) › should not split rich text on inline paste
[chromium] › editor/various/rich-text.spec.js:527:2 › RichText (@Firefox, @WebKit) › should not split rich text on inline paste with formatting
[chromium] › editor/various/rich-text.spec.js:554:2 › RichText (@Firefox, @WebKit) › should make bold after split and merge
[chromium] › editor/various/rich-text.spec.js:576:2 › RichText (@Firefox, @WebKit) › should apply active formatting for inline paste
[chromium] › editor/various/rich-text.spec.js:605:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit, -firefox)
[chromium] › editor/various/rich-text.spec.js:662:2 › RichText (@Firefox, @WebKit) › should paste paragraph contents into list
[chromium] › editor/various/rich-text.spec.js:706:2 › RichText (@Firefox, @WebKit) › should paste list contents into paragraph
[chromium] › editor/various/rich-text.spec.js:761:2 › RichText (@Firefox, @WebKit) › should navigate arround emoji
[chromium] › editor/various/rich-text.spec.js:779:2 › RichText (@Firefox, @WebKit) › should run input rules after composition end
[chromium] › editor/various/rich-text.spec.js:811:2 › RichText (@Firefox, @WebKit) › should navigate consecutive format boundaries
[chromium] › editor/various/rtl.spec.js:28:2 › RTL › should arrow navigate ─────────────────────
[chromium] › editor/various/rtl.spec.js:52:2 › RTL › should split ──────────────────────────────
[chromium] › editor/various/rtl.spec.js:73:2 › RTL › should merge backward ─────────────────────
[chromium] › editor/various/rtl.spec.js:91:2 › RTL › should merge forward ──────────────────────
[chromium] › editor/various/rtl.spec.js:110:2 › RTL › should arrow navigate between blocks ─────
[chromium] › editor/various/rtl.spec.js:148:2 › RTL › sh
|
Loading