Fix: post saving should be locked during media uploads #150249
end2end-test.yml
on: pull_request
Annotations
2 errors and 8 notices
|
[chromium] › test/e2e/specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page:
test/e2e/specs/site-editor/homepage-settings.spec.js#L93
1) [chromium] › test/e2e/specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
Error: locator.click: Error: strict mode violation: getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Sample page') }) resolved to 2 elements:
1) <div class="" id=":ru:" role="row">…</div> aka getByRole('row', { name: 'Sample Page Edit Actions Author Author avatar admin Status Published', exact: true })
2) <div class="" id=":r16:" role="row">…</div> aka getByRole('row', { name: 'Sample page Edit Actions Author Author avatar admin Status Published', exact: true })
Call log:
- waiting for getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Sample page') })
91 | .filter( { has: samplePageTwo } );
92 | // eslint-disable-next-line playwright/no-force-option
> 93 | await samplePageTwoRow.click( { force: true } );
| ^
94 | await samplePageTwoRow
95 | .getByRole( 'button', {
96 | name: 'Actions',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:93:26
|
|
[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
1 flaky
[chromium] › test/e2e/specs/site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
3 skipped
242 passed (12.5m)
|
|
🎭 Playwright Run Summary
1 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
5 skipped
234 passed (12.7m)
|
|
🎭 Playwright Run Summary
246 passed (12.7m)
|
|
🎭 Playwright Run Summary
3 skipped
242 passed (12.9m)
|
|
🎭 Playwright Run Summary
1 skipped
239 passed (13.2m)
|
|
🎭 Playwright Run Summary
6 skipped
237 passed (13.9m)
|
|
🎭 Playwright Run Summary
5 skipped
238 passed (16.4m)
|
|
🎭 Playwright Run Summary
1 skipped
259 passed (23.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-reports-merged
|
7.24 MB |
sha256:f012bb4d62752cd3e35a0ef91e5c4bfeed101dd8747a389c12090dcb998b423c
|
|
|
failures-artifacts
|
3.5 MB |
sha256:a5eb83c487dde296176763c5aca75c9be45e3b1654b492a9cf4eb9c33605ab95
|
|
|
flaky-tests-report
|
2.28 KB |
sha256:0577bd357f60d28ccc131e13decb8f49beaeb953bca55d8e3a89d890134ac27a
|
|
|
html-report--attempt-1
|
6.64 MB |
sha256:5a0d922f47f627aeab74aecc49b7fd98fdf2ddf15b672f96dcd19b5b525b89fa
|
|