Allow template duplication + concept of active templates #123064
Annotations
5 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/site-editor/preload.spec.js#L46
1) [chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 4
Array [
"/wp/v2/settings",
+ "/wp/v2/templates/lookup",
+ "/wp/v2/wp_template",
+ "/wp/v2/_wp_static_template",
+ "/wp/v2/wp_template/280",
"/wp/v2/users/me",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // There are two separate settings OPTIONS requests. We should fix
48 | // so the one for canUser and getEntityRecord are reused.
49 | '/wp/v2/settings',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
Run the tests:
test/e2e/specs/site-editor/preload.spec.js#L46
1) [chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 4
Array [
"/wp/v2/settings",
+ "/wp/v2/templates/lookup",
+ "/wp/v2/wp_template",
+ "/wp/v2/_wp_static_template",
+ "/wp/v2/wp_template/281",
"/wp/v2/users/me",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // There are two separate settings OPTIONS requests. We should fix
48 | // so the one for canUser and getEntityRecord are reused.
49 | '/wp/v2/settings',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
Run the tests:
test/e2e/specs/site-editor/preload.spec.js#L46
1) [chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 4
Array [
"/wp/v2/settings",
+ "/wp/v2/templates/lookup",
+ "/wp/v2/wp_template",
+ "/wp/v2/_wp_static_template",
+ "/wp/v2/wp_template/282",
"/wp/v2/users/me",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // There are two separate settings OPTIONS requests. We should fix
48 | // so the one for canUser and getEntityRecord are reused.
49 | '/wp/v2/settings',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
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-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-description"></button>
- unexpected value "not focused"
- locator resolved to <button type="button" tabindex="-1" aria-pressed="false" id="view-list-0-196-item-wrapper" class="dataviews-view-list__item" aria-labelledby="view-list-0-196-label" aria-describedby="view-list-0-196-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
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
1 failed
[chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
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
199 passed (10.4m)
|
Loading