Improve Image block e2e tests #112246
Annotations
1 error and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/request-utils/themes.ts#L48
1) [chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
Error: apiRequestContext.get: socket hang up
Call log:
- → GET http://localhost:8889/wp-admin/themes.php?action=activate&stylesheet=emptytheme&_wpnonce=79090c9c8c
- user-agent: Playwright/1.46.0 (x64; ubuntu 22.04) node/20.16 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1723908412%7CKXgBZEqbB0twfsNQ9L8qxULgcsoGpfo4i5p8MPAIVQg%7C1bb45e23ffcc5e377b4846c233482604320d36e2851853cd4b92b4b0ebc8afa7; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1723908412%7CKXgBZEqbB0twfsNQ9L8qxULgcsoGpfo4i5p8MPAIVQg%7C64a59939e7d83533bc51147388d452fce2988a93c227c6afe34fc33eb4032cd0; wp-settings-time-1=1723735691
- ← 302 Found
- date: Thu, 15 Aug 2024 15:28:11 GMT
- server: Apache/2.4.61 (Debian)
- x-powered-by: PHP/8.2.22
- expires: Wed, 11 Jan 1984 05:00:00 GMT
- cache-control: no-cache, must-revalidate, max-age=0, private
- referrer-policy: strict-origin-when-cross-origin
- x-frame-options: SAMEORIGIN
- x-redirect-by: WordPress
- location: http://localhost:8889/wp-admin/themes.php?activated=true
- server-timing: wpTotal;dur=41.41, wpMemoryUsage;dur=4443272, wpDbQueries;dur=45
- content-length: 0
- keep-alive: timeout=5, max=87
- connection: Keep-Alive
- content-type: text/html; charset=UTF-8
- → GET http://localhost:8889/wp-admin/themes.php?activated=true
- user-agent: Playwright/1.46.0 (x64; ubuntu 22.04) node/20.16 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1723908412%7CKXgBZEqbB0twfsNQ9L8qxULgcsoGpfo4i5p8MPAIVQg%7C1bb45e23ffcc5e377b4846c233482604320d36e2851853cd4b92b4b0ebc8afa7; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1723908412%7CKXgBZEqbB0twfsNQ9L8qxULgcsoGpfo4i5p8MPAIVQg%7C64a59939e7d83533bc51147388d452fce2988a93c227c6afe34fc33eb4032cd0; wp-settings-time-1=1723735691
at ../../../packages/e2e-test-utils-playwright/src/request-utils/themes.ts:48
46 | THEMES_URL + `?${ activateQuery }`.replace( /&/g, '&' );
47 |
> 48 | response = await this.request.get( activateLink );
| ^
49 |
50 | await response.dispose();
51 | }
at RequestUtils.activateTheme (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/themes.ts:48:32)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/push-to-global-styles.spec.js:8:3
|
Run the tests
1 flaky
[chromium] › site-editor/push-to-global-styles.spec.js:23:2 › Push to Global Styles button › should apply Heading block styles to all Heading blocks
4 skipped
190 passed (6.7m)
|
Loading