Skip to content

Menu granular subcomponents: Refactor dataviews table layout header menu #121733

Menu granular subcomponents: Refactor dataviews table layout header menu

Menu granular subcomponents: Refactor dataviews table layout header menu #121733

Triggered via pull request December 12, 2024 09:31
Status Failure
Total duration 19m 43s
Artifacts 2

end2end-test.yml

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

Annotations

19 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 type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-181-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-181-label" aria-describedby="view-list-0-181-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/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post: test/e2e/specs/editor/various/change-detection.spec.js#L414
1) [chromium] › editor/various/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Actions' }) 412 | .getByRole( 'region', { name: 'Editor settings' } ) 413 | .getByRole( 'button', { name: 'Actions' } ) > 414 | .click(); | ^ 415 | await page 416 | .getByRole( 'menu' ) 417 | .getByRole( 'menuitem', { name: 'Move to trash' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/change-detection.spec.js:414:5
[chromium] › editor/various/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post: test/e2e/specs/editor/various/change-detection.spec.js#L414
1) [chromium] › editor/various/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Actions' }) 412 | .getByRole( 'region', { name: 'Editor settings' } ) 413 | .getByRole( 'button', { name: 'Actions' } ) > 414 | .click(); | ^ 415 | await page 416 | .getByRole( 'menu' ) 417 | .getByRole( 'menuitem', { name: 'Move to trash' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/change-detection.spec.js:414:5
[chromium] › editor/various/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post: test/e2e/specs/editor/various/change-detection.spec.js#L414
1) [chromium] › editor/various/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('region', { name: 'Editor settings' }).getByRole('button', { name: 'Actions' }) 412 | .getByRole( 'region', { name: 'Editor settings' } ) 413 | .getByRole( 'button', { name: 'Actions' } ) > 414 | .click(); | ^ 415 | await page 416 | .getByRole( 'menu' ) 417 | .getByRole( 'menuitem', { name: 'Move to trash' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/change-detection.spec.js:414:5
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support: test/e2e/specs/editor/plugins/custom-post-types.spec.js#L69
1) [chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Actions' }) 67 | await admin.createNewPost( { postType: 'hierar-no-title' } ); 68 | await editor.openDocumentSettingsSidebar(); > 69 | await page.getByRole( 'button', { name: 'Actions' } ).click(); | ^ 70 | await expect( 71 | page.getByRole( 'menuitem', { name: 'Rename' } ) 72 | ).toHaveCount( 0 ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:69:57
[chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support: test/e2e/specs/editor/plugins/custom-post-types.spec.js#L69
1) [chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Actions' }) 67 | await admin.createNewPost( { postType: 'hierar-no-title' } ); 68 | await editor.openDocumentSettingsSidebar(); > 69 | await page.getByRole( 'button', { name: 'Actions' } ).click(); | ^ 70 | await expect( 71 | page.getByRole( 'menuitem', { name: 'Rename' } ) 72 | ).toHaveCount( 0 ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:69:57
[chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support: test/e2e/specs/editor/plugins/custom-post-types.spec.js#L69
1) [chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Actions' }) 67 | await admin.createNewPost( { postType: 'hierar-no-title' } ); 68 | await editor.openDocumentSettingsSidebar(); > 69 | await page.getByRole( 'button', { name: 'Actions' } ).click(); | ^ 70 | await expect( 71 | page.getByRole( 'menuitem', { name: 'Rename' } ) 72 | ).toHaveCount( 0 ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/custom-post-types.spec.js:69:57
Playwright - 2
Process completed with exit code 1.
[chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins: test/e2e/specs/site-editor/template-registration.spec.js#L326
1) [chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByLabel('Actions').first() 324 | .click(); 325 | const actions = page.getByLabel( 'Actions' ); > 326 | await actions.first().click(); | ^ 327 | await page.getByRole( 'menuitem', { name: 'Reset' } ).click(); 328 | await page.getByRole( 'button', { name: 'Reset' } ).click(); 329 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-registration.spec.js:326:25
[chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins: test/e2e/specs/site-editor/template-registration.spec.js#L326
1) [chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByLabel('Actions').first() 324 | .click(); 325 | const actions = page.getByLabel( 'Actions' ); > 326 | await actions.first().click(); | ^ 327 | await page.getByRole( 'menuitem', { name: 'Reset' } ).click(); 328 | await page.getByRole( 'button', { name: 'Reset' } ).click(); 329 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-registration.spec.js:326:25
[chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins: test/e2e/specs/site-editor/template-registration.spec.js#L326
1) [chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByLabel('Actions').first() 324 | .click(); 325 | const actions = page.getByLabel( 'Actions' ); > 326 | await actions.first().click(); | ^ 327 | await page.getByRole( 'menuitem', { name: 'Reset' } ).click(); 328 | await page.getByRole( 'button', { name: 'Reset' } ).click(); 329 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-registration.spec.js:326:25
[chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template: test/e2e/specs/site-editor/template-revert.spec.js#L222
2) [chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:40:3
[chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template: test/e2e/specs/site-editor/template-revert.spec.js#L222
2) [chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:40:3
[chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template: test/e2e/specs/site-editor/template-revert.spec.js#L222
2) [chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:40:3
[chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert: test/e2e/specs/site-editor/template-revert.spec.js#L222
3) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:75:3
[chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert: test/e2e/specs/site-editor/template-revert.spec.js#L222
3) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:75:3
[chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert: test/e2e/specs/site-editor/template-revert.spec.js#L222
3) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:75:3
[chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload: test/e2e/specs/site-editor/template-revert.spec.js#L222
4) [chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor settings"i]').locator('role=button[name="Actions"i]') 220 | ); 221 | } > 222 | await this.page.click( | ^ 223 | 'role=region[name="Editor settings"i] >> role=button[name="Actions"i]' 224 | ); 225 | await this.page.click( 'role=menuitem[name=/Reset/i]' ); at TemplateRevertUtils.revertTemplate (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:222:19) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:97:3
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 - 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 - 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 - 6
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
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 189 passed (9.0m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/change-detection.spec.js:397:2 › Change detection › should not prompt to confirm unsaved changes when trashing an existing post 1 skipped 200 passed (10.3m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/plugins/custom-post-types.spec.js:62:2 › Test Custom Post Types › should not be able to rename a post that lacks title support 1 skipped 193 passed (9.8m)
🎭 Playwright Run Summary
199 passed (10.2m)
🎭 Playwright Run Summary
1 skipped 197 passed (10.0m)
🎭 Playwright Run Summary
7 failed [chromium] › site-editor/template-registration.spec.js:264:2 › Block template registration › user-customized templates cannot be overridden by plugins [chromium] › site-editor/template-revert.spec.js:28:2 › Template Revert › should delete the template after saving the reverted template [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert [chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload [chromium] › site-editor/template-revert.spec.js:105:2 › Template Revert › should show the edited content after revert and clicking undo in the header toolbar [chromium] › site-editor/template-revert.spec.js:135:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar [chromium] › site-editor/template-revert.spec.js:168:2 › Template Revert › should show the edited content after revert, clicking undo in the header toolbar, save and reload 2 skipped 188 passed (11.2m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.1m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
39.8 MB
flaky-tests-report
1.29 KB