RTC: Add E2E "stress test" with complex interactions #149463
end2end-test.yml
on: pull_request
Annotations
2 errors and 8 notices
|
[chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling:
test/e2e/specs/editor/various/publish-panel.spec.js#L33
2) [chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling
Error: expect(locator).toBeFocused() failed
Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]')
Expected: focused
Received: inactive
Timeout: 5000ms
Call log:
- Expect "toBeFocused" with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Publish"i]')
9 × locator resolved to <button type="button" aria-expanded="true" aria-disabled="false" class="components-button editor-post-publish-panel__toggle editor-post-publish-button__button is-primary is-compact">Publish</button>
- unexpected value "inactive"
31 |
32 | // Test focus is moved back to the Publish panel toggle button.
> 33 | await expect( publishPanelToggleButton ).toBeFocused();
| ^
34 | } );
35 |
36 | test( 'should move focus back to the Publish panel toggle button after publishing and closing the panel', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/publish-panel.spec.js:33:44
|
|
[chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted › Paragraph and Group blocks are available in the inserter
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByText('Initial content')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:163:18
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:159:15
|
|
🎭 Playwright Run Summary
3 skipped
238 passed (9.9m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted
[chromium] › test/e2e/specs/editor/various/publish-panel.spec.js:11:2 › Post publish panel › should move focus back to the Publish panel toggle button when canceling
5 skipped
232 passed (12.2m)
|
|
🎭 Playwright Run Summary
1 skipped
239 passed (12.5m)
|
|
🎭 Playwright Run Summary
5 skipped
199 passed (12.2m)
|
|
🎭 Playwright Run Summary
3 skipped
236 passed (12.4m)
|
|
🎭 Playwright Run Summary
246 passed (13.1m)
|
|
🎭 Playwright Run Summary
6 skipped
273 passed (16.5m)
|
|
🎭 Playwright Run Summary
1 skipped
251 passed (22.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-reports-merged
Expired
|
7.24 MB |
sha256:be1f7d20eaace02d5dc6a5651c17e0ad317be7308497792d5d0d0af917857ddb
|
|
|
failures-artifacts
Expired
|
3.36 MB |
sha256:96f1dad9f41fb80ac1dedf69b6ef53d6ec6bc17cef9c0fb9b55046fdcbb0edf1
|
|
|
flaky-tests-report
Expired
|
2.32 KB |
sha256:70e865c102a6cd95f1fb125c7fea029caa14211682b7ad0c23881c197a62b13b
|
|
|
html-report--attempt-1
Expired
|
6.45 MB |
sha256:03e22b72ac067368c395a53155bf2573c6fdad777969bbe0c2e6616647bf484c
|
|