Block Bindings: Don't show protected fields that are bound to blocks #98102
Annotations
11 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/various/block-bindings.spec.js#L1247
1) [chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "non_existing_custom_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
1245 | const postId = await editor.publishPost();
1246 | await page.goto( `/?p=${ postId }` );
> 1247 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1248 | 'fallback value'
1249 | );
1250 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1247:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1247
1) [chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "non_existing_custom_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
1245 | const postId = await editor.publishPost();
1246 | await page.goto( `/?p=${ postId }` );
> 1247 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1248 | 'fallback value'
1249 | );
1250 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1247:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1247
1) [chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "non_existing_custom_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
- locator resolved to <p id="paragraph-binding">non_existing_custom_field</p>
- unexpected value "non_existing_custom_field"
1245 | const postId = await editor.publishPost();
1246 | await page.goto( `/?p=${ postId }` );
> 1247 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1248 | 'fallback value'
1249 | );
1250 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1247:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1278
2) [chromium] › editor/various/block-bindings.spec.js:1252:4 › Block bindings › Post/page context › Paragraph › should not show the value of a protected meta field
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "_protected_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
1276 | const postId = await editor.publishPost();
1277 | await page.goto( `/?p=${ postId }` );
> 1278 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1279 | 'fallback value'
1280 | );
1281 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1278:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1278
2) [chromium] › editor/various/block-bindings.spec.js:1252:4 › Block bindings › Post/page context › Paragraph › should not show the value of a protected meta field
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "_protected_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
1276 | const postId = await editor.publishPost();
1277 | await page.goto( `/?p=${ postId }` );
> 1278 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1279 | 'fallback value'
1280 | );
1281 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1278:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1278
2) [chromium] › editor/various/block-bindings.spec.js:1252:4 › Block bindings › Post/page context › Paragraph › should not show the value of a protected meta field
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "_protected_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
- locator resolved to <p id="paragraph-binding">_protected_field</p>
- unexpected value "_protected_field"
1276 | const postId = await editor.publishPost();
1277 | await page.goto( `/?p=${ postId }` );
> 1278 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1279 | 'fallback value'
1280 | );
1281 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1278:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1311
3) [chromium] › editor/various/block-bindings.spec.js:1283:4 › Block bindings › Post/page context › Paragraph › should not show the value of a meta field with `show_in_rest` false
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "show_in_rest_false_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
1309 | const postId = await editor.publishPost();
1310 | await page.goto( `/?p=${ postId }` );
> 1311 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1312 | 'fallback value'
1313 | );
1314 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1311:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1311
3) [chromium] › editor/various/block-bindings.spec.js:1283:4 › Block bindings › Post/page context › Paragraph › should not show the value of a meta field with `show_in_rest` false
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "show_in_rest_false_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
1309 | const postId = await editor.publishPost();
1310 | await page.goto( `/?p=${ postId }` );
> 1311 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1312 | 'fallback value'
1313 | );
1314 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1311:58
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L1311
3) [chromium] › editor/various/block-bindings.spec.js:1283:4 › Block bindings › Post/page context › Paragraph › should not show the value of a meta field with `show_in_rest` false
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#paragraph-binding')
Expected string: "fallback value"
Received string: "show_in_rest_false_field"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#paragraph-binding')
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
- locator resolved to <p id="paragraph-binding">show_in_rest_false_field</p>
- unexpected value "show_in_rest_false_field"
1309 | const postId = await editor.publishPost();
1310 | await page.goto( `/?p=${ postId }` );
> 1311 | await expect( page.locator( '#paragraph-binding' ) ).toHaveText(
| ^
1312 | 'fallback value'
1313 | );
1314 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:1311:58
|
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
3 failed
[chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
[chromium] › editor/various/block-bindings.spec.js:1252:4 › Block bindings › Post/page context › Paragraph › should not show the value of a protected meta field
[chromium] › editor/various/block-bindings.spec.js:1283:4 › Block bindings › Post/page context › Paragraph › should not show the value of a meta field with `show_in_rest` false
1 skipped
178 passed (10.1m)
|
The logs for this run have expired and are no longer available.
Loading