feat: Add toggle for include/exclude terms and improve term handling #124939
Annotations
4 errors 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 - 1
+ Received + 0
Array [
"/wp/v2/users/me",
- "/wp/v2/settings",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // Seems to be coming from `enableComplementaryArea`.
48 | '/wp/v2/users/me',
49 | // There are two separate settings OPTIONS requests. We should fix
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 - 1
+ Received + 0
Array [
"/wp/v2/users/me",
- "/wp/v2/settings",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // Seems to be coming from `enableComplementaryArea`.
48 | '/wp/v2/users/me',
49 | // There are two separate settings OPTIONS requests. We should fix
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 - 1
+ Received + 0
Array [
"/wp/v2/users/me",
- "/wp/v2/settings",
]
44 |
45 | // To do: these should all be removed or preloaded.
> 46 | expect( requests ).toEqual( [
| ^
47 | // Seems to be coming from `enableComplementaryArea`.
48 | '/wp/v2/users/me',
49 | // There are two separate settings OPTIONS requests. We should fix
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/preload.spec.js:46:22
|
Run the tests
Process completed with exit code 1.
|
Run the tests
1 failed
[chromium] › site-editor/preload.spec.js:16:2 › Preload › Should make no requests before the iframe is loaded
1 skipped
201 passed (8.8m)
|
Loading