Skip to content

CustomSelect: adjust renderSelectedValue to fix sizing #93574

CustomSelect: adjust renderSelectedValue to fix sizing

CustomSelect: adjust renderSelectedValue to fix sizing #93574

Re-run triggered January 18, 2024 08:56
Status Failure
Total duration 1h 15m 54s
Artifacts 4

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
3m 35s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 notices
[webkit] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@firefox: test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js#L168
1) [webkit] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 5 <!-- wp:paragraph --> - <p>Stuck in the middle with @testuser you.</p> + <p>Stuck in the middle with @j</p> + <!-- /wp:paragraph --> + + <!-- wp:paragraph --> + <p> you.</p> <!-- /wp:paragraph --> Call Log: - Timeout 5000ms exceeded while waiting on the predicate 166 | await expect 167 | .poll( editor.getEditedPostContent ) > 168 | .toBe( testData.snapshot ); | ^ 169 | } ); 170 | 171 | test( `${ completer }: should insert two subsequent ${ type }s`, async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/autocomplete-and-mentions.spec.js:168:6
[chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides: packages/e2e-test-utils-playwright/src/request-utils/gutenberg-experiments.ts#L22
1) [chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides Error: apiRequestContext.post: 500 Internal Server Error =========================== logs =========================== → POST http://localhost:8889/wp-admin/options.php user-agent: Playwright/1.39.0 (x64; ubuntu 22.04) node/20.11 CI/1 accept: */* accept-encoding: gzip,deflate,br content-type: application/x-www-form-urlencoded content-length: 222 cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1705741380%7CTT1fyho2dUE3p23QVzWq0xTDrGUYHPVHpyYBNANlKoh%7C932a3c51538ec753367ad16b67e0a1334636c24479637704bef896f7d85066e7; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1705741380%7CTT1fyho2dUE3p23QVzWq0xTDrGUYHPVHpyYBNANlKoh%7Ccded362adc7b511a9b5acefefa12a856c852f1f7fcc6e63f83f516d9159a1cfe; wp-settings-time-1=1705568583 ← 302 Found date: Thu, 18 Jan 2024 09:03:03 GMT server: Apache/2.4.57 (Debian) x-powered-by: PHP/8.2.14 expires: Wed, 11 Jan 1984 05:00:00 GMT cache-control: no-cache, must-revalidate, max-age=0, private referrer-policy: strict-origin-when-cross-origin x-frame-options: SAMEORIGIN x-redirect-by: WordPress location: /wp-admin/admin.php?page=gutenberg-experiments&settings-updated=true content-length: 0 connection: close content-type: text/html; charset=UTF-8 → GET http://localhost:8889/wp-admin/admin.php?page=gutenberg-experiments&settings-updated=true user-agent: Playwright/1.39.0 (x64; ubuntu 22.04) node/20.11 CI/1 accept: */* accept-encoding: gzip,deflate,br cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1705741380%7CTT1fyho2dUE3p23QVzWq0xTDrGUYHPVHpyYBNANlKoh%7C932a3c51538ec753367ad16b67e0a1334636c24479637704bef896f7d85066e7; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1705741380%7CTT1fyho2dUE3p23QVzWq0xTDrGUYHPVHpyYBNANlKoh%7Ccded362adc7b511a9b5acefefa12a856c852f1f7fcc6e63f83f516d9159a1cfe; wp-settings-time-1=1705568583 ← 500 Internal Server Error date: Thu, 18 Jan 2024 09:03:03 GMT server: Apache/2.4.57 (Debian) x-powered-by: PHP/8.2.14 expires: Wed, 11 Jan 1984 05:00:00 GMT cache-control: no-cache, must-revalidate, max-age=0, private content-length: 2808 connection: close content-type: text/html; charset=UTF-8 ============================================================ at ../../../packages/e2e-test-utils-playwright/src/request-utils/gutenberg-experiments.ts:22 20 | const nonce = html.match( /name="_wpnonce" value="([^"]+)"/ )![ 1 ]; 21 | > 22 | await this.request.post( '/wp-admin/options.php', { | ^ 23 | form: { 24 | option_page: 'gutenberg-experiments', 25 | action: 'update', at RequestUtils.setGutenbergExperiments (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/gutenberg-experiments.ts:22:21) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:8:3
[chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides: packages/e2e-test-utils-playwright/src/request-utils/themes.ts#L28
1) [chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: The theme "emptytheme" is not installed at ../../../packages/e2e-test-utils-playwright/src/request-utils/themes.ts:28 26 | } 27 | > 28 | throw new Error( `The theme "${ themeSlug }" is not installed` ); | ^ 29 | } 30 | 31 | const [ activateQuery ] = matchGroup; at RequestUtils.activateTheme (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/themes.ts:28:9) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:8:3
[chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides: packages/e2e-test-utils-playwright/src/request-utils/themes.ts#L28
1) [chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: The theme "emptytheme" is not installed at ../../../packages/e2e-test-utils-playwright/src/request-utils/themes.ts:28 26 | } 27 | > 28 | throw new Error( `The theme "${ themeSlug }" is not installed` ); | ^ 29 | } 30 | 31 | const [ activateQuery ] = matchGroup; at RequestUtils.activateTheme (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/themes.ts:28:9) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:8:3
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:17) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:8:3
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:17) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:8:3
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:17) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:8:3
[chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:17) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:87:3
[chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:17) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:87:3
[chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.deleteAllBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/blocks.ts:26:17) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:87:3
[chromium] › editor/various/popovers.spec.js:12:3 › popovers › dropdown › toggles via click: packages/e2e-test-utils-playwright/src/editor/set-preferences.ts#L23
4) [chromium] › editor/various/popovers.spec.js:12:3 › popovers › dropdown › toggles via click ─── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. at ../../../packages/e2e-test-utils-playwright/src/editor/set-preferences.ts:23 21 | preferences: Record< string, any > 22 | ) { > 23 | await this.page.waitForFunction( () => window?.wp?.data ); | ^ 24 | 25 | await this.page.evaluate( 26 | async ( props ) => { at Editor.setPreferences (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/popovers.spec.js:8:3
🎭 Playwright Run Summary
1 skipped 130 passed (6.4m)
🎭 Playwright Run Summary
146 passed (7.7m)
🎭 Playwright Run Summary
2 skipped 148 passed (9.5m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/autocomplete-and-mentions.spec.js:135:3 › Autocomplete (@Firefox, @WebKit) › User Mention: should insert mention between two other words 165 passed (7.3m)
🎭 Playwright Run Summary
149 passed (7.3m)
🎭 Playwright Run Summary
11 skipped 152 passed (8.2m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.5m)
🎭 Playwright Run Summary
124 failed [chromium] › editor/various/pattern-overrides.spec.js:28:2 › Pattern Overrides › Create a pattern with overrides [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu [chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu [chromium] › editor/various/popovers.spec.js:12:3 › popovers › dropdown › toggles via click ──── [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 [chromium] › editor/various/post-title.spec.js:8:3 › Post title › Focus handling › should focus on the post title field when creating a new post in visual mode [chromium] › editor/various/post-title.spec.js:21:3 › Post title › Focus handling › should focus on the post title field when creating a new post in code editor mode [chromium] › editor/various/post-title.spec.js:48:3 › Post title › HTML handling › should (visually) render any HTML in Post Editor's post title field when in Visual editing mode [chromium] › editor/various/post-title.spec.js:98:3 › Post title › HTML handling › should show raw HTML in the post title field when in Code view mode [chromium] › editor/various/post-title.spec.js:146:3 › Post title › HTML handling › should strip HTML tags when pasting string of HTML into the post title field in Visual mode [chromium] › editor/various/post-title.spec.js:217:3 › Post title › HTML handling › should strip HTML tags from Post Title when pasted text is transformed to blocks [chromium] › editor/various/post-title.spec.js:265:3 › Post title › HTML handling › should output HTML tags in plaintext when added into Post Title field in visual editor mode [chromium] › editor/various/post-title.spec.js:305:3 › Post title › HTML handling › should output HTML tags in plaintext in visual editor mode when HTML is added in plaintext in code editor mode [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is large [chromium] › editor/various/post-visibility.spec.js:37:3 › Post visibility › can be canceled when the viewport is large [chromium] › editor/various/post-visibility.spec.js:8:3 › Post visibility › can be changed when the viewport is small [chromium] › editor/various/post-visibility.spec.js:37:3 › Post visibility › can be canceled when the viewport is small [chromium] › editor/various/post-visibility.spec.js:73:2 › Post visibility › visibility remains private even if the publish date is in the future [chromium] › editor/various/pref-modal.spec.js:12:3 › Preferences modal › Preferences modal adaps to viewport › Enable pre-publish checks is visible on desktop [chromium] › editor/various/pref-modal.spec.js:28:3 › Preferences modal › Preferences modal adaps to viewport › Enable pre-publish checks is not visible on mobile [chromium] › editor/various/preferences.spec.js:11:2 › Preferences › remembers sidebar dismissal between sessions [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post [chromium] › editor/various/preview.spec.js:97:2 › Preview › should not revert title during a preview right after a save draft [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses [chromium] › editor/various/preview.spec.js:225:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview [chromium] › editor/various/preview.spec.js:289:2 › Preview with private custom post type › should not show the Preview Externally link [chromium] › editor/various/publish-button.spec.js:16:2 › Post publish button › should be disabled when post is not saveable [chromium] › editor/various/publish-button.spec.js:28:2 › Post publish button › should be d

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
22.2 MB