Skip to content

Query and Search blocks: support for Instant Search via render_block_context filter #119518

Query and Search blocks: support for Instant Search via render_block_context filter

Query and Search blocks: support for Instant Search via render_block_context filter #119518

Triggered via pull request November 18, 2024 22:59
Status Failure
Total duration 17m 20s
Artifacts 2

end2end-test.yml

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

Annotations

11 errors and 8 notices
[chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently: test/e2e/specs/interactivity/instant-search.spec.ts#L381
1) [chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response" 379 | // Search in default query 380 | await defaultQuerySearch.fill( 'Unique' ); > 381 | await page.waitForResponse( ( response ) => | ^ 382 | response.url().includes( 'instant-search=Unique' ) 383 | ); 384 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/instant-search.spec.ts:381:15
[chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently: test/e2e/specs/interactivity/instant-search.spec.ts#L381
1) [chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response" 379 | // Search in default query 380 | await defaultQuerySearch.fill( 'Unique' ); > 381 | await page.waitForResponse( ( response ) => | ^ 382 | response.url().includes( 'instant-search=Unique' ) 383 | ); 384 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/instant-search.spec.ts:381:15
[chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently: test/e2e/specs/interactivity/instant-search.spec.ts#L381
1) [chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForResponse: Timeout 10000ms exceeded while waiting for event "response" 379 | // Search in default query 380 | await defaultQuerySearch.fill( 'Unique' ); > 381 | await page.waitForResponse( ( response ) => | ^ 382 | response.url().includes( 'instant-search=Unique' ) 383 | ); 384 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/instant-search.spec.ts:381:15
[chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently: test/e2e/specs/interactivity/instant-search.spec.ts#L454
2) [chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected pattern: /paged=1/ Received string: "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" 452 | // Search in default query and verify only its pagination resets 453 | await defaultQuerySearch.fill( 'Test' ); > 454 | await expect( page ).toHaveURL( /paged=1/ ); | ^ 455 | await expect( page ).toHaveURL( 456 | new RegExp( `query-${ customQueryId }-page=3` ) 457 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/instant-search.spec.ts:454:25
[chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently: test/e2e/specs/interactivity/instant-search.spec.ts#L454
2) [chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected pattern: /paged=1/ Received string: "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" 452 | // Search in default query and verify only its pagination resets 453 | await defaultQuerySearch.fill( 'Test' ); > 454 | await expect( page ).toHaveURL( /paged=1/ ); | ^ 455 | await expect( page ).toHaveURL( 456 | new RegExp( `query-${ customQueryId }-page=3` ) 457 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/instant-search.spec.ts:454:25
[chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently: test/e2e/specs/interactivity/instant-search.spec.ts#L454
2) [chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected pattern: /paged=1/ Received string: "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" - locator resolved to <html lang="en-US">…</html> - unexpected value "http://localhost:8889/?paged=2&query-1234-page=3&instant-search-1=Test&query-1-page=1" 452 | // Search in default query and verify only its pagination resets 453 | await defaultQuerySearch.fill( 'Test' ); > 454 | await expect( page ).toHaveURL( /paged=1/ ); | ^ 455 | await expect( page ).toHaveURL( 456 | new RegExp( `query-${ customQueryId }-page=3` ) 457 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/instant-search.spec.ts:454:25
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option: test/e2e/specs/site-editor/template-hierarchy.spec.js#L22
3) [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option TimeoutError: page.selectOption: Timeout 10000ms exceeded. Call log: - waiting for locator('select[name="page_on_front"]') - locator resolved to <select id="page_on_front" name="page_on_front">…</select> - attempting select option action - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #1 - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #2 - waiting 20ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #3 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #4 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #5 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #6 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #7 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #8 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #9 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #10 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #11 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #12 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #13 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #14 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #15 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #16 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #17 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #18 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #19 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #20 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #21 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #22 - waiting 500ms - waiting for element to be visible and enabled
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option: test/e2e/specs/site-editor/template-hierarchy.spec.js#L22
3) [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.selectOption: Timeout 10000ms exceeded. Call log: - waiting for locator('select[name="page_on_front"]') - locator resolved to <select id="page_on_front" name="page_on_front">…</select> - attempting select option action - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #1 - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #2 - waiting 20ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #3 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #4 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #5 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #6 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #7 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #8 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #9 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #10 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #11 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #12 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #13 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #14 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #15 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #16 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #17 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #18 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #19 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #20 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #21 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select opti
[chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option: test/e2e/specs/site-editor/template-hierarchy.spec.js#L22
3) [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.selectOption: Timeout 10000ms exceeded. Call log: - waiting for locator('select[name="page_on_front"]') - locator resolved to <select id="page_on_front" name="page_on_front">…</select> - attempting select option action - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #1 - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #2 - waiting 20ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #3 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #4 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #5 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #6 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #7 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #8 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #9 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #10 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #11 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #12 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #13 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #14 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #15 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #16 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #17 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #18 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #19 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #20 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #21 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select opti
Playwright - 6
Process completed with exit code 1.
[webkit] › editor/various/inserting-blocks.spec.js:624:2 › Inserting blocks (@firefox: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [webkit] › editor/various/inserting-blocks.spec.js:624:2 › Inserting blocks (@Firefox, @WebKit) › can close the main inserter after inserting a single-use block, like the More block Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fblocks&per_page=100&status=publish%2Cfuture%2Cdraft%2Cpending%2Cprivate%2Ctrash - user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: b5413a724e - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1732143956%7CYMWkML0dmipNZZFmfuk7rTIkCDeMG1Bsd4QEEtDbrHg%7Cdf2dcf25235ce46faccacab36699eddfa365767bf77caa6e4c5b8243b9243248; wp-settings-time-1=1731971330 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.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:28) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:25:22
🎭 Playwright Run Summary
3 failed [chromium] › interactivity/instant-search.spec.ts:369:7 › Instant Search › Multiple Queries › should handle searches independently [chromium] › interactivity/instant-search.spec.ts:429:7 › Instant Search › Multiple Queries › should handle pagination independently [chromium] › site-editor/template-hierarchy.spec.js:15:2 › Template hierarchy › shows correct template with page on front option 2 skipped 197 passed (7.7m)
🎭 Playwright Run Summary
1 skipped 193 passed (9.0m)
🎭 Playwright Run Summary
1 skipped 194 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 201 passed (9.4m)
🎭 Playwright Run Summary
3 skipped 188 passed (9.9m)
🎭 Playwright Run Summary
1 skipped 195 passed (9.8m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/inserting-blocks.spec.js:624:2 › Inserting blocks (@Firefox, @WebKit) › can close the main inserter after inserting a single-use block, like the More block 1 skipped 193 passed (10.2m)
🎭 Playwright Run Summary
199 passed (10.0m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
10.6 MB
flaky-tests-report
1.48 KB