Skip to content

Allow template duplication + concept of active templates #123070

Allow template duplication + concept of active templates

Allow template duplication + concept of active templates #123070

Triggered via pull request December 30, 2024 18:27
Status Success
Total duration 22m 11s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
3s
Merge Artifacts
Report to GitHub
4m 2s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 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-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button> - unexpected value "not focused" - locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-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] › site-editor/pages.spec.js:242:2 › Pages › swap template and reset to default: packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L53
2) [chromium] › site-editor/pages.spec.js:242:2 › Pages › swap template and reset to default ───── Error: locator.waitFor: Error: strict mode violation: getByRole('button', { name: 'Dismiss this notice' }).getByText(/(updated|published)\./) resolved to 2 elements: 1) <div class="components-snackbar__content">…</div> aka getByTestId('snackbar').nth(1) 2) <div class="components-snackbar__content">Template updated.</div> aka getByTestId('snackbar').nth(2) Call log: - waiting for getByRole('button', { name: 'Dismiss this notice' }).getByText(/(updated|published)\./) to be visible at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:53 51 | .getByRole( 'button', { name: 'Dismiss this notice' } ) 52 | .getByText( /(updated|published)\./ ) > 53 | .waitFor(); | ^ 54 | } 55 | at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:53:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/pages.spec.js:268:3
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 - 8
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 - 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
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Report to GitHub
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 196 passed (6.5m)
🎭 Playwright Run Summary
1 skipped 184 passed (8.7m)
🎭 Playwright Run Summary
1 skipped 210 passed (9.8m)
🎭 Playwright Run Summary
3 skipped 188 passed (9.9m)
🎭 Playwright Run Summary
1 skipped 196 passed (9.9m)
🎭 Playwright Run Summary
2 flaky [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys [chromium] › site-editor/pages.spec.js:242:2 › Pages › swap template and reset to default ────── 1 skipped 199 passed (10.4m)
🎭 Playwright Run Summary
1 skipped 205 passed (10.3m)
🎭 Playwright Run Summary
207 passed (10.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
4.16 MB
flaky-tests-report
2.33 KB