Skip to content

DataViews Sidebar: Display item count on DataViews sidebar #105365

DataViews Sidebar: Display item count on DataViews sidebar

DataViews Sidebar: Display item count on DataViews sidebar #105365

Triggered via pull request May 28, 2024 19:28
Status Failure
Total duration 20m 1s
Artifacts 1

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
4s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 7 notices
Playwright - 2
Process completed with exit code 17.
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L42
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('button', { name: 'Add filter' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('button', { name: 'Add filter' }) - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" 40 | await expect( 41 | page.getByRole( 'button', { name: 'Add filter' } ) > 42 | ).toBeFocused(); | ^ 43 | 44 | await page.keyboard.press( 'Tab' ); 45 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:42:5
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L42
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('button', { name: 'Add filter' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('button', { name: 'Add filter' }) - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" 40 | await expect( 41 | page.getByRole( 'button', { name: 'Add filter' } ) > 42 | ).toBeFocused(); | ^ 43 | 44 | await page.keyboard.press( 'Tab' ); 45 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:42:5
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L42
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('button', { name: 'Add filter' }) Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('button', { name: 'Add filter' }) - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" - locator resolved to <button id=":r4:" type="button" aria-haspopup="menu" ari…>Add filter</button> - unexpected value "not focused" 40 | await expect( 41 | page.getByRole( 'button', { name: 'Add filter' } ) > 42 | ).toBeFocused(); | ^ 43 | 44 | await page.keyboard.press( 'Tab' ); 45 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:42:5
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L74
2) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByLabel('Privacy Policy') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByLabel('Privacy Policy') - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" 72 | await expect( page.getByRole( 'grid' ) ).toBeVisible(); 73 | await page.keyboard.press( 'Tab' ); > 74 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); | ^ 75 | 76 | // Go to the preview. 77 | await page.keyboard.press( 'Tab' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:74:55
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L74
2) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByLabel('Privacy Policy') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByLabel('Privacy Policy') - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" 72 | await expect( page.getByRole( 'grid' ) ).toBeVisible(); 73 | await page.keyboard.press( 'Tab' ); > 74 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); | ^ 75 | 76 | // Go to the preview. 77 | await page.keyboard.press( 'Tab' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:74:55
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L74
2) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByLabel('Privacy Policy') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByLabel('Privacy Policy') - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" - locator resolved to <div tabindex="0" role="button" data-active-item="" i…>…</div> - unexpected value "not focused" 72 | await expect( page.getByRole( 'grid' ) ).toBeVisible(); 73 | await page.keyboard.press( 'Tab' ); > 74 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); | ^ 75 | 76 | // Go to the preview. 77 | await page.keyboard.press( 'Tab' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:74:55
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L106
3) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89: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 <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-186"…>…</div> - unexpected value "not focused" 104 | // Use arrow up/down to move through the list. 105 | await page.keyboard.press( 'ArrowDown' ); > 106 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused(); | ^ 107 | 108 | await page.keyboard.press( 'ArrowUp' ); 109 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:106:52
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L106
3) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-188"…>…</div> - unexpected value "not focused" 104 | // Use arrow up/down to move through the list. 105 | await page.keyboard.press( 'ArrowDown' ); > 106 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused(); | ^ 107 | 108 | await page.keyboard.press( 'ArrowUp' ); 109 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:106:52
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L106
3) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-190"…>…</div> - unexpected value "not focused" 104 | // Use arrow up/down to move through the list. 105 | await page.keyboard.press( 'ArrowDown' ); > 106 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused(); | ^ 107 | 108 | await page.keyboard.press( 'ArrowUp' ); 109 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:106:52
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:112:2 › Dataviews List Layout › Actions are reachable via RIGHT/LEFT arrow keys: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L133
4) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:112:2 › Dataviews List Layout › Actions are reachable via RIGHT/LEFT arrow keys Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: getByRole('row', { name: 'Privacy Policy Edit Actions' }).getByLabel('Edit') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByRole('row', { name: 'Privacy Policy Edit Actions' }).getByLabel('Edit') - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" - locator resolved to <button id=":r9:" type="button" tabindex="-1" aria-label…>…</button> - unexpected value "not focused" 131 | .getByRole( 'row', { name: 'Privacy Policy Edit Actions' } ) 132 | .getByLabel( 'Edit' ) > 133 | ).toBeFocused(); | ^ 134 | 135 | await page.keyboard.press( 'ArrowRight' ); 136 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:133:5
Merge Artifacts
No artifacts found matching pattern 'flaky-tests-report*'
🎭 Playwright Run Summary
4 skipped 191 passed (5.5m)
🎭 Playwright Run Summary
3 skipped 146 passed (7.8m)
🎭 Playwright Run Summary
1 skipped 188 passed (9.4m)
🎭 Playwright Run Summary
1 skipped 189 passed (9.6m)
🎭 Playwright Run Summary
190 passed (9.6m)
🎭 Playwright Run Summary
5 failed [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:60:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:89:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:112:2 › Dataviews List Layout › Actions are reachable via RIGHT/LEFT arrow keys [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:153:2 › Dataviews List Layout › Navigates the list via UP/DOWN arrow keys from action buttons 180 passed (10.8m)
🎭 Playwright Run Summary
222 passed (12.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
16.4 MB