Experiment: Comments block: client-side form submission #119296
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L30
1) [chromium] › interactivity/directive-slots.spec.ts:21:6 › data-wp-slot › should render the fill in its children by default
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
28 | await page.getByTestId( 'slot-1-button' ).click();
29 |
> 30 | await expect( fillContainer ).toBeEmpty();
| ^
31 | await expect( slot1.getByTestId( 'fill' ) ).toBeVisible();
32 | await expect( slot1 ).toHaveText( 'fill inside slot 1' );
33 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:30:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L30
1) [chromium] › interactivity/directive-slots.spec.ts:21:6 › data-wp-slot › should render the fill in its children by default
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
28 | await page.getByTestId( 'slot-1-button' ).click();
29 |
> 30 | await expect( fillContainer ).toBeEmpty();
| ^
31 | await expect( slot1.getByTestId( 'fill' ) ).toBeVisible();
32 | await expect( slot1 ).toHaveText( 'fill inside slot 1' );
33 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:30:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L30
1) [chromium] › interactivity/directive-slots.spec.ts:21:6 › data-wp-slot › should render the fill in its children by default
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
28 | await page.getByTestId( 'slot-1-button' ).click();
29 |
> 30 | await expect( fillContainer ).toBeEmpty();
| ^
31 | await expect( slot1.getByTestId( 'fill' ) ).toBeVisible();
32 | await expect( slot1 ).toHaveText( 'fill inside slot 1' );
33 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:30:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L49
2) [chromium] › interactivity/directive-slots.spec.ts:42:6 › data-wp-slot › should render the fill before if specified
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
47 | await page.getByTestId( 'slot-2-button' ).click();
48 |
> 49 | await expect( fillContainer ).toBeEmpty();
| ^
50 | await expect( slot2 ).toHaveText( '[2]' );
51 | await expect( slots.getByTestId( 'fill' ) ).toBeVisible();
52 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:49:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L49
2) [chromium] › interactivity/directive-slots.spec.ts:42:6 › data-wp-slot › should render the fill before if specified
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
47 | await page.getByTestId( 'slot-2-button' ).click();
48 |
> 49 | await expect( fillContainer ).toBeEmpty();
| ^
50 | await expect( slot2 ).toHaveText( '[2]' );
51 | await expect( slots.getByTestId( 'fill' ) ).toBeVisible();
52 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:49:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L49
2) [chromium] › interactivity/directive-slots.spec.ts:42:6 › data-wp-slot › should render the fill before if specified
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
47 | await page.getByTestId( 'slot-2-button' ).click();
48 |
> 49 | await expect( fillContainer ).toBeEmpty();
| ^
50 | await expect( slot2 ).toHaveText( '[2]' );
51 | await expect( slots.getByTestId( 'fill' ) ).toBeVisible();
52 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:49:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L69
3) [chromium] › interactivity/directive-slots.spec.ts:62:6 › data-wp-slot › should render the fill after if specified
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
67 | await page.getByTestId( 'slot-3-button' ).click();
68 |
> 69 | await expect( fillContainer ).toBeEmpty();
| ^
70 | await expect( slot3 ).toHaveText( '[3]' );
71 | await expect( slots.getByTestId( 'fill' ) ).toBeVisible();
72 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:69:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L69
3) [chromium] › interactivity/directive-slots.spec.ts:62:6 › data-wp-slot › should render the fill after if specified
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
67 | await page.getByTestId( 'slot-3-button' ).click();
68 |
> 69 | await expect( fillContainer ).toBeEmpty();
| ^
70 | await expect( slot3 ).toHaveText( '[3]' );
71 | await expect( slots.getByTestId( 'fill' ) ).toBeVisible();
72 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:69:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L69
3) [chromium] › interactivity/directive-slots.spec.ts:62:6 › data-wp-slot › should render the fill after if specified
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
67 | await page.getByTestId( 'slot-3-button' ).click();
68 |
> 69 | await expect( fillContainer ).toBeEmpty();
| ^
70 | await expect( slot3 ).toHaveText( '[3]' );
71 | await expect( slots.getByTestId( 'fill' ) ).toBeVisible();
72 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:69:33
|
Run the tests:
test/e2e/specs/interactivity/directive-slots.spec.ts#L91
4) [chromium] › interactivity/directive-slots.spec.ts:82:6 › data-wp-slot › should render the fill in its children if specified
Error: Timed out 5000ms waiting for expect(locator).toBeEmpty()
Locator: getByTestId('fill-container')
Expected: empty
Received: notEmpty
Call log:
- expect.toBeEmpty with timeout 5000ms
- waiting for getByTestId('fill-container')
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
- locator resolved to <div data-testid="fill-container">…</div>
- unexpected value "not empty"
89 | await page.getByTestId( 'slot-4-button' ).click();
90 |
> 91 | await expect( fillContainer ).toBeEmpty();
| ^
92 | await expect( slot4.getByTestId( 'fill' ) ).toBeVisible();
93 | await expect( slot4 ).toHaveText( 'fill inside slot 4' );
94 | await expect( slots.locator( 'css= > *' ) ).toHaveText( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-slots.spec.ts:91:33
|
Run the tests
8 failed
[chromium] › interactivity/directive-slots.spec.ts:21:6 › data-wp-slot › should render the fill in its children by default
[chromium] › interactivity/directive-slots.spec.ts:42:6 › data-wp-slot › should render the fill before if specified
[chromium] › interactivity/directive-slots.spec.ts:62:6 › data-wp-slot › should render the fill after if specified
[chromium] › interactivity/directive-slots.spec.ts:82:6 › data-wp-slot › should render the fill in its children if specified
[chromium] › interactivity/directive-slots.spec.ts:103:6 › data-wp-slot › should be replaced by the fill if specified
[chromium] › interactivity/directive-slots.spec.ts:122:6 › data-wp-slot › should keep the fill in its original position if no slot matches
[chromium] › interactivity/directive-slots.spec.ts:137:6 › data-wp-slot › should not be re-mounted when adding the fill before
[chromium] › interactivity/directive-slots.spec.ts:162:6 › data-wp-slot › should not be re-mounted when adding the fill after
2 skipped
189 passed (8.6m)
|
Loading