Add CodeMirror to Additional CSS / Custom HTML block #100968
Annotations
8 errors, 1 warning, and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests:
test/e2e/specs/editor/blocks/html.spec.js#L28
1) [chromium] › editor/blocks/html.spec.js:11:2 › HTML block › can be created by typing "/html" ──
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 5
- <!-- wp:html -->
+ <!-- wp:html /-->
- <p>Pythagorean theorem:
- <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p>
+
+ <!-- wp:paragraph -->
+ <p><var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p></p>
- <!-- /wp:html -->
+ <!-- /wp:paragraph -->
26 | // Check the content.
27 | const content = await editor.getEditedPostContent();
> 28 | expect( content ).toBe(
| ^
29 | `<!-- wp:html -->
30 | <p>Pythagorean theorem:
31 | <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/html.spec.js:28:21
|
Run the tests:
test/e2e/specs/editor/blocks/html.spec.js#L28
1) [chromium] › editor/blocks/html.spec.js:11:2 › HTML block › can be created by typing "/html" ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 5
- <!-- wp:html -->
+ <!-- wp:html /-->
- <p>Pythagorean theorem:
- <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p>
+
+ <!-- wp:paragraph -->
+ <p><var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p></p>
- <!-- /wp:html -->
+ <!-- /wp:paragraph -->
26 | // Check the content.
27 | const content = await editor.getEditedPostContent();
> 28 | expect( content ).toBe(
| ^
29 | `<!-- wp:html -->
30 | <p>Pythagorean theorem:
31 | <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/html.spec.js:28:21
|
Run the tests:
test/e2e/specs/editor/blocks/html.spec.js#L28
1) [chromium] › editor/blocks/html.spec.js:11:2 › HTML block › can be created by typing "/html" ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 5
- <!-- wp:html -->
+ <!-- wp:html /-->
- <p>Pythagorean theorem:
- <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p>
+
+ <!-- wp:paragraph -->
+ <p><var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p></p>
- <!-- /wp:html -->
+ <!-- /wp:paragraph -->
26 | // Check the content.
27 | const content = await editor.getEditedPostContent();
> 28 | expect( content ).toBe(
| ^
29 | `<!-- wp:html -->
30 | <p>Pythagorean theorem:
31 | <var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup> </p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/html.spec.js:28:21
|
Run the tests:
test/e2e/specs/editor/blocks/html.spec.js#L51
2) [chromium] › editor/blocks/html.spec.js:36:2 › HTML block › should not encode < ───────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('[data-type="core/html"] textarea')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/html"] textarea')
49 | await expect(
50 | editor.canvas.locator( '[data-type="core/html"] textarea' )
> 51 | ).toBeVisible();
| ^
52 | } );
53 | } );
54 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/html.spec.js:51:5
|
Run the tests:
test/e2e/specs/editor/blocks/html.spec.js#L51
2) [chromium] › editor/blocks/html.spec.js:36:2 › HTML block › should not encode < ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('[data-type="core/html"] textarea')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/html"] textarea')
49 | await expect(
50 | editor.canvas.locator( '[data-type="core/html"] textarea' )
> 51 | ).toBeVisible();
| ^
52 | } );
53 | } );
54 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/html.spec.js:51:5
|
Run the tests:
test/e2e/specs/editor/blocks/html.spec.js#L51
2) [chromium] › editor/blocks/html.spec.js:36:2 › HTML block › should not encode < ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('[data-type="core/html"] textarea')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/html"] textarea')
49 | await expect(
50 | editor.canvas.locator( '[data-type="core/html"] textarea' )
> 51 | ).toBeVisible();
| ^
52 | } );
53 | } );
54 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/html.spec.js:51:5
|
Run the tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
2 failed
[chromium] › editor/blocks/html.spec.js:11:2 › HTML block › can be created by typing "/html" ───
[chromium] › editor/blocks/html.spec.js:36:2 › HTML block › should not encode < ────────────────
11 skipped
178 passed (9.8m)
|
Loading