Footnotes/RichText: fix getRichTextValues for deeply nested blocks #79480
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 19s
Annotations
23 errors and 4 notices
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/block-context.test.js#L45
Error: expect(received).toBe(expected) // Object.is equality
Expected: "The record ID is: 123"
Received: "The record ID is: 23"
at Object.toBe (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/block-context.test.js:45:28)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/plugins/block-context.test.js#L59
Error: expect(received).toMatch(expected)
Expected pattern: /^0,\d+,post$/
Received string: ""
at Object.toMatch (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/plugins/block-context.test.js:59:21)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
Puppeteer - 1
Process completed with exit code 1.
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/block-grouping.test.js#L133
Error: expect(received).toHaveLength(expected)
Expected length: 1
Received length: 0
Received array: []
at Object.toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/block-grouping.test.js:133:20)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
Puppeteer - 2
Process completed with exit code 1.
|
[webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L238
1) [webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
236 | await page.mouse.up();
237 |
> 238 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
239 | } );
240 |
241 | test( 'cancels dragging patterns from the global inserter by pressing Escape', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:238:49
|
[webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L238
1) [webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit-retry1/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit-retry1/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
236 | await page.mouse.up();
237 |
> 238 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
239 | } );
240 |
241 | test( 'cancels dragging patterns from the global inserter by pressing Escape', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:238:49
|
[webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L238
1) [webkit] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit-retry2/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit-retry2/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
236 | await page.mouse.up();
237 |
> 238 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
239 | } );
240 |
241 | test( 'cancels dragging patterns from the global inserter by pressing Escape', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:238:49
|
Playwright - 4
Process completed with exit code 1.
|
[chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L238
1) [chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-chromium/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-chromium/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
236 | await page.mouse.up();
237 |
> 238 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
239 | } );
240 |
241 | test( 'cancels dragging patterns from the global inserter by pressing Escape', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:238:49
|
[chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L238
1) [chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-chromium-retry1/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-chromium-retry1/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
236 | await page.mouse.up();
237 |
> 238 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
239 | } );
240 |
241 | test( 'cancels dragging patterns from the global inserter by pressing Escape', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:238:49
|
[chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L238
1) [chromium] › editor/various/inserting-blocks.spec.js:170:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-chromium-retry2/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-chromium-retry2/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
236 | await page.mouse.up();
237 |
> 238 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
239 | } );
240 |
241 | test( 'cancels dragging patterns from the global inserter by pressing Escape', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:238:49
|
Playwright - 2
Process completed with exit code 1.
|
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter):
test/e2e/specs/editor/blocks/buttons.spec.js#L40
1) [chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 3
+ Received + 1
<!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
- <!-- /wp:button --></div>
+ <div class=""></div>
<!-- /wp:buttons -->
38 | // Check the content.
39 | const content = await editor.getEditedPostContent();
> 40 | expect( content ).toBe(
| ^
41 | `<!-- wp:buttons -->
42 | <div class="wp-block-buttons"><!-- wp:button -->
43 | <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:40:21
|
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter):
test/e2e/specs/editor/blocks/buttons.spec.js#L40
1) [chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 3
+ Received + 1
<!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
- <!-- /wp:button --></div>
+ <div class=""></div>
<!-- /wp:buttons -->
38 | // Check the content.
39 | const content = await editor.getEditedPostContent();
> 40 | expect( content ).toBe(
| ^
41 | `<!-- wp:buttons -->
42 | <div class="wp-block-buttons"><!-- wp:button -->
43 | <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:40:21
|
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter):
test/e2e/specs/editor/blocks/buttons.spec.js#L40
1) [chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 3
+ Received + 1
<!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
- <!-- /wp:button --></div>
+ <div class=""></div>
<!-- /wp:buttons -->
38 | // Check the content.
39 | const content = await editor.getEditedPostContent();
> 40 | expect( content ).toBe(
| ^
41 | `<!-- wp:buttons -->
42 | <div class="wp-block-buttons"><!-- wp:button -->
43 | <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Content</a></div>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:40:21
|
[chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted:
test/e2e/specs/editor/blocks/buttons.spec.js#L98
2) [chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=link[name=/^example\\.com/]')
- waiting for locator('role=link[name=/^example\\.com/]')
96 | await expect(
97 | page.locator( 'role=link[name=/^example\\.com/]' )
> 98 | ).toBeFocused();
| ^
99 | await page.keyboard.press( 'Escape' );
100 |
101 | // Focus should move from the link control to the button block's text.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:98:5
|
[chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted:
test/e2e/specs/editor/blocks/buttons.spec.js#L98
2) [chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=link[name=/^example\\.com/]')
- waiting for locator('role=link[name=/^example\\.com/]')
96 | await expect(
97 | page.locator( 'role=link[name=/^example\\.com/]' )
> 98 | ).toBeFocused();
| ^
99 | await page.keyboard.press( 'Escape' );
100 |
101 | // Focus should move from the link control to the button block's text.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:98:5
|
[chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted:
test/e2e/specs/editor/blocks/buttons.spec.js#L98
2) [chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=link[name=/^example\\.com/]')
- waiting for locator('role=link[name=/^example\\.com/]')
96 | await expect(
97 | page.locator( 'role=link[name=/^example\\.com/]' )
> 98 | ).toBeFocused();
| ^
99 | await page.keyboard.press( 'Escape' );
100 |
101 | // Focus should move from the link control to the button block's text.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:98:5
|
[chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol:
test/e2e/specs/editor/blocks/buttons.spec.js#L135
3) [chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol
Error: Timed out 5000ms waiting for expect(received).toHaveValue(expected)
Expected string: "http://example.com"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('role=combobox[name="Link"i]')
- waiting for locator('role=combobox[name="Link"i]')
133 |
134 | // Check the value of the URL input has had http:// prepended.
> 135 | await expect( urlInput ).toHaveValue( 'http://example.com' );
| ^
136 | } );
137 |
138 | test( 'can jump to the link editor using the keyboard shortcut', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:135:28
|
[chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol:
test/e2e/specs/editor/blocks/buttons.spec.js#L135
3) [chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveValue(expected)
Expected string: "http://example.com"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('role=combobox[name="Link"i]')
- waiting for locator('role=combobox[name="Link"i]')
133 |
134 | // Check the value of the URL input has had http:// prepended.
> 135 | await expect( urlInput ).toHaveValue( 'http://example.com' );
| ^
136 | } );
137 |
138 | test( 'can jump to the link editor using the keyboard shortcut', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:135:28
|
[chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol:
test/e2e/specs/editor/blocks/buttons.spec.js#L135
3) [chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveValue(expected)
Expected string: "http://example.com"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('role=combobox[name="Link"i]')
- waiting for locator('role=combobox[name="Link"i]')
133 |
134 | // Check the value of the URL input has had http:// prepended.
> 135 | await expect( urlInput ).toHaveValue( 'http://example.com' );
| ^
136 | } );
137 |
138 | test( 'can jump to the link editor using the keyboard shortcut', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:135:28
|
[chromium] › editor/blocks/buttons.spec.js:138:2 › Buttons › can jump to the link editor using the keyboard shortcut:
test/e2e/specs/editor/blocks/buttons.spec.js#L152
4) [chromium] › editor/blocks/buttons.spec.js:138:2 › Buttons › can jump to the link editor using the keyboard shortcut
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=link[name=/^wordpress\\.org/]')
- waiting for locator('role=link[name=/^wordpress\\.org/]')
150 | await expect(
151 | page.locator( 'role=link[name=/^wordpress\\.org/]' )
> 152 | ).toBeFocused();
| ^
153 |
154 | // Check the content.
155 | const content = await editor.getEditedPostContent();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:152:5
|
🎭 Playwright Run Summary
158 passed (16.5m)
|
|
|
🎭 Playwright Run Summary
14 failed
[chromium] › editor/blocks/buttons.spec.js:29:2 › Buttons › has focus on button content (slash inserter)
[chromium] › editor/blocks/buttons.spec.js:80:2 › Buttons › moves focus from the link editor back to the button when escape is pressed after the URL has been submitted
[chromium] › editor/blocks/buttons.spec.js:112:2 › Buttons › appends http protocol to links added which are missing a protocol
[chromium] › editor/blocks/buttons.spec.js:138:2 › Buttons › can jump to the link editor using the keyboard shortcut
[chromium] › editor/blocks/buttons.spec.js:165:2 › Buttons › can resize width ──────────────────
[chromium] › editor/blocks/buttons.spec.js:187:2 › Buttons › can apply named colors ────────────
[chromium] › editor/blocks/buttons.spec.js:216:2 › Buttons › can apply custom colors ───────────
[chromium] › editor/blocks/buttons.spec.js:248:2 › Buttons › can apply named gradient background color
[chromium] › editor/blocks/buttons.spec.js:277:2 › Buttons › can apply custom gradient background color
[chromium] › editor/blocks/comments.spec.js:60:2 › Comments › Pagination links are working as expected
[chromium] › editor/blocks/comments.spec.js:181:2 › Comments › The editable block version is rendered if the legacy attribute is false
[chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
[chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group
[chromium] › editor/blocks/navigation.spec.js:293:2 › Navigation block › Adding new links to a navigation block with existing inner blocks triggers creation of a single Navigation Menu
3 flaky
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes
[chromium] › editor/blocks/image.spec.js:911:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation
[chromium] › editor/blocks/image.spec.js:980:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image
171 passed (27.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
106 MB |
|
flaky-tests-report
Expired
|
44.2 KB |
|