Components: Fix React Warning triggers by the new JSX transform #104952
Annotations
2 errors and 1 notice
Run the tests:
test/e2e/specs/site-editor/zoom-out.spec.js#L55
1) [chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByLabel('Add pattern')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByLabel('Add pattern')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
53 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 3 );
54 | await page.getByLabel( 'Add pattern' ).first().click();
> 55 | await expect( page.getByLabel( 'Add pattern' ) ).toHaveCount( 2 );
| ^
56 |
57 | await expect(
58 | page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:55:52
|
Run the tests:
test/e2e/specs/widgets/editing-widgets.spec.js#L1
2) [chromium] › 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:529\n" +
'Stack trace:\n' +
'#0 /var/www/html/wp-settings.php(665): include()\n' +
"#1 /var/www/html/wp-config.php(142): 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: 529
}
},
additional_errors: []
}
|
Run the tests
2 flaky
[chromium] › site-editor/zoom-out.spec.js:40:2 › Zoom Out › Clicking on inserter while on zoom-out should open the patterns tab on the inserter
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
3 skipped
185 passed (5.8m)
|
Loading