docs: example for getSelectedBlock (#66108) #117212
Annotations
1 error and 8 notices
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:96:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L113
1) [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-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-192-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-192-label" aria-describedby="view-list-0-192-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
|
🎭 Playwright Run Summary
2 skipped
194 passed (6.6m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (9.7m)
|
🎭 Playwright Run Summary
1 flaky
[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
194 passed (9.3m)
|
🎭 Playwright Run Summary
1 skipped
187 passed (9.7m)
|
🎭 Playwright Run Summary
200 passed (10.1m)
|
🎭 Playwright Run Summary
1 skipped
194 passed (9.6m)
|
🎭 Playwright Run Summary
3 skipped
187 passed (10.3m)
|
🎭 Playwright Run Summary
1 skipped
197 passed (10.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
1.55 MB |
|
flaky-tests-report
|
1.29 KB |
|