Script Loader: Defer single-page admin init until DOMContentLoaded (T… #156099
end2end-test.yml
on: push
Annotations
3 errors and 8 notices
|
[chromium] › specs/interactivity/router-navigate.spec.ts:67:6 › Router navigate › should update the HTML only for the latest navigation:
test/e2e/specs/interactivity/router-navigate.spec.ts#L100
1) [chromium] › specs/interactivity/router-navigate.spec.ts:67:6 › Router navigate › should update the HTML only for the latest navigation
TypeError: resolveLink2 is not a function
98 | await expect( title ).toHaveText( 'Main' );
99 |
> 100 | await Promise.resolve().then( () => resolveLink2() );
| ^
101 |
102 | await expect( navigations ).toHaveText( '1' );
103 | await expect( status ).toHaveText( 'busy' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigate.spec.ts:100:39
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigate.spec.ts:100:3
|
|
[chromium] › specs/site-editor/dataviews-list-layout-keyboard.spec.js:101:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L115
1) [chromium] › specs/site-editor/dataviews-list-layout-keyboard.spec.js:101:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
Error: expect(locator).toBeFocused() failed
Locator: getByLabel('Sample Page')
Expected: focused
Error: strict mode violation: getByLabel('Sample Page') resolved to 2 elements:
1) <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-2-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-2-label" aria-describedby="view-list-0-2-description"></button> aka locator('#view-list-0-2-item-wrapper')
2) <button tabindex="-1" type="button" aria-pressed="false" id="view-list-0-12-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-12-label" aria-describedby="view-list-0-12-description"></button> aka locator('#view-list-0-12-item-wrapper')
Call log:
- Expect "toBeFocused" with timeout 5000ms
- waiting for getByLabel('Sample Page')
113 | // Use arrow up/down to move through the list.
114 | await page.keyboard.press( 'ArrowDown' );
> 115 | await expect( page.getByLabel( 'Sample Page' ) ).toBeFocused();
| ^
116 |
117 | await page.keyboard.press( 'ArrowUp' );
118 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:115:52
|
|
Report to GitHub
HttpError: Resource not accessible by integration
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/interactivity/router-navigate.spec.ts:67:6 › Router navigate › should update the HTML only for the latest navigation
7 skipped
246 passed (8.9m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/site-editor/dataviews-list-layout-keyboard.spec.js:101:2 › Dataviews List Layout › Navigates the items list via UP/DOWN arrow keys
3 skipped
257 passed (11.8m)
|
|
🎭 Playwright Run Summary
14 skipped
228 passed (12.1m)
|
|
🎭 Playwright Run Summary
257 passed (13.3m)
|
|
🎭 Playwright Run Summary
4 skipped
268 passed (13.7m)
|
|
🎭 Playwright Run Summary
5 skipped
250 passed (13.8m)
|
|
🎭 Playwright Run Summary
6 skipped
247 passed (16.7m)
|
|
🎭 Playwright Run Summary
1 skipped
260 passed (25.3m)
|