Fix Meta boxes saving when they’re not present #120090
Annotations
2 errors and 8 notices
[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.48.1 (x64; ubuntu 22.04) node/20.18 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: 5d9b621a1c
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1732730323%7C8Sm08Ujo6hK93NKcipRAVFS4OP9Xkqs16uHV73a1nzK%7C742592172a4777a53d7a55df2ee91e61d6243cd3d536762b770f3dfc2f2c7cf8; wp-settings-time-1=1732557999
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
2 skipped
196 passed (6.3m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.1m)
|
🎭 Playwright Run Summary
1 skipped
194 passed (9.1m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (9.5m)
|
🎭 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
186 passed (9.6m)
|
🎭 Playwright Run Summary
199 passed (10.1m)
|
🎭 Playwright Run Summary
1 skipped
197 passed (10.3m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
7.05 MB |
|
flaky-tests-report
|
1.85 KB |
|