Try: Indicate when text color in post editor is inherited from Global Styles #90255
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L372
1) [chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('a').filter({ hasText: 'Custom Link' })
Expected string: "rgb(0, 0, 0)"
Received string: ""
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('a').filter({ hasText: 'Custom Link' })
370 | .filter( { hasText: 'Page Link' } );
371 |
> 372 | await expect( customLink ).toHaveCSS( 'color', textColor );
| ^
373 | await expect( pageLink ).toHaveCSS( 'color', textColor );
374 | // Navigation background.
375 | const navigationWrapper = this.editor.canvas.getByRole( 'document', {
at ColorControl.testEditorColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:372:30)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:69:22
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L372
1) [chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('a').filter({ hasText: 'Custom Link' })
Expected string: "rgb(0, 0, 0)"
Received string: ""
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('a').filter({ hasText: 'Custom Link' })
370 | .filter( { hasText: 'Page Link' } );
371 |
> 372 | await expect( customLink ).toHaveCSS( 'color', textColor );
| ^
373 | await expect( pageLink ).toHaveCSS( 'color', textColor );
374 | // Navigation background.
375 | const navigationWrapper = this.editor.canvas.getByRole( 'document', {
at ColorControl.testEditorColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:372:30)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:69:22
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L372
1) [chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: frameLocator('[name="editor-canvas"]').locator('a').filter({ hasText: 'Custom Link' })
Expected string: "rgb(0, 0, 0)"
Received string: ""
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('a').filter({ hasText: 'Custom Link' })
370 | .filter( { hasText: 'Page Link' } );
371 |
> 372 | await expect( customLink ).toHaveCSS( 'color', textColor );
| ^
373 | await expect( pageLink ).toHaveCSS( 'color', textColor );
374 | // Navigation background.
375 | const navigationWrapper = this.editor.canvas.getByRole( 'document', {
at ColorControl.testEditorColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:372:30)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:69:22
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L88
2) [chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' })
============================================================
86 | .getByRole( 'toolbar', { name: 'Block tools' } )
87 | .getByRole( 'button', { name: 'Options' } )
> 88 | .click();
| ^
89 | await page.getByRole( 'menuitem', { name: 'Group' } ).click();
90 |
91 | // In the sidebar inspector we add a link color and link hover color to the group block.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:88:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L88
2) [chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' })
============================================================
86 | .getByRole( 'toolbar', { name: 'Block tools' } )
87 | .getByRole( 'button', { name: 'Options' } )
> 88 | .click();
| ^
89 | await page.getByRole( 'menuitem', { name: 'Group' } ).click();
90 |
91 | // In the sidebar inspector we add a link color and link hover color to the group block.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:88:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L88
2) [chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' })
============================================================
86 | .getByRole( 'toolbar', { name: 'Block tools' } )
87 | .getByRole( 'button', { name: 'Options' } )
> 88 | .click();
| ^
89 | await page.getByRole( 'menuitem', { name: 'Group' } ).click();
90 |
91 | // In the sidebar inspector we add a link color and link hover color to the group block.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:88:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L140
3) [chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' })
============================================================
138 | .getByRole( 'toolbar', { name: 'Block tools' } )
139 | .getByRole( 'button', { name: 'Options' } )
> 140 | .click();
| ^
141 | await page.getByRole( 'menuitem', { name: 'Group' } ).click();
142 |
143 | // In the sidebar inspector we add a link color and link hover color to the group block.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:140:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L140
3) [chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' })
============================================================
138 | .getByRole( 'toolbar', { name: 'Block tools' } )
139 | .getByRole( 'button', { name: 'Options' } )
> 140 | .click();
| ^
141 | await page.getByRole( 'menuitem', { name: 'Group' } ).click();
142 |
143 | // In the sidebar inspector we add a link color and link hover color to the group block.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:140:5
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L140
3) [chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' })
============================================================
138 | .getByRole( 'toolbar', { name: 'Block tools' } )
139 | .getByRole( 'button', { name: 'Options' } )
> 140 | .click();
| ^
141 | await page.getByRole( 'menuitem', { name: 'Group' } ).click();
142 |
143 | // In the sidebar inspector we add a link color and link hover color to the group block.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:140:5
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/open-document-settings-sidebar.ts#L21
4) [chromium] › editor/blocks/navigation-colors.spec.js:187:2 › Navigation colors › The navigation text color should apply to all navigation links including submenu and overlay text
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Settings', disabled: false })
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/open-document-settings-sidebar.ts:21
19 |
20 | const isClosed =
> 21 | ( await toggleButton.getAttribute( 'aria-expanded' ) ) === 'false';
| ^
22 |
23 | if ( isClosed ) {
24 | await toggleButton.click();
at Editor.openDocumentSettingsSidebar (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/open-document-settings-sidebar.ts:21:24)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:192:16
|
Run the tests
93 failed
[chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text
[chromium] › editor/blocks/navigation-colors.spec.js:78:2 › Navigation colors › Top level navigation links inherit the text color from the theme/group but do not apply to the submenu or overlay text
[chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group
[chromium] › editor/blocks/navigation-colors.spec.js:187:2 › Navigation colors › The navigation text color should apply to all navigation links including submenu and overlay text
[chromium] › editor/blocks/navigation-colors.spec.js:229:2 › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
[chromium] › editor/blocks/navigation-colors.spec.js:274:2 › Navigation colors › As a user I expect my navigation to use the colors I selected for it
[chromium] › editor/blocks/navigation-list-view.spec.js:49:2 › Navigation block - List view editing › show a list view in the inspector controls
[chromium] › editor/blocks/navigation-list-view.spec.js:86:2 › Navigation block - List view editing › list view should correctly reflect navigation items' structure
[chromium] › editor/blocks/navigation-list-view.spec.js:137:2 › Navigation block - List view editing › can add new menu items
[chromium] › editor/blocks/navigation-list-view.spec.js:253:2 › Navigation block - List view editing › can remove menu items
[chromium] › editor/blocks/navigation-list-view.spec.js:297:2 › Navigation block - List view editing › can edit menu items
[chromium] › editor/blocks/navigation-list-view.spec.js:385:2 › Navigation block - List view editing › can add submenus
[chromium] › editor/blocks/navigation-list-view.spec.js:464:2 › Navigation block - List view editing › does not display link interface for blocks that have not just been inserted
[chromium] › editor/blocks/navigation.spec.js:23:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to a list of pages if there are no menus
[chromium] › editor/blocks/navigation.spec.js:49:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my only existing menu
[chromium] › editor/blocks/navigation.spec.js:91:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to the only existing classic menu if there are no block menus
[chromium] › editor/blocks/navigation.spec.js:127:3 › Navigation block › As a user I want the navigation block to fallback to the best possible default › default to my most recently created menu
[chromium] › editor/blocks/navigation.spec.js:180:3 › Navigation block › As a user I want to create submenus using the navigation block › create a submenu
[chromium] › editor/blocks/navigation.spec.js:217:3 › Navigation block › As a user I want to create submenus using the navigation block › submenu converts to link automatically
[chromium] › editor/blocks/navigation.spec.js:263:2 › Navigation block › As a user I want to see a warning if the menu referenced by a navigation block is not available
[chromium] › editor/blocks/navigation.spec.js:293:2 › Navigation block › Adding new links to a navigation block with existing inner blocks triggers creation of a single Navigation Menu
[chromium] › editor/blocks/paragraph.spec.js:22:2 › Paragraph › should output unwrapped editable paragraph
[chromium] › editor/blocks/paragraph.spec.js:62:3 › Paragraph › Empty paragraph › should allow dropping an image on an empty paragraph block
[chromium] › editor/blocks/paragraph.spec.js:98:3 › Paragraph › Empty paragraph › should allow dropping blocks on an empty paragraph block
[chromium
|
The logs for this run have expired and are no longer available.
Loading