Add token UI concept to Link UI #94306
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L488
1) [chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('.components-popover__content .block-editor-link-control')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control')
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
486 |
487 | // Link Popover should now disappear because we are no longer within the link.
> 488 | await expect( linkPopover ).toBeHidden();
| ^
489 |
490 | // Append some text to the paragraph to assert that focus has been returned
491 | // to the correct location within the RichText.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:488:31
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L488
1) [chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('.components-popover__content .block-editor-link-control')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control')
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
486 |
487 | // Link Popover should now disappear because we are no longer within the link.
> 488 | await expect( linkPopover ).toBeHidden();
| ^
489 |
490 | // Append some text to the paragraph to assert that focus has been returned
491 | // to the correct location within the RichText.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:488:31
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L488
1) [chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('.components-popover__content .block-editor-link-control')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control')
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
- locator resolved to <div tabindex="-1" class="block-editor-link-control">…</div>
- unexpected value "visible"
486 |
487 | // Link Popover should now disappear because we are no longer within the link.
> 488 | await expect( linkPopover ).toBeHidden();
| ^
489 |
490 | // Append some text to the paragraph to assert that focus has been returned
491 | // to the correct location within the RichText.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:488:31
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L879
2) [chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "This is <a href=\"https://wordpress.org/gutenberg\"> link text that was modified via the Link UI to include spaces </a>",
+ "content": "This is <a href=\"https://wordpress.org/gutenberg\">Gutenberg</a>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
877 |
878 | // Check the created link reflects the link text.
> 879 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
880 | {
881 | name: 'core/paragraph',
882 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:879:42
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L879
2) [chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "This is <a href=\"https://wordpress.org/gutenberg\"> link text that was modified via the Link UI to include spaces </a>",
+ "content": "This is <a href=\"https://wordpress.org/gutenberg\">Gutenberg</a>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
877 |
878 | // Check the created link reflects the link text.
> 879 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
880 | {
881 | name: 'core/paragraph',
882 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:879:42
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L879
2) [chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "This is <a href=\"https://wordpress.org/gutenberg\"> link text that was modified via the Link UI to include spaces </a>",
+ "content": "This is <a href=\"https://wordpress.org/gutenberg\">Gutenberg</a>",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
877 |
878 | // Check the created link reflects the link text.
> 879 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
880 | {
881 | name: 'core/paragraph',
882 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:879:42
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L937
3) [chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('.components-popover__content .block-editor-link-control').getByLabel('Text', { exact: true })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control').getByLabel('Text', { exact: true })
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
935 | const textInput = linkPopover.getByLabel( 'Text', { exact: true } );
936 | await expect( textInput ).toBeVisible();
> 937 | await expect( textInput ).toBeFocused();
| ^
938 |
939 | // Link was created on text value "Gutenberg". We expect
940 | // the text input to reflect that value.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:937:30
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L937
3) [chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('.components-popover__content .block-editor-link-control').getByLabel('Text', { exact: true })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control').getByLabel('Text', { exact: true })
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
935 | const textInput = linkPopover.getByLabel( 'Text', { exact: true } );
936 | await expect( textInput ).toBeVisible();
> 937 | await expect( textInput ).toBeFocused();
| ^
938 |
939 | // Link was created on text value "Gutenberg". We expect
940 | // the text input to reflect that value.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:937:30
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L937
3) [chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('.components-popover__content .block-editor-link-control').getByLabel('Text', { exact: true })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('.components-popover__content .block-editor-link-control').getByLabel('Text', { exact: true })
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Gutenberg" id="inspector-text…/>
- unexpected value "not focused"
935 | const textInput = linkPopover.getByLabel( 'Text', { exact: true } );
936 | await expect( textInput ).toBeVisible();
> 937 | await expect( textInput ).toBeFocused();
| ^
938 |
939 | // Link was created on text value "Gutenberg". We expect
940 | // the text input to reflect that value.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:937:30
|
Run the tests
Process completed with exit code 1.
|
Run the tests
3 failed
[chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard
[chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI
[chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value
11 skipped
149 passed (9.2m)
|
The logs for this run have expired and are no longer available.
Loading