feat(label-group): create pf-label-group element #10803
tests.yml
on: pull_request
Matrix: Compile project
SSR Tests (Playwright)
1m 45s
Verify that build runs on Windows
1m 57s
Publish Playwright Report
30s
Validate successful build on main
6s
Annotations
6 errors, 9 warnings, and 2 notices
|
SSR Tests (Playwright)
Process completed with exit code 1.
|
|
elements/pf-label-group/test/pf-label-group.e2e.ts:14:3 › pf-label-group › ssr:
elements/pf-label-group/pf-label-group.ts#L95
1) elements/pf-label-group/test/pf-label-group.e2e.ts:14:3 › pf-label-group › ssr ────────────────
Error: TypeError: this.querySelectorAll is not a function
at elements/pf-label-group/pf-label-group.ts:95
93 |
94 | get #labels(): NodeListOf<PfLabel> {
> 95 | return this.querySelectorAll<PfLabel>('pf-label:not([slot]):not([overflow-label])');
| ^
96 | }
97 |
98 | get #hasCategory(): boolean {
at PfLabelGroup._PfLabelGroup_labels_get (file:///__w/patternfly-elements/patternfly-elements/elements/pf-label-group/pf-label-group.ts:95:17)
at __classPrivateFieldGet (/__w/patternfly-elements/patternfly-elements/node_modules/tslib/tslib.js:339:52)
at Object.getItems (file:///__w/patternfly-elements/patternfly-elements/elements/pf-label-group/pf-label-group.ts:109:9)
at RovingTabindexController.initItems (file:///__w/patternfly-elements/patternfly-elements/core/pfe-core/controllers/at-focus-controller.ts:134:31)
at new RovingTabindexController (file:///__w/patternfly-elements/patternfly-elements/core/pfe-core/controllers/roving-tabindex-controller.ts:74:10)
at Function.of (file:///__w/patternfly-elements/patternfly-elements/core/pfe-core/controllers/roving-tabindex-controller.ts:22:12)
at new PfLabelGroup (file:///__w/patternfly-elements/patternfly-elements/elements/pf-label-group/pf-label-group.ts:106:40)
at new LitElementRenderer (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/lit-element-renderer.ts:51:20)
at getElementRenderer (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/element-renderer.ts:41:14)
at file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:937:28
at RenderResultIterator.next (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render.ts:126:17)
at collectResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-result.ts:54:14)
at ssr (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/ssr.ts:10:10)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:16:10)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:59:35
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at PfLabelGroup._PfLabelGroup_labels_get (/__w/patternfly-elements/patternfly-elements/elements/pf-label-group/pf-label-group.ts:95:17)
at __classPrivateFieldGet (/__w/patternfly-elements/patternfly-elements/node_modules/tslib/tslib.js:339:52)
at Object.getItems (/__w/patternfly-elements/patternfly-elements/elements/pf-label-group/pf-label-group.ts:109:9)
at RovingTabindexController.initItems (/__w/patternfly-elements/patternfly-elements/core/pfe-core/controllers/at-focus-controller.ts:134:31)
at RovingTabindexController (/__w/patternfly-elements/patternfly-elements/core/pfe-core/controllers/roving-tabindex-controller.ts:74:10)
at Function.of (/__w/patternfly-elements/patternfly-elements/core/pfe-core/controllers/roving-tabindex-controller.ts:22:12)
at PfLabelGroup (/__w/patternfly-elements/patternfly-elements/elements/pf-label-group/pf-label-group.ts:106:40)
at LitElementRenderer (/__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/lit-element-renderer.ts:51:20)
at getElementRenderer (/__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/element-renderer.ts:41:14)
at /__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:937:28
at RenderResultIterator.next (/__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render.ts:126:17)
at collectResul
|
|
Unit Tests (Web Test Runner)
❌ Failed to create checks using the provided token. (HttpError: Resource not accessible by integration)
|
|
Validate successful build on main
Resource not accessible by integration
|
|
Validate successful build on main
HttpError: Resource not accessible by integration
|
|
Publish Playwright Report
The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 ❌
|
|
Lint files
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Compile project (24)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Compile project (22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
SSR Tests (Playwright)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit Tests (Web Test Runner)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, mikepenz/action-junit-report@v2.8.2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Unit Tests (Web Test Runner)
⚠️ This usually indicates insufficient permissions. More details: https://github.com/mikepenz/action-junit-report/issues/23
|
|
Verify that build runs on Windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Validate successful build on main
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions-ecosystem/action-add-labels@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Publish Playwright Report
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
1 failed
elements/pf-label-group/test/pf-label-group.e2e.ts:14:3 › pf-label-group › ssr ─────────────────
34 passed (24.3s)
|
|
Publish Playwright Report
Deployment failed! ❌
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-report
|
4.69 MB |
sha256:fbe96f6e4f8c81b58cee6842dffa911afb499919c8f35b0f5aff5efe846fdf84
|
|