Bump the react-native group with 2 updates #97
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/interactivity/directive-bind.spec.ts#L218
1) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-bind.spec.ts#L218
1) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-bind.spec.ts#L218
1) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-class.spec.ts#L29
2) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-class.spec.ts#L29
2) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-class.spec.ts#L29
2) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-class.spec.ts#L73
3) [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
|
Run the tests:
test/e2e/specs/interactivity/directive-class.spec.ts#L73
3) [chromium] › interactivity/directive-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Run the tests:
test/e2e/specs/interactivity/directive-class.spec.ts#L73
3) [chromium] › interactivity/directive-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
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] › 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
4 skipped
157 passed (8.4m)
|
Set up job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Setup Node.js and install dependencies
1m 16s
1m 16s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Npm build
3m 32s
3m 32s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install Playwright dependencies
31s
31s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install WordPress and start the server
1m 19s
1m 19s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run the tests
8m 24s
8m 24s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Archive debug artifacts (screenshots, traces)
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Archive flaky tests report
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Setup Node.js and install dependencies
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading