Interactivity API: Refactor context proxies #113925
Annotations
4 errors 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 [
- "a",
"b",
"c",
"d",
]
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( [ 'a', 'b', 'c', 'd' ] );
| ^
325 |
326 | // Get the tags. They should not have disappeared or changed,
327 | // except for the newly created element.
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 [
- "a",
"b",
"c",
"d",
]
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( [ 'a', 'b', 'c', 'd' ] );
| ^
325 |
326 | // Get the tags. They should not have disappeared or changed,
327 | // except for the newly created element.
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 [
- "a",
"b",
"c",
"d",
]
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( [ 'a', 'b', 'c', 'd' ] );
| ^
325 |
326 | // Get the tags. They should not have disappeared or changed,
327 | // except for the newly created element.
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.
|
Run the tests
1 failed
[chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation
4 skipped
191 passed (6.8m)
|
Loading