Rich text: add comment on placeholder approach #113340
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.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
|
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
|
|
This job succeeded
Loading