Notice: Add appropriate size props to Buttons #118208
Annotations
2 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/taxonomies.spec.js#L87
1) [chromium] › editor/various/taxonomies.spec.js:64:2 › Taxonomies › should be able to open the tags panel and create a new tag
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.components-form-token-field__token-text')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.components-form-token-field__token-text')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
85 | await page.keyboard.press( 'Enter' );
86 |
> 87 | await expect( tags ).toHaveCount( 1 );
| ^
88 | await expect( tags ).toContainText( tagName );
89 |
90 | await editor.canvas
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/taxonomies.spec.js:87:24
|
Run the tests:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
2) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByLabel('Sample Page')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Sample Page')
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-193-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-193-label" aria-describedby="view-list-0-193-description"></button>
- unexpected value "not focused"
111 | // Use arrow up/down to move through the list.
112 | await page.keyboard.press( 'ArrowDown' );
> 113 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused();
| ^
114 |
115 | await page.keyboard.press( 'ArrowUp' );
116 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:113:52
|
Run the tests
2 flaky
[chromium] › editor/various/taxonomies.spec.js:64:2 › Taxonomies › should be able to open the tags panel and create a new tag
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
1 skipped
193 passed (9.9m)
|
Loading