Skip to content

Page - Quick Edit: add E2E tests #122600

Page - Quick Edit: add E2E tests

Page - Quick Edit: add E2E tests #122600

Triggered via pull request December 20, 2024 18:49
Status Failure
Total duration 17m 48s
Artifacts 2

end2end-test.yml

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

Annotations

5 errors, 9 warnings, and 8 notices
[chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI: test/e2e/specs/site-editor/page-list.spec.js#L332
1) [chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI TypeError: statusVisibility.edit is not a function 330 | 331 | const { featuredImage, statusVisibility } = fields; > 332 | await statusVisibility.edit( page ); | ^ 333 | await featuredImage.performEdit( page ); 334 | // Ensure that no dropdown is open 335 | await page.getByRole( 'button', { name: 'Close' } ).click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/page-list.spec.js:332:27
[chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI: test/e2e/specs/site-editor/page-list.spec.js#L332
1) [chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: statusVisibility.edit is not a function 330 | 331 | const { featuredImage, statusVisibility } = fields; > 332 | await statusVisibility.edit( page ); | ^ 333 | await featuredImage.performEdit( page ); 334 | // Ensure that no dropdown is open 335 | await page.getByRole( 'button', { name: 'Close' } ).click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/page-list.spec.js:332:27
[chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI: test/e2e/specs/site-editor/page-list.spec.js#L332
1) [chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: statusVisibility.edit is not a function 330 | 331 | const { featuredImage, statusVisibility } = fields; > 332 | await statusVisibility.edit( page ); | ^ 333 | await featuredImage.performEdit( page ); 334 | // Ensure that no dropdown is open 335 | await page.getByRole( 'button', { name: 'Close' } ).click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/page-list.spec.js:332:27
[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
2) [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-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-description"></button> - unexpected value "not focused" - locator resolved to <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-148-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-148-label" aria-describedby="view-list-0-148-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
Playwright - 5
Process completed with exit code 1.
Playwright - 6
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 - 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 - 8
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
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 201 passed (6.9m)
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/page-list.spec.js:318:3 › Page List › Quick Edit Mode › should save multiple field changes and update Data Views UI 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 171 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 184 passed (9.0m)
🎭 Playwright Run Summary
1 skipped 210 passed (9.9m)
🎭 Playwright Run Summary
3 skipped 188 passed (9.8m)
🎭 Playwright Run Summary
1 skipped 205 passed (10.3m)
🎭 Playwright Run Summary
207 passed (10.5m)
🎭 Playwright Run Summary
1 skipped 224 passed (10.7m)

Artifacts

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