Template Part: Hide Advanced panel for non-admin users #112716
Annotations
1 error and 1 notice
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › editor/plugins/hooks-api.spec.js:37:2 › Using Hooks API › Pressing reset block button resets the block
Error: apiRequestContext.fetch: socket hang up
Call log:
- → PUT http://localhost:8889/index.php?rest_route=/wp/v2/plugins/gutenberg-test-plugins/hooks-api
- user-agent: Playwright/1.46.0 (x64; ubuntu 22.04) node/20.17 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: 2b48cb40e8
- content-type: application/json
- content-length: 21
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1724549494%7CP78OfocMas5se4PN1EOgOQWVfxf5grXqjvWiYR8YgTD%7C5da2c62230026f7b2a40323911ad602d1c92b7fd126456025f104525c3791f63; wp-settings-time-1=1724376791
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 RequestUtils.deactivatePlugin (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/plugins.ts:96:13)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/hooks-api.spec.js:13:3
|
|
This job succeeded
Loading