Interactivity API: Add wp-data-on-window
and wp-data-on-document
directives
#93646
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
9m 52s
Report to GitHub
3m 23s
Annotations
6 errors and 8 notices
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed:
test/e2e/specs/interactivity/directive-on-document.spec.ts#L44
1) [chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('counter')
Expected string: "2"
Received string: "1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('counter')
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
42 | await visibilityButton.click();
43 | await page.keyboard.press( 'ArrowDown' );
> 44 | await expect( counter ).toHaveText( '2' );
| ^
45 | } );
46 | } );
47 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-document.spec.ts:44:27
|
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed:
test/e2e/specs/interactivity/directive-on-document.spec.ts#L44
1) [chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('counter')
Expected string: "2"
Received string: "1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('counter')
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
42 | await visibilityButton.click();
43 | await page.keyboard.press( 'ArrowDown' );
> 44 | await expect( counter ).toHaveText( '2' );
| ^
45 | } );
46 | } );
47 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-document.spec.ts:44:27
|
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed:
test/e2e/specs/interactivity/directive-on-document.spec.ts#L44
1) [chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('counter')
Expected string: "2"
Received string: "1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('counter')
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
- locator resolved to <p data-testid="counter" data-wp-text="state.counte…>1</p>
- unexpected value "1"
42 | await visibilityButton.click();
43 | await page.keyboard.press( 'ArrowDown' );
> 44 | await expect( counter ).toHaveText( '2' );
| ^
45 | } );
46 | } );
47 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-document.spec.ts:44:27
|
Playwright - 7
Process completed with exit code 1.
|
Playwright - 1
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
[chromium] › editor/blocks/image.spec.js:616:2 › Image › image inserted via link should appear in the frontend published post content:
test/e2e/specs/editor/blocks/image.spec.js#L644
1) [chromium] › editor/blocks/image.spec.js:616:2 › Image › image inserted via link should appear in the frontend published post content
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Image"i]').locator('role=img')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Image"i]').locator('role=img')
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
642 |
643 | const imageInEditor = imageBlock.locator( 'role=img' );
> 644 | await expect( imageInEditor ).toBeVisible();
| ^
645 | await expect( imageInEditor ).toHaveAttribute( 'src', imgUrl );
646 |
647 | const postId = await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:644:33
|
🎭 Playwright Run Summary
1 skipped
131 passed (6.6m)
|
🎭 Playwright Run Summary
148 passed (7.6m)
|
🎭 Playwright Run Summary
2 skipped
110 passed (7.4m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › interactivity/directive-on-document.spec.ts:29:6 › data-wp-on-document › the event listener is removed when the element is removed
169 passed (7.6m)
|
🎭 Playwright Run Summary
1 skipped
183 passed (8.3m)
|
🎭 Playwright Run Summary
146 passed (7.6m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › editor/blocks/image.spec.js:616:2 › Image › image inserted via link should appear in the frontend published post content
11 skipped
151 passed (8.2m)
|
🎭 Playwright Run Summary
3 skipped
119 passed (7.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
1.01 MB |
|
flaky-tests-report
Expired
|
1.2 KB |
|