Skip to content

Fixed Input Unit Block: Unit jumps to px when set to 0 #122607

Fixed Input Unit Block: Unit jumps to px when set to 0

Fixed Input Unit Block: Unit jumps to px when set to 0 #122607

Triggered via pull request December 20, 2024 20:03
Status Failure
Total duration 19m 32s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
20s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 9 warnings, and 8 notices
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByLabel('Sample Page') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByLabel('Sample Page') - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-177-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-177-label" aria-describedby="view-list-0-177-description"></button> - unexpected value "not focused" 111 | // Use arrow up/down to move through the list. 112 | await page.keyboard.press( 'ArrowDown' ); > 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused(); | ^ 114 | 115 | await page.keyboard.press( 'ArrowUp' ); 116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
[chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L66
1) [chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph reset - custom size</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph reset - custom size</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 64 | 65 | await pageUtils.pressKeys( 'Backspace', { times: 2 } ); > 66 | await expect.poll( editor.getEditedPostContent ) | ^ 67 | .toBe( `<!-- wp:paragraph --> 68 | <p>Paragraph reset - custom size</p> 69 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:66:4
[chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L66
1) [chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph reset - custom size</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph reset - custom size</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 64 | 65 | await pageUtils.pressKeys( 'Backspace', { times: 2 } ); > 66 | await expect.poll( editor.getEditedPostContent ) | ^ 67 | .toBe( `<!-- wp:paragraph --> 68 | <p>Paragraph reset - custom size</p> 69 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:66:4
[chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L66
1) [chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph reset - custom size</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph reset - custom size</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 64 | 65 | await pageUtils.pressKeys( 'Backspace', { times: 2 } ); > 66 | await expect.poll( editor.getEditedPostContent ) | ^ 67 | .toBe( `<!-- wp:paragraph --> 68 | <p>Paragraph reset - custom size</p> 69 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:66:4
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L221
2) [chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph with font size reset using input field</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph with font size reset using input field</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 219 | await page.keyboard.press( 'Backspace' ); 220 | > 221 | await expect.poll( editor.getEditedPostContent ) | ^ 222 | .toBe( `<!-- wp:paragraph --> 223 | <p>Paragraph with font size reset using input field</p> 224 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:221:4
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L221
2) [chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph with font size reset using input field</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph with font size reset using input field</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 219 | await page.keyboard.press( 'Backspace' ); 220 | > 221 | await expect.poll( editor.getEditedPostContent ) | ^ 222 | .toBe( `<!-- wp:paragraph --> 223 | <p>Paragraph with font size reset using input field</p> 224 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:221:4
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L221
2) [chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph with font size reset using input field</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph with font size reset using input field</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 219 | await page.keyboard.press( 'Backspace' ); 220 | > 221 | await expect.poll( editor.getEditedPostContent ) | ^ 222 | .toBe( `<!-- wp:paragraph --> 223 | <p>Paragraph with font size reset using input field</p> 224 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:221:4
[chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L306
3) [chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph with font size reset using input field</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph with font size reset using input field</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 304 | await page.keyboard.press( 'Backspace' ); 305 | > 306 | await expect.poll( editor.getEditedPostContent ) | ^ 307 | .toBe( `<!-- wp:paragraph --> 308 | <p>Paragraph with font size reset using input field</p> 309 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:306:4
[chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L306
3) [chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph with font size reset using input field</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph with font size reset using input field</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 304 | await page.keyboard.press( 'Backspace' ); 305 | > 306 | await expect.poll( editor.getEditedPostContent ) | ^ 307 | .toBe( `<!-- wp:paragraph --> 308 | <p>Paragraph with font size reset using input field</p> 309 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:306:4
[chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field: test/e2e/specs/editor/various/font-size-picker.spec.js#L306
3) [chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:paragraph --> - <p>Paragraph with font size reset using input field</p> + <!-- wp:paragraph {"style":{"typography":{"fontSize":"0px"}}} --> + <p style="font-size:0px">Paragraph with font size reset using input field</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 304 | await page.keyboard.press( 'Backspace' ); 305 | > 306 | await expect.poll( editor.getEditedPostContent ) | ^ 307 | .toBe( `<!-- wp:paragraph --> 308 | <p>Paragraph with font size reset using input field</p> 309 | <!-- /wp:paragraph -->` ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/font-size-picker.spec.js:306:4
Playwright - 4
Process completed with exit code 1.
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions TimeoutError: locator.waitFor: Timeout 60000ms exceeded. Call log: - waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57 55 | // Wait for the canvas loader to appear first, so that the locator that 56 | // waits for the hidden state doesn't resolve prematurely. > 57 | await canvasLoader.waitFor( { state: 'visible', timeout: 60_000 } ); | ^ 58 | await canvasLoader.waitFor( { 59 | state: 'hidden', 60 | // Bigger timeout is needed for larger entities, like the Large Post at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 60000ms exceeded. Call log: - waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57 55 | // Wait for the canvas loader to appear first, so that the locator that 56 | // waits for the hidden state doesn't resolve prematurely. > 57 | await canvasLoader.waitFor( { state: 'visible', timeout: 60_000 } ); | ^ 58 | await canvasLoader.waitFor( { 59 | state: 'hidden', 60 | // Bigger timeout is needed for larger entities, like the Large Post at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 skipped 195 passed (6.1m)
🎭 Playwright Run Summary
1 skipped 184 passed (8.5m)
🎭 Playwright Run Summary
1 skipped 210 passed (9.8m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys 1 skipped 199 passed (9.9m)
🎭 Playwright Run Summary
1 skipped 205 passed (10.3m)
🎭 Playwright Run Summary
207 passed (10.9m)
🎭 Playwright Run Summary
3 failed [chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field [chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field [chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field 1 skipped 192 passed (11.0m)
🎭 Playwright Run Summary
1 flaky [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions 3 skipped 187 passed (12.1m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
21.5 MB
flaky-tests-report
2.47 KB