Skip to content

Don't render undefined classname in useBlockProps hook (#56923) #90429

Don't render undefined classname in useBlockProps hook (#56923)

Don't render undefined classname in useBlockProps hook (#56923) #90429

Triggered via push December 10, 2023 14:10
Status Failure
Total duration 31m 25s
Artifacts 2

end2end-test.yml

on: push
Matrix: e2e-playwright
Report to GitHub
2m 29s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 8 notices
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon: test/e2e/specs/site-editor/font-library.spec.js#L42
2) [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').locator('body') ============================================================ 40 | postType: 'wp_template', 41 | } ); > 42 | await editor.canvas.locator( 'body' ).click(); | ^ 43 | } ); 44 | 45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:42
Playwright - 6
Process completed with exit code 1.
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L386
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Submenu submenu' }) ============================================================ 384 | await expect( secondLevelElement ).toBeHidden(); 385 | // Open first submenu level > 386 | await arrowButton.click(); | ^ 387 | await expect( arrowButton ).toBeFocused(); 388 | await expect( firstLevelElement ).toBeVisible(); 389 | await expect( secondLevelElement ).toBeHidden(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:386:22
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L386
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Submenu submenu' }) ============================================================ 384 | await expect( secondLevelElement ).toBeHidden(); 385 | // Open first submenu level > 386 | await arrowButton.click(); | ^ 387 | await expect( arrowButton ).toBeFocused(); 388 | await expect( firstLevelElement ).toBeVisible(); 389 | await expect( secondLevelElement ).toBeHidden(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:386:22
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L386
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Submenu submenu' }) ============================================================ 384 | await expect( secondLevelElement ).toBeHidden(); 385 | // Open first submenu level > 386 | await arrowButton.click(); | ^ 387 | await expect( arrowButton ).toBeFocused(); 388 | await expect( firstLevelElement ).toBeVisible(); 389 | await expect( secondLevelElement ).toBeHidden(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:386:22
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@firefox: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L472
2) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Parent' }) ============================================================ 470 | 471 | // page-list submenu opens on click > 472 | await submenuButton.click(); | ^ 473 | await expect( innerElement ).toBeVisible(); 474 | 475 | // page-list submenu closes on click outside at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:472:24
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@firefox: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L472
2) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Parent' }) ============================================================ 470 | 471 | // page-list submenu opens on click > 472 | await submenuButton.click(); | ^ 473 | await expect( innerElement ).toBeVisible(); 474 | 475 | // page-list submenu closes on click outside at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:472:24
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@firefox: test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L472
2) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Parent' }) ============================================================ 470 | 471 | // page-list submenu opens on click > 472 | await submenuButton.click(); | ^ 473 | await expect( innerElement ).toBeVisible(); 474 | 475 | // page-list submenu closes on click outside at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:472:24
Playwright - 8
Process completed with exit code 1.
[chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-class.spec.ts:9:3
[chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-class.spec.ts:9:3
[chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-class.spec.ts:9:3
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
4) [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:9:3
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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 TimeoutError: locator.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:72:18
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:72:18
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:72:18
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:125:18
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:125:18
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:125:18
[chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:181:18
[chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:181:18
[chromium] › editor/blocks/navigation-colors.spec.js:131:2 › Navigation colors › Navigation text does not inherit the link color from the theme/group: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:181:18
[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: packages/e2e-test-utils-playwright/src/editor/publish-post.ts#L34
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.waitFor: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34 32 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 33 | .filter( { hasText: 'published' } ) > 34 | .waitFor(); | ^ 35 | const postId = new URL( this.page.url() ).searchParams.get( 'post' ); 36 | 37 | return typeof postId === 'string' ? parseInt( postId, 10 ) : null; at Editor.publishPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/publish-post.ts:34:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-colors.spec.js:223:18
🎭 Playwright Run Summary
1 failed [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration 1 flaky [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon 13 skipped 100 passed (6.6m)
🎭 Playwright Run Summary
133 passed (6.7m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.1m)
🎭 Playwright Run Summary
1 skipped 152 passed (6.7m)
🎭 Playwright Run Summary
135 passed (6.2m)
🎭 Playwright Run Summary
2 failed [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions 2 skipped 117 passed (8.8m)
🎭 Playwright Run Summary
9 failed [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active [chromium] › interactivity/store-tag.spec.ts:26:6 › store tag › hydrates when it is well defined [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:260:3 › Navigation block - Frontend interactivity › Submenu mouse and keyboard interactions › Submenu interactions on Safari (@WebKit) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions 31 skipped 105 passed (10.5m)
🎭 Playwright Run Summary
39 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-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 [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/query.spec.js:35:3 › Query block › Query block insertio

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
214 MB
flaky-tests-report Expired
2.94 KB