Interactivity API: Defer hydration until node is scrolled near the viewport #95898
Annotations
5 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/interactivity/directive-each.spec.ts#L324
1) [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('navigation-updated list').getByTestId('item')
- Expected - 1
+ Received + 0
Array [
- "alpha",
"beta",
"gamma",
"delta",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('navigation-updated list').getByTestId('item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
322 | .click();
323 |
> 324 | await expect( elements ).toHaveText( [
| ^
325 | 'alpha',
326 | 'beta',
327 | 'gamma',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:324:28
|
Run the tests:
test/e2e/specs/interactivity/directive-each.spec.ts#L324
1) [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('navigation-updated list').getByTestId('item')
- Expected - 1
+ Received + 0
Array [
- "alpha",
"beta",
"gamma",
"delta",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('navigation-updated list').getByTestId('item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
322 | .click();
323 |
> 324 | await expect( elements ).toHaveText( [
| ^
325 | 'alpha',
326 | 'beta',
327 | 'gamma',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:324:28
|
Run the tests:
test/e2e/specs/interactivity/directive-each.spec.ts#L324
1) [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('navigation-updated list').getByTestId('item')
- Expected - 1
+ Received + 0
Array [
- "alpha",
"beta",
"gamma",
"delta",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('navigation-updated list').getByTestId('item')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
322 | .click();
323 |
> 324 | await expect( elements ).toHaveText( [
| ^
325 | 'alpha',
326 | 'beta',
327 | 'gamma',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:324:28
|
Run the tests
Process completed with exit code 1.
|
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
1 failed
[chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation
176 passed (7.5m)
|
The logs for this run have expired and are no longer available.
Loading