Implementing new UX for invoking rich text Link UI #94458
Annotations
11 errors, 1 warning, and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L425
1) [chromium] › editor/blocks/links.spec.js:368:2 › Links › escape dismisses the Link UI popover and returns focus
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 8
Array [
Object {
"attributes": Object {
- "content": "This is Gutenberg and more!",
+ "content": "This is Gutenberg<sup data-fn=\"29979a5d-9435-4ac1-a693-e738f655e889\" class=\"fn\"><a href=\"#29979a5d-9435-4ac1-a693-e738f655e889\" id=\"29979a5d-9435-4ac1-a693-e738f655e889-link\">1</a></sup>",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {},
+ "innerBlocks": Array [],
+ "name": "core/footnotes",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
423 | await page.keyboard.type( ' and more!' );
424 |
> 425 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
426 | {
427 | name: 'core/paragraph',
428 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:425:41
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L425
1) [chromium] › editor/blocks/links.spec.js:368:2 › Links › escape dismisses the Link UI popover and returns focus
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 8
Array [
Object {
"attributes": Object {
- "content": "This is Gutenberg and more!",
+ "content": "This is Gutenberg<sup data-fn=\"28abfabe-aa80-4d62-a552-861f042801ac\" class=\"fn\"><a href=\"#28abfabe-aa80-4d62-a552-861f042801ac\" id=\"28abfabe-aa80-4d62-a552-861f042801ac-link\">1</a></sup>",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {},
+ "innerBlocks": Array [],
+ "name": "core/footnotes",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
423 | await page.keyboard.type( ' and more!' );
424 |
> 425 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
426 | {
427 | name: 'core/paragraph',
428 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:425:41
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L425
1) [chromium] › editor/blocks/links.spec.js:368:2 › Links › escape dismisses the Link UI popover and returns focus
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 8
Array [
Object {
"attributes": Object {
- "content": "This is Gutenberg and more!",
+ "content": "This is Gutenberg<sup data-fn=\"28781a9e-5949-4f64-ae39-e1ccfd8b8779\" class=\"fn\"><a href=\"#28781a9e-5949-4f64-ae39-e1ccfd8b8779\" id=\"28781a9e-5949-4f64-ae39-e1ccfd8b8779-link\">1</a></sup>",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {},
+ "innerBlocks": Array [],
+ "name": "core/footnotes",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
423 | await page.keyboard.type( ' and more!' );
424 |
> 425 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
426 | {
427 | name: 'core/paragraph',
428 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:425:41
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L454
2) [chromium] › editor/blocks/links.spec.js:435:2 › Links › can be created and modified using only the keyboard
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.components-popover__content .block-editor-link-control')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control')
452 | await pageUtils.pressKeys( 'Enter' );
453 |
> 454 | await expect( linkPopover ).toBeVisible();
| ^
455 | // Close the link control to return the caret to the canvas
456 | await pageUtils.pressKeys( 'Escape' );
457 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:454:31
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L454
2) [chromium] › editor/blocks/links.spec.js:435:2 › Links › can be created and modified using only the keyboard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.components-popover__content .block-editor-link-control')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control')
452 | await pageUtils.pressKeys( 'Enter' );
453 |
> 454 | await expect( linkPopover ).toBeVisible();
| ^
455 | // Close the link control to return the caret to the canvas
456 | await pageUtils.pressKeys( 'Escape' );
457 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:454:31
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L454
2) [chromium] › editor/blocks/links.spec.js:435:2 › Links › can be created and modified using only the keyboard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.components-popover__content .block-editor-link-control')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control')
452 | await pageUtils.pressKeys( 'Enter' );
453 |
> 454 | await expect( linkPopover ).toBeVisible();
| ^
455 | // Close the link control to return the caret to the canvas
456 | await pageUtils.pressKeys( 'Escape' );
457 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:454:31
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L580
3) [chromium] › editor/blocks/links.spec.js:532:2 › Links › can be created by selecting text and using keyboard shortcuts
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Advanced' })
============================================================
578 | name: 'Advanced',
579 | } )
> 580 | .click();
| ^
581 |
582 | // Navigate to and toggle the "Open in new tab" checkbox.
583 | const checkbox = page.getByLabel( 'Open in new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:580:5
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L580
3) [chromium] › editor/blocks/links.spec.js:532:2 › Links › can be created by selecting text and using keyboard shortcuts
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Advanced' })
============================================================
578 | name: 'Advanced',
579 | } )
> 580 | .click();
| ^
581 |
582 | // Navigate to and toggle the "Open in new tab" checkbox.
583 | const checkbox = page.getByLabel( 'Open in new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:580:5
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L580
3) [chromium] › editor/blocks/links.spec.js:532:2 › Links › can be created by selecting text and using keyboard shortcuts
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Advanced' })
============================================================
578 | name: 'Advanced',
579 | } )
> 580 | .click();
| ^
581 |
582 | // Navigate to and toggle the "Open in new tab" checkbox.
583 | const checkbox = page.getByLabel( 'Open in new tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:580:5
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L652
4) [chromium] › editor/blocks/links.spec.js:607:2 › Links › can update the url of an existing link
TimeoutError: locator.fill: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByPlaceholder('Search or type url')
============================================================
650 | // getByPlaceholder required in order to handle Link Control component
651 | // managing focus onto other inputs within the control.
> 652 | await page.getByPlaceholder( 'Search or type url' ).fill( '' );
| ^
653 | await page.keyboard.type( 'wordpress.org' );
654 |
655 | // Update the link.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:652:55
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
11 failed
[chromium] › editor/blocks/links.spec.js:368:2 › Links › escape dismisses the Link UI popover and returns focus
[chromium] › editor/blocks/links.spec.js:435:2 › Links › can be created and modified using only the keyboard
[chromium] › editor/blocks/links.spec.js:532:2 › Links › can be created by selecting text and using keyboard shortcuts
[chromium] › editor/blocks/links.spec.js:607:2 › Links › can update the url of an existing link
[chromium] › editor/blocks/links.spec.js:689:2 › Links › toggle state of advanced link settings is preserved across editing links
[chromium] › editor/blocks/links.spec.js:779:2 › Links › can toggle link settings and save ─────
[chromium] › editor/blocks/links.spec.js:859:3 › Links › Editing link text › should allow for modification of link text via the Link UI
[chromium] › editor/blocks/links.spec.js:1004:3 › Links › Editing link text › should display (capture the) text from the currently active link even if there is a rich text selection
[chromium] › editor/blocks/links.spec.js:1048:3 › Links › Disabling Link UI active state › should not show the Link UI when selection extends beyond link boundary
[chromium] › editor/blocks/links.spec.js:1115:3 › Links › Disabling Link UI active state › should not show the Link UI when selection extends into another link
[chromium] › editor/blocks/links.spec.js:1186:3 › Links › Disabling Link UI active state › should correctly replace active link's text value within rich text even when multiple matching text values exist within the rich text
11 skipped
141 passed (14.7m)
|
The logs for this run have expired and are no longer available.
Loading