Skip to content

feat: Adds dataAttributes support to ButtonDropdown items #20454

feat: Adds dataAttributes support to ButtonDropdown items

feat: Adds dataAttributes support to ButtonDropdown items #20454

Re-run triggered February 16, 2026 07:48
Status Failure
Total duration 9m 38s
Artifacts 2

build-lint-test.yml

on: pull_request
Matrix: build
Matrix: deploy
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 22 warnings
build (React 18) / build
Process completed with exit code 1.
Components › definition for button-dropdown matches the snapshot: src/__tests__/snapshot-tests/documenter.test.ts#L15
expect(received).toMatchSnapshot(hint) Snapshot name: `Components definition for button-dropdown matches the snapshot: button-dropdown 1` - Snapshot - 0 + Received + 1 @@ -179,10 +179,11 @@ - `lang` (string) - (Optional) The language of the item, provided as a BCP 47 language tag. - `disabled` (boolean) - whether the item is disabled. Disabled items are not clickable, but they can be highlighted with the keyboard to make them accessible. - `disabledReason` (string) - (Optional) Displays text near the `text` property when item is disabled. Use to provide additional context. - `description` (string) - additional data that will be passed to a `data-description` attribute. **Deprecated**, has no effect. - `ariaLabel` (string) - (Optional) - ARIA label of the item element. + - `dataAttributes` (Record<string, string>) - (Optional) Custom data attributes for the item element. Attribute names are automatically prefixed with "data-". The "testid" key is reserved. ### action - `href` (string) - (Optional) Defines the target URL of the menu item, turning it into a link. - `download` (boolean | string) - (Optional) Indicates that the link should be downloaded when clicked. Only works when `href` is also provided. If set to `true`, the browser will use the filename from the URL. If set to a string, that string will be used as the suggested filename. at src/__tests__/snapshot-tests/documenter.test.ts:15:24
build / build
The strategy configuration was canceled because "build._18" failed
build / build
The operation was canceled.
Build, lint and test
The strategy configuration was canceled because "build._18" failed
build / codeql
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
build (React 18) / codeql
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
build (React 18) / build: src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L192
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
build (React 18) / build: src/app-layout/__integ__/app-layout-drawers.test.ts#L227
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
build (React 18) / build: pages/utils/permutations-view.tsx#L18
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
build (React 18) / build: pages/steps/with-updates.page.tsx#L167
JSX element uses aria-live property. Prefer using LiveRegion component instead
build (React 18) / build: pages/steps/with-updates.page.tsx#L155
JSX element uses aria-live property. Prefer using LiveRegion component instead
build (React 18) / build: pages/steps/with-updates.page.tsx#L143
JSX element uses aria-live property. Prefer using LiveRegion component instead
build (React 18) / build: pages/steps/with-updates.page.tsx#L127
JSX element uses aria-live property. Prefer using LiveRegion component instead
build (React 18) / build: pages/form-field/form-field-columns.page.tsx#L20
Unexpected 'todo' comment: 'TODO: Replace this with Select'
build (React 18) / build: pages/button/alignment.page.tsx#L25
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
build / build: src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L192
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
build / build: src/app-layout/__integ__/app-layout-drawers.test.ts#L227
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
build / build: pages/utils/permutations-view.tsx#L18
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
build / build: pages/steps/with-updates.page.tsx#L167
JSX element uses aria-live property. Prefer using LiveRegion component instead
build / build: pages/steps/with-updates.page.tsx#L155
JSX element uses aria-live property. Prefer using LiveRegion component instead
build / build: pages/steps/with-updates.page.tsx#L143
JSX element uses aria-live property. Prefer using LiveRegion component instead
build / build: pages/steps/with-updates.page.tsx#L127
JSX element uses aria-live property. Prefer using LiveRegion component instead
build / build: pages/form-field/form-field-columns.page.tsx#L20
Unexpected 'todo' comment: 'TODO: Replace this with Select'
build / build: pages/button/alignment.page.tsx#L25
Unexpected 'todo' comment: 'TODO: uncomment when we add...'

Artifacts

Produced during runtime
Name Size Digest
dev-pages-react16
15.2 MB
sha256:6bb63c156be1587a20cff11befe4c8b2a58260aa1308b2459f2880db6dcab671
dev-pages-react18
15.2 MB
sha256:d168d0e1b96a5a74491fd14751395b7b85aa7d2bbc1db777c40ec74e130fc3c3