Interactivity API: update TS/JSDocs after migrating to the new store()
API
#89844
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
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: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:75:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
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: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:75:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
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: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:75:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L490
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
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('a').filter({ hasText: 'Custom Link' })
Expected string: "rgb(0, 0, 0)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('a').filter({ hasText: 'Custom Link' })
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
488 |
489 | // All of the mobile menu navigation links should be the same color as the submenuTextColor.
> 490 | await expect( customLink ).toHaveCSS( 'color', submenuTextColor );
| ^
491 | await expect( submenuLink ).toHaveCSS( 'color', submenuTextColor );
492 | await expect( pageLink ).toHaveCSS( 'color', submenuTextColor );
493 |
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:490:30)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:128:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L490
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 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('a').filter({ hasText: 'Custom Link' })
Expected string: "rgb(0, 0, 0)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('a').filter({ hasText: 'Custom Link' })
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
488 |
489 | // All of the mobile menu navigation links should be the same color as the submenuTextColor.
> 490 | await expect( customLink ).toHaveCSS( 'color', submenuTextColor );
| ^
491 | await expect( submenuLink ).toHaveCSS( 'color', submenuTextColor );
492 | await expect( pageLink ).toHaveCSS( 'color', submenuTextColor );
493 |
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:490:30)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:128:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L490
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 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('a').filter({ hasText: 'Custom Link' })
Expected string: "rgb(0, 0, 0)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('a').filter({ hasText: 'Custom Link' })
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
- locator resolved to <a href="https://wordpress.org" class="wp-block-nav…>Custom Link</a>
- unexpected value "rgb(255, 255, 255)"
488 |
489 | // All of the mobile menu navigation links should be the same color as the submenuTextColor.
> 490 | await expect( customLink ).toHaveCSS( 'color', submenuTextColor );
| ^
491 | await expect( submenuLink ).toHaveCSS( 'color', submenuTextColor );
492 | await expect( pageLink ).toHaveCSS( 'color', submenuTextColor );
493 |
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:490:30)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:128:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
3) [chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:184:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
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 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:184:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
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 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:184:3
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-colors.spec.js#L499
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
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
Expected string: "rgb(255, 255, 255)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('.wp-block-navigation__responsive-container').filter({ hasText: 'Submenu Link' })
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <div id="modal-1" tabindex="-1" data-wp-watch="callba…>…</div>
- unexpected value "rgba(0, 0, 0, 0)"
497 |
498 | // The mobile menu background should be the same color as the submenu background.
> 499 | await expect( overlayFront ).toHaveCSS(
| ^
500 | 'background-color',
501 | submenuBackgroundColor
502 | );
at ColorControl.testFrontendColors (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:499:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:226:3
|
Run the tests
11 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:274:2 › Navigation colors › As a user I expect my navigation to use the colors I selected for it
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit)
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:161:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:260:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions on Safari (@WebKit)
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions
1 skipped
94 passed (10.7m)
|
The logs for this run have expired and are no longer available.
Loading