Manage controlled inner blocks in content only #118738
Annotations
2 errors and 1 notice
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: ef1b02e8b4
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1731090129%7CFkNz93YI326wvyEKefdBelUHiQOQeoB8y8BCoFROkE6%7C29024e7de280e1626d934848239436a8680e337b619ab9d9b03e3abab5529fb4; wp-settings-time-1=1730917804
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
|
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
|
|
The logs for this run have expired and are no longer available.
Loading