Render block preview on the server #88827
Annotations
10 errors and 1 notice
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:9:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:9:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:9:3
|
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
4) [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
SyntaxError: Unexpected token W in JSON at position 1
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.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:9:3
|
16 failed
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
[chromium] › interactivity/router-navigate.spec.ts:32:6 › Router navigate › should update the HTML only for the latest navigation
[chromium] › interactivity/router-regions.spec.ts:28:6 › Router regions › should be the only part hydrated
[chromium] › interactivity/store-afterload.spec.ts:21:6 › store afterLoad callbacks › run after the vdom and store are ready
[chromium] › interactivity/store-tag.spec.ts:26:6 › store tag › hydrates when it is well defined
[chromium] › interactivity/tovdom-islands.spec.ts:19:6 › toVdom - islands › directives that are not inside islands should not be hydrated
[chromium] › interactivity/tovdom.spec.ts:19:6 › toVdom › it should delete comments ────────────
[webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
[firefox] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
1 flaky
[webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@Firefox, @WebKit) › should move to the start of the first line on ArrowUp (-firefox)
40 skipped
196 passed (17.6m)
|
The logs for this run have expired and are no longer available.
Loading