Fix e2e test for padding appender (#66080) #116909
Annotations
2 errors and 8 notices
[chromium] › site-editor/zoom-out.spec.js:20:2 › Zoom Out › Entering zoomed out mode zooms the canvas:
test/e2e/specs/site-editor/zoom-out.spec.js#L44
1) [chromium] › site-editor/zoom-out.spec.js:20:2 › Zoom Out › Entering zoomed out mode zooms the canvas
Error: expect(received).toBeGreaterThan(expected)
Expected: > 60
Received: -2416.2985
42 | return parseFloat( paddingValue );
43 | } );
> 44 | expect( htmlRect.y + paddingTop ).toBeGreaterThan( iframeRect.y );
| ^
45 | expect( htmlRect.x ).toBeGreaterThan( iframeRect.x );
46 | } );
47 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:44:37
|
[chromium] › widgets/customizing-widgets.spec.js:236:2 › Widgets Customizer › should move focus to the block:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
2) [chromium] › widgets/customizing-widgets.spec.js:236:2 › Widgets Customizer › should move focus to the block
Error: apiRequestContext.fetch: socket hang up
Call log:
- → POST http://localhost:8889/index.php?rest_route=/wp/v2/sidebars/sidebar-2
- user-agent: Playwright/1.47.0 (x64; ubuntu 22.04) node/20.18 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: 2f6b67b1aa
- content-type: application/json
- content-length: 31
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1729270428%7C47QCRb4aMz8SC2M54Fi75lsnehgfzvxgUle2cnsbhIr%7Ca08d6bb4edb00f45e623e78b03efb548837c906c2761cfaefc22ec70c5fe9cc9; wp-settings-time-1=1729097937
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119
117 |
118 | try {
> 119 | const response = await this.request.fetch( url, {
| ^
120 | ...fetchOptions,
121 | failOnStatusCode: false,
122 | headers: {
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39)
at map (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/widgets.js:22:9)
at RequestUtils.deleteAllWidgets (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/widgets.js:21:12)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/customizing-widgets.spec.js:37:3
|
🎭 Playwright Run Summary
2 flaky
[chromium] › site-editor/zoom-out.spec.js:20:2 › Zoom Out › Entering zoomed out mode zooms the canvas
[chromium] › widgets/customizing-widgets.spec.js:236:2 › Widgets Customizer › should move focus to the block
2 skipped
192 passed (6.5m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.5m)
|
🎭 Playwright Run Summary
199 passed (10.0m)
|
🎭 Playwright Run Summary
1 skipped
194 passed (9.7m)
|
🎭 Playwright Run Summary
1 skipped
200 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
187 passed (9.8m)
|
🎭 Playwright Run Summary
3 skipped
187 passed (10.4m)
|
🎭 Playwright Run Summary
1 skipped
197 passed (10.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
4.54 MB |
|
flaky-tests-report
|
2.22 KB |
|