Nav block: link text color inheritance fixes and tests #78215
Annotations
4 errors and 1 notice
test/e2e/specs/editor/blocks/navigation.spec.js#L1763
1) [chromium] › editor/blocks/navigation.spec.js:1187:3 › Navigation block › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(142, 209, 252)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__submenu-container').filter({ has: locator('a').filter({ hasText: 'Submenu Link' }) })
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- waiting for locator('.wp-block-navigation__submenu-container').filter({ has: locator('a').filter({ hasText: 'Submenu Link' }) })
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
1761 |
1762 | // Submenu background color
> 1763 | await expect( submenuWrapper ).toHaveCSS(
| ^
1764 | 'background-color',
1765 | submenuBackgroundColor
1766 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1763:34)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1234:4
|
test/e2e/specs/editor/blocks/navigation.spec.js#L1763
1) [chromium] › editor/blocks/navigation.spec.js:1187:3 › Navigation block › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(142, 209, 252)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__submenu-container').filter({ has: locator('a').filter({ hasText: 'Submenu Link' }) })
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- waiting for locator('.wp-block-navigation__submenu-container').filter({ has: locator('a').filter({ hasText: 'Submenu Link' }) })
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
1761 |
1762 | // Submenu background color
> 1763 | await expect( submenuWrapper ).toHaveCSS(
| ^
1764 | 'background-color',
1765 | submenuBackgroundColor
1766 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1763:34)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1234:4
|
test/e2e/specs/editor/blocks/navigation.spec.js#L1763
1) [chromium] › editor/blocks/navigation.spec.js:1187:3 › Navigation block › Navigation colors › The navigation background color should apply to all navigation links including submenu and overlay backgrounds
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(142, 209, 252)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__submenu-container').filter({ has: locator('a').filter({ hasText: 'Submenu Link' }) })
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- waiting for locator('.wp-block-navigation__submenu-container').filter({ has: locator('a').filter({ hasText: 'Submenu Link' }) })
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <ul data-wp-on--focusin="actions.core.navigation.ope…>…</ul>
- unexpected value "rgba(0, 0, 0, 0)"
1761 |
1762 | // Submenu background color
> 1763 | await expect( submenuWrapper ).toHaveCSS(
| ^
1764 | 'background-color',
1765 | submenuBackgroundColor
1766 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1763:34)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation.spec.js:1234:4
|
|
|
The logs for this run have expired and are no longer available.
Loading