Only allow links to be created for selected text and fix CMD + K shortcut #96167
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:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/blocks/links.spec.js:227:2 › Links › allows arrow keys to be pressed during link creation when the toolbar is fixed to top
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1c:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:240:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/blocks/links.spec.js:227:2 › Links › allows arrow keys to be pressed during link creation when the toolbar is fixed to top
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1c:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:240:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/blocks/links.spec.js:227:2 › Links › allows arrow keys to be pressed during link creation when the toolbar is fixed to top
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1c:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:240:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/blocks/links.spec.js:255:2 › Links › allows arrow keys to be pressed during link creation in "Docked Toolbar" mode
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1c:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:269:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/blocks/links.spec.js:255:2 › Links › allows arrow keys to be pressed during link creation in "Docked Toolbar" mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1c:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:269:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/blocks/links.spec.js:255:2 › Links › allows arrow keys to be pressed during link creation in "Docked Toolbar" mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1c:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:269:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/blocks/links.spec.js:320:2 › Links › escape dismisses the Link UI popover and returns focus
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1q:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:388:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/blocks/links.spec.js:320:2 › Links › escape dismisses the Link UI popover and returns focus
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1q:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:388:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/blocks/links.spec.js:320:2 › Links › escape dismisses the Link UI popover and returns focus
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Link"]')
locator resolved to <button disabled id=":r1q:" type="button" aria-label="Li…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:388:3
|
Run the tests:
test/e2e/specs/editor/blocks/links.spec.js#L899
4) [chromium] › editor/blocks/links.spec.js:880:3 › Links › Editing link text › should not display text input when initially creating the link
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')
897 | // Check the Link UI is open before asserting on presence of text input
898 | // within that control.
> 899 | await expect( linkPopover ).toBeVisible();
| ^
900 |
901 | // Let's check we've focused a text input.
902 | const textInput = linkPopover.getByLabel( 'Text', { exact: true } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:899:32
|
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
4 failed
[chromium] › editor/blocks/links.spec.js:227:2 › Links › allows arrow keys to be pressed during link creation when the toolbar is fixed to top
[chromium] › editor/blocks/links.spec.js:255:2 › Links › allows arrow keys to be pressed during link creation in "Docked Toolbar" mode
[chromium] › editor/blocks/links.spec.js:320:2 › Links › escape dismisses the Link UI popover and returns focus
[chromium] › editor/blocks/links.spec.js:880:3 › Links › Editing link text › should not display text input when initially creating the link
11 skipped
146 passed (10.4m)
|
The logs for this run have expired and are no longer available.
Loading