New Block: Implement progress bar block #124156
Annotations
3 errors, 1 warning, and 1 notice
|
Run the tests:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › 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: apiRequestContext.fetch: socket hang up
Call log:
- → GET http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fpages&per_page=100&status=publish%2Cfuture%2Cdraft%2Cpending%2Cprivate%2Ctrash
- user-agent: Playwright/1.49.1 (x64; ubuntu 24.04) node/20.18 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: 2c4c65e702
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1738129232%7CeQyAGt2FwTKd4JwJGkpz4p7bAOzn3qmOmYV8DUmtv87%7C5d997bb184b9f325b5de42a1529b81ac9e10f02318dcf9b11eb08657b932a048; wp-settings-time-1=1737956781
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.deleteAllPages (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/pages.ts:47:27)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:30:17
|
Run the tests:
test/e2e/specs/site-editor/homepage-settings.spec.js#L71
1) [chromium] › site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Homepage') }) resolved to 2 elements:
1) <div class="" id=":rm:" role="row">…</div> aka getByRole('row', { name: 'Homepage Edit Actions Author' }).first()
2) <div class="" id=":ru:" role="row">…</div> aka getByRole('row', { name: 'Homepage Edit Actions Author' }).nth(1)
Call log:
- waiting for getByRole('row').filter({ has: getByRole('gridcell').getByLabel('Homepage') })
69 | .getByRole( 'row' )
70 | .filter( { has: samplePage } );
> 71 | await samplePageRow.click();
| ^
72 | await samplePageRow
73 | .getByRole( 'button', {
74 | name: 'Actions',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/homepage-settings.spec.js:71:23
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Run the tests
1 flaky
[chromium] › site-editor/homepage-settings.spec.js:62:2 › Homepage Settings via Editor › should show correct homepage actions based on current homepage or posts page
1 skipped
172 passed (7.8m)
|
Loading