Skip to content

Rich text: add comment on placeholder approach #113340

Rich text: add comment on placeholder approach

Rich text: add comment on placeholder approach #113340

Triggered via pull request August 30, 2024 18:10
Status Success
Total duration 21m 4s
Artifacts 2

end2end-test.yml

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

Annotations

3 errors 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 <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-193" aria-pressed="false" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description">…</div> - 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/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=/wp/v2/templates - user-agent: Playwright/1.46.0 (x64; ubuntu 22.04) node/20.17 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 7d561785b0 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1725214650%7C4CpJZELTE706opR5LaRfj0IKH70VgLKJ3MGWU0yfuLG%7Ce6d7bfb8a0a44bdf4ea8ca1863d8381b22fcc3f38050793e7fc5b6777cf8fe5f; wp-settings-time-1=1725042320 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119 117 | 118 | try { > 119 | const response = await this.request.fetch( url, { | ^ 120 | ...fetchOptions, 121 | failOnStatusCode: false, 122 | headers: { at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39) at RequestUtils.deleteAllTemplates (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/templates.ts:38:31) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:30:17
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode: test/e2e/specs/editor/various/post-editor-template-mode.spec.js#L77
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: locator('text="Just a random paragraph added to the template"') resolved to 2 elements: 1) <p>Just a random paragraph added to the template</p> aka getByText('Just a random paragraph added').first() 2) <p>Just a random paragraph added to the template</p> aka getByText('Just a random paragraph added').nth(1) Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('text="Just a random paragraph added to the template"') 75 | 'text="Just a random paragraph added to the template"' 76 | ) > 77 | ).toBeVisible(); | ^ 78 | } ); 79 | 80 | test( 'Swap templates and proper template resolution when switching to default template', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:77:5
🎭 Playwright Run Summary
3 skipped 190 passed (6.4m)
🎭 Playwright Run Summary
1 skipped 193 passed (9.1m)
🎭 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 193 passed (9.4m)
🎭 Playwright Run Summary
3 skipped 188 passed (9.8m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result 1 skipped 188 passed (9.5m)
🎭 Playwright Run Summary
1 skipped 198 passed (9.6m)
🎭 Playwright Run Summary
199 passed (10.2m)
🎭 Playwright Run Summary
196 passed (10.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
8.37 MB
flaky-tests-report Expired
3.11 KB