Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 #6
Annotations
10 errors, 2 warnings, and 1 notice
Run the tests:
test/e2e/specs/interactivity/directives-class.spec.ts#L29
1) [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
Error: expect(received).toHaveClass(expected)
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"
- 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"
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/directives-class.spec.ts:29:22
|
Run the tests:
test/e2e/specs/interactivity/directives-class.spec.ts#L29
1) [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveClass(expected)
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"
- 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"
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/directives-class.spec.ts:29:22
|
Run the tests:
test/e2e/specs/interactivity/directives-class.spec.ts#L29
1) [chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveClass(expected)
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"
- 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"
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/directives-class.spec.ts:29:22
|
Run the tests:
test/e2e/specs/interactivity/directives-class.spec.ts#L73
2) [chromium] › interactivity/directives-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
Error: expect(received).toHaveClass(expected)
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"
- 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"
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/directives-class.spec.ts:73:22
|
Run the tests:
test/e2e/specs/interactivity/directives-class.spec.ts#L73
2) [chromium] › interactivity/directives-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveClass(expected)
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"
- 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"
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/directives-class.spec.ts:73:22
|
Run the tests:
test/e2e/specs/interactivity/directives-class.spec.ts#L73
2) [chromium] › interactivity/directives-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveClass(expected)
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"
- 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"
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/directives-class.spec.ts:73:22
|
Run the tests:
test/e2e/specs/interactivity/directives-style.spec.ts#L27
3) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Error: expect(received).toHaveAttribute(expected)
Expected string: "color: red; background: green;"
Received string: "background: green; color: red;"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('dont change style if callback returns same value on hydration')
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- waiting for getByTestId('dont change style if callback returns same value on hydration')
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
25 | 'dont change style if callback returns same value on hydration'
26 | );
> 27 | await expect( el ).toHaveAttribute(
| ^
28 | 'style',
29 | 'color: red; background: green;'
30 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:27:22
|
Run the tests:
test/e2e/specs/interactivity/directives-style.spec.ts#L27
3) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "color: red; background: green;"
Received string: "background: green; color: red;"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('dont change style if callback returns same value on hydration')
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- waiting for getByTestId('dont change style if callback returns same value on hydration')
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
25 | 'dont change style if callback returns same value on hydration'
26 | );
> 27 | await expect( el ).toHaveAttribute(
| ^
28 | 'style',
29 | 'color: red; background: green;'
30 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:27:22
|
Run the tests:
test/e2e/specs/interactivity/directives-style.spec.ts#L27
3) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "color: red; background: green;"
Received string: "background: green; color: red;"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('dont change style if callback returns same value on hydration')
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- waiting for getByTestId('dont change style if callback returns same value on hydration')
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
- locator resolved to <div data-wp-style--color="state.color" data-testid="…>Don’t change style if callback returns same value…</div>
- unexpected value "background: green; color: red;"
25 | 'dont change style if callback returns same value on hydration'
26 | );
> 27 | await expect( el ).toHaveAttribute(
| ^
28 | 'style',
29 | 'color: red; background: green;'
30 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:27:22
|
Run the tests:
test/e2e/specs/interactivity/directives-style.spec.ts#L39
4) [chromium] › interactivity/directives-style.spec.ts:33:6 › data-wp-style › remove style if callback returns falsy value on hydration
Error: expect(received).toHaveAttribute(expected)
Expected string: "background: green;"
Received string: "background:green;"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('remove style if callback returns falsy value on hydration')
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- waiting for getByTestId('remove style if callback returns falsy value on hydration')
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
- locator resolved to <div data-wp-style--color="state.falseValue" data-tes…>Remove style if callback returns falsy value on h…</div>
- unexpected value "background:green;"
37 | 'remove style if callback returns falsy value on hydration'
38 | );
> 39 | await expect( el ).toHaveAttribute( 'style', 'background: green;' );
| ^
40 | } );
41 |
42 | test( 'change style if callback returns a new value on hydration', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:39:22
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "failures-artifacts".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run the tests
6 failed
[chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
[chromium] › interactivity/directives-class.spec.ts:71:6 › data-wp-class › can toggle class in the middle
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
[chromium] › interactivity/directives-style.spec.ts:33:6 › data-wp-style › remove style if callback returns falsy value on hydration
[chromium] › interactivity/directives-style.spec.ts:42:6 › data-wp-style › change style if callback returns a new value on hydration
[chromium] › interactivity/directives-style.spec.ts:89:6 › data-wp-style › can toggle style in the middle
1 skipped
215 passed (12.8m)
|
Loading