Update block.json schema #107860
Annotations
10 errors, 1 warning, and 1 notice
test/e2e/specs/interactivity/deferred-store.spec.ts#L23
1) [chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('result')
Expected string: ""
Received string: "Hello, world!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('result')
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
21 | } ) => {
22 | const resultInput = page.getByTestId( 'result' );
> 23 | await expect( resultInput ).toHaveText( '' );
| ^
24 | await expect( resultInput ).toHaveText( 'Hello, world!' );
25 | } );
26 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/deferred-store.spec.ts:23:31
|
test/e2e/specs/interactivity/deferred-store.spec.ts#L23
1) [chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('result')
Expected string: ""
Received string: "Hello, world!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('result')
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
21 | } ) => {
22 | const resultInput = page.getByTestId( 'result' );
> 23 | await expect( resultInput ).toHaveText( '' );
| ^
24 | await expect( resultInput ).toHaveText( 'Hello, world!' );
25 | } );
26 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/deferred-store.spec.ts:23:31
|
test/e2e/specs/interactivity/deferred-store.spec.ts#L23
1) [chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('result')
Expected string: ""
Received string: "Hello, world!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('result')
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
- locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span>
- unexpected value "Hello, world!"
21 | } ) => {
22 | const resultInput = page.getByTestId( 'result' );
> 23 | await expect( resultInput ).toHaveText( '' );
| ^
24 | await expect( resultInput ).toHaveText( 'Hello, world!' );
25 | } );
26 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/deferred-store.spec.ts:23:31
|
test/e2e/specs/interactivity/directive-bind.spec.ts#L218
2) [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › value is correctly hydrated for different values
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"true",
- null,
+ "",
]
216 | name
217 | );
> 218 | expect( [ type, hydratedAttr ] ).toEqual( [
| ^
219 | type,
220 | attrValue,
221 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:218:39
|
test/e2e/specs/interactivity/directive-bind.spec.ts#L218
2) [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › value is correctly hydrated for different values
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"true",
- null,
+ "",
]
216 | name
217 | );
> 218 | expect( [ type, hydratedAttr ] ).toEqual( [
| ^
219 | type,
220 | attrValue,
221 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:218:39
|
test/e2e/specs/interactivity/directive-bind.spec.ts#L218
2) [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › value is correctly hydrated for different values
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
"true",
- null,
+ "",
]
216 | name
217 | );
> 218 | expect( [ type, hydratedAttr ] ).toEqual( [
| ^
219 | type,
220 | attrValue,
221 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:218:39
|
test/e2e/specs/interactivity/directive-class.spec.ts#L29
3) [chromium] › interactivity/directive-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByTestId('remove class if callback returns falsy value')
Expected string: "foo bar"
Received string: " bar foo"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByTestId('remove class if callback returns falsy value')
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
27 | await expect( el ).toHaveClass( 'bar' );
28 | await page.getByTestId( 'toggle falseValue' ).click();
> 29 | await expect( el ).toHaveClass( 'foo bar' );
| ^
30 | await page.getByTestId( 'toggle falseValue' ).click();
31 | await expect( el ).toHaveClass( 'bar' );
32 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-class.spec.ts:29:22
|
test/e2e/specs/interactivity/directive-class.spec.ts#L29
3) [chromium] › interactivity/directive-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByTestId('remove class if callback returns falsy value')
Expected string: "foo bar"
Received string: " bar foo"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByTestId('remove class if callback returns falsy value')
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
27 | await expect( el ).toHaveClass( 'bar' );
28 | await page.getByTestId( 'toggle falseValue' ).click();
> 29 | await expect( el ).toHaveClass( 'foo bar' );
| ^
30 | await page.getByTestId( 'toggle falseValue' ).click();
31 | await expect( el ).toHaveClass( 'bar' );
32 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-class.spec.ts:29:22
|
test/e2e/specs/interactivity/directive-class.spec.ts#L29
3) [chromium] › interactivity/directive-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByTestId('remove class if callback returns falsy value')
Expected string: "foo bar"
Received string: " bar foo"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByTestId('remove class if callback returns falsy value')
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
- locator resolved to <div class=" bar foo" data-wp-class--foo="state.false…></div>
- unexpected value " bar foo"
27 | await expect( el ).toHaveClass( 'bar' );
28 | await page.getByTestId( 'toggle falseValue' ).click();
> 29 | await expect( el ).toHaveClass( 'foo bar' );
| ^
30 | await page.getByTestId( 'toggle falseValue' ).click();
31 | await expect( el ).toHaveClass( 'bar' );
32 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-class.spec.ts:29:22
|
test/e2e/specs/interactivity/directive-class.spec.ts#L73
4) [chromium] › interactivity/directive-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByTestId('can toggle class in the middle')
Expected string: "foo bar baz"
Received string: "foo baz bar"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByTestId('can toggle class in the middle')
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
- locator resolved to <div class="foo baz bar" data-wp-class--bar="state.tr…></div>
- unexpected value "foo baz bar"
71 | test( 'can toggle class in the middle', async ( { page } ) => {
72 | const el = page.getByTestId( 'can toggle class in the middle' );
> 73 | await expect( el ).toHaveClass( 'foo bar baz' );
| ^
74 | await page.getByTestId( 'toggle trueValue' ).click();
75 | await expect( el ).toHaveClass( 'foo baz' );
76 | await page.getByTestId( 'toggle trueValue' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-class.spec.ts:73:22
|
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/.
|
4 failed
[chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › value is correctly hydrated for different values
[chromium] › interactivity/directive-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
[chromium] › interactivity/directive-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
5 skipped
141 passed (6.9m)
|
This job failed
Loading