Support button's link settings for Pattern Overrides #95743
Annotations
1 error, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/interactivity/directive-on-document.spec.ts#L27
1) [chromium] › interactivity/directive-on-document.spec.ts:21:6 › data-wp-on-document › callbacks should run whenever the specified event is dispatched
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('counter')
Expected string: "1"
Received string: "0"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('counter')
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p>
- unexpected value "0"
25 | await expect( counter ).toHaveText( '0' );
26 | await page.keyboard.press( 'ArrowDown' );
> 27 | await expect( counter ).toHaveText( '1' );
| ^
28 | } );
29 | test( 'the event listener is removed when the element is removed', async ( {
30 | page,
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-document.spec.ts:27:27
|
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
1 flaky
[chromium] › interactivity/directive-on-document.spec.ts:21:6 › data-wp-on-document › callbacks should run whenever the specified event is dispatched
177 passed (7.3m)
|
The logs for this run have expired and are no longer available.
Loading