Add token UI concept to Link UI #94306
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
9m 16s
Report to GitHub
6s
Annotations
11 errors and 8 notices
[chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard:
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
|
[chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard:
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
|
[chromium] › editor/blocks/links.spec.js:429:2 › Links › can be created and modified using only the keyboard:
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
|
[chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI:
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
|
[chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI:
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
|
[chromium] › editor/blocks/links.spec.js:842:3 › Links › Editing link text › should allow for modification of link text via the Link UI:
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
|
[chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value:
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
|
[chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value:
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
|
[chromium] › editor/blocks/links.spec.js:918:3 › Links › Editing link text › should display text input when the link has a valid URL value:
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
|
Playwright - 1
Process completed with exit code 1.
|
Report to GitHub
Unable to download artifact(s): Artifact not found for name: flaky-tests-report
|
🎭 Playwright Run Summary
4 skipped
119 passed (6.0m)
|
🎭 Playwright Run Summary
178 passed (7.1m)
|
🎭 Playwright Run Summary
139 passed (7.4m)
|
🎭 Playwright Run Summary
1 skipped
138 passed (7.2m)
|
🎭 Playwright Run Summary
3 skipped
119 passed (7.5m)
|
🎭 Playwright Run Summary
1 skipped
176 passed (7.9m)
|
🎭 Playwright Run Summary
163 passed (8.0m)
|
🎭 Playwright Run Summary
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)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
48.3 MB |
|