UI Dialog: Add Description, modal context, and misc improvements #151835
end2end-test.yml
on: pull_request
Annotations
4 errors and 8 notices
|
[chromium] › specs/widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter:
test/e2e/specs/widgets/editing-widgets.spec.js#L0
2) [chromium] › specs/widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
{
code: 'internal_server_error',
message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>',
data: {
status: 500,
error: {
type: 1,
message: "Uncaught Error: Failed opening required '/var/www/html/wp-content/themes/twentytwenty/classes/class-twenty-twenty-one-svg-icons.php' (include_path='.:/usr/local/lib/php') in /var/www/html/wp-content/themes/twentytwentyone/functions.php:493\n" +
'Stack trace:\n' +
'#0 /var/www/html/wp-settings.php(743): include()\n' +
"#1 /var/www/html/wp-config.php(148): require_once('/var/www/html/w...')\n" +
"#2 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...')\n" +
"#3 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...')\n" +
"#4 /var/www/html/index.php(17): require('/var/www/html/w...')\n" +
'#5 {main}\n' +
' thrown',
file: '/var/www/html/wp-content/themes/twentytwentyone/functions.php',
line: 493
}
},
additional_errors: []
}
|
|
[chromium] › 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] › 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] › 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] › 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
|
|
[chromium] › specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected:
test/e2e/specs/editor/various/multi-entity-saving.spec.js#L127
1) [chromium] › specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
Error: expect(locator).toBeDisabled() failed
Locator: getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Saved' })
Expected: disabled
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeDisabled" with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Saved' })
125 | await expect(
126 | topBar.getByRole( 'button', { name: 'Saved' } )
> 127 | ).toBeDisabled();
| ^
128 | await expect( openSavePanel ).toBeHidden();
129 |
130 | await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-entity-saving.spec.js:127:5
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › 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
[chromium] › specs/widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
3 skipped
243 passed (11.2m)
|
|
🎭 Playwright Run Summary
3 skipped
242 passed (12.9m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › 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
233 passed (12.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/editor/various/multi-entity-saving.spec.js:28:2 › Editor - Multi-entity save flow › Save flow should work as expected
1 skipped
243 passed (13.6m)
|
|
🎭 Playwright Run Summary
250 passed (13.8m)
|
|
🎭 Playwright Run Summary
6 skipped
243 passed (14.6m)
|
|
🎭 Playwright Run Summary
5 skipped
241 passed (16.4m)
|
|
🎭 Playwright Run Summary
1 skipped
261 passed (24.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-reports-merged
Expired
|
12.4 MB |
sha256:e31fd17649b1121ac9d628c690503b6f51635b76e4e895140cae4eaf551fd43e
|
|
|
flaky-tests-report
Expired
|
4.3 KB |
sha256:df38066681be591f1109a5c8ff3469bfe6bfe178ca0f7334a1d03cdfe9608fc3
|
|
|
html-report--attempt-1
Expired
|
11.9 MB |
sha256:ecd98f41958a5fb968d9211049e9cd24950696a0f057fe9dacee004de583e427
|
|