Fix: Theme.json application of custom root selector for styles #93964
Annotations
1 error and 1 notice
Run the tests:
test/e2e/specs/interactivity/directive-on-document.spec.ts#L45
1) [chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('counter')
Expected string: "2"
Received string: "1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('counter')
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
43 | await expect( counter ).toHaveText( '1' );
44 | await page.keyboard.press( 'ArrowDown' );
> 45 | await expect( counter ).toHaveText( '2' );
| ^
46 | } );
47 | } );
48 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-document.spec.ts:45:27
|
Run the tests
1 flaky
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
170 passed (7.3m)
|
The logs for this run have expired and are no longer available.
Loading