Implementing new UX for invoking rich text Link UI #94436
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#L176
1) [chromium] › editor/blocks/links.spec.js:156:2 › Links › will automatically create a link if selected text is a valid HTTP based URL
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "This is Gutenberg: <a href=\"https://wordpress.org/gutenberg\">https://wordpress.org/gutenberg</a>",
+ "content": "This is Gutenberg: https://wordpress.org/gutenberg",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
174 |
175 | // A link with the selected URL as its href should have been inserted.
> 176 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
177 | {
178 | name: 'core/paragraph',
179 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:176:41
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L176
1) [chromium] › editor/blocks/links.spec.js:156:2 › Links › will automatically create a link if selected text is a valid HTTP based URL
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "This is Gutenberg: <a href=\"https://wordpress.org/gutenberg\">https://wordpress.org/gutenberg</a>",
+ "content": "This is Gutenberg: https://wordpress.org/gutenberg",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
174 |
175 | // A link with the selected URL as its href should have been inserted.
> 176 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
177 | {
178 | name: 'core/paragraph',
179 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:176:41
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L176
1) [chromium] › editor/blocks/links.spec.js:156:2 › Links › will automatically create a link if selected text is a valid HTTP based URL
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "This is Gutenberg: <a href=\"https://wordpress.org/gutenberg\">https://wordpress.org/gutenberg</a>",
+ "content": "This is Gutenberg: https://wordpress.org/gutenberg",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
174 |
175 | // A link with the selected URL as its href should have been inserted.
> 176 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
177 | {
178 | name: 'core/paragraph',
179 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:176:41
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L425
2) [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=\"6a11e2aa-761f-4f39-abba-df7d5689a46b\" class=\"fn\"><a href=\"#6a11e2aa-761f-4f39-abba-df7d5689a46b\" id=\"6a11e2aa-761f-4f39-abba-df7d5689a46b-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
2) [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=\"ed5d632d-898c-41ef-b8ec-6ec88682286a\" class=\"fn\"><a href=\"#ed5d632d-898c-41ef-b8ec-6ec88682286a\" id=\"ed5d632d-898c-41ef-b8ec-6ec88682286a-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
2) [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=\"2de8d65a-db1b-4d87-bfc6-924e480fc17e\" class=\"fn\"><a href=\"#2de8d65a-db1b-4d87-bfc6-924e480fc17e\" id=\"2de8d65a-db1b-4d87-bfc6-924e480fc17e-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
3) [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
3) [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
3) [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
4) [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
|
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
12 failed
[chromium] › editor/blocks/links.spec.js:156:2 › Links › will automatically create a link if selected text is a valid HTTP based URL
[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
140 passed (13.8m)
|
The logs for this run have expired and are no longer available.
Loading