Skip to content

chore(deps): Upgrade React to v19 #15004

chore(deps): Upgrade React to v19

chore(deps): Upgrade React to v19 #15004

Triggered via pull request February 24, 2025 11:11
Status Failure
Total duration 10m 41s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: src/app/base/components/Switch/Switch.tsx#L15
Type '{ list?: string | undefined; security?: string | undefined; id?: string | undefined; name?: string | undefined; key?: Key | null | undefined; type: HTMLInputTypeAttribute; ... 288 more ...; className: string; }' is not assignable to type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.
Lint: src/app/machines/components/MachineForms/MachineActionFormWrapper/TagForm/TagFormChanges/TagFormChanges.tsx#L148
Type '({ value }: { value: LabelCol; }) => string | number | bigint | true | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<...> | null' is not assignable to type 'Renderer<CellProps<{}, any>> | undefined'.
Lint: src/app/machines/components/MachineForms/MachineActionFormWrapper/TagForm/TagFormChanges/TagFormChanges.tsx#L154
Object literal may only specify known properties, and 'className' does not exist in type 'ColumnWithLooseAccessor'.
Lint: src/app/machines/components/MachineForms/MachineActionFormWrapper/TagForm/TagFormChanges/TagFormChanges.tsx#L159
Object literal may only specify known properties, and 'className' does not exist in type 'ColumnWithLooseAccessor'.
Lint: src/app/machines/components/MachineForms/MachineActionFormWrapper/TagForm/TagFormChanges/TagFormChanges.tsx#L164
Object literal may only specify known properties, and 'className' does not exist in type 'ColumnWithLooseAccessor'.
Lint: src/app/settings/views/Configuration/GeneralForm/ThemedRadioButton/ThemedRadioButton.tsx#L38
Type '{ onClick: (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<...>) | undefined; ... 292 more ...; name: string | undefined; }' is not assignable to type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.
Lint
Process completed with exit code 2.
src/app/images/components/ImagesForms/SelectUpstreamImagesForm/SelectUpstreamImagesSelect/SelectUpstreamImagesSelect.test.tsx > SelectUpstreamImagesSelect > does not show a checkbox for an architecture delete from the source: src/app/images/components/ImagesForms/SelectUpstreamImagesForm/SelectUpstreamImagesSelect/SelectUpstreamImagesSelect.test.tsx#L109
TestingLibraryElementError: Unable to find an element with the role "checkbox" Here are the available roles: tab: Name "Ubuntu": <button aria-expanded="true" class="p-accordion__tab" role="tab" type="button" /> -------------------------------------------------- heading: Name "Ubuntu": <h2 class="p-heading--4" /> -------------------------------------------------- tabpanel: Name "": <section aria-hidden="false" class="p-accordion__panel" role="tabpanel" /> -------------------------------------------------- table: Name "": <table class="download-images-table" /> -------------------------------------------------- rowgroup: Name "": <thead /> Name "": <tbody /> -------------------------------------------------- row: Name "Release Title Architecture": <tr /> Name "16.04 LTS": <tr /> -------------------------------------------------- columnheader: Name "Release Title": <th /> Name "Architecture": <th /> -------------------------------------------------- cell: Name "16.04 LTS": <td /> Name "": <td /> -------------------------------------------------- combobox: Name "Select architectures": <button aria-controls=":r3:" aria-expanded="false" aria-label="Select architectures" class="multi-select__select-button" role="combobox" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="p-accordion" > <button aria-expanded="true" class="p-accordion__tab" role="tab" type="button" > <h2 class="p-heading--4" > Ubuntu </h2> </button> <section aria-hidden="false" class="p-accordion__panel" role="tabpanel" > <table class="download-images-table" > <thead> <tr> <th> Release Title </th> <th> Architecture </th> </tr> </thead> <tbody> <tr> <td> 16.04 LTS </td> <td> <span class="multi-select p-contextual-menu p-contextual-menu--left" > <button aria-controls=":r3:" aria-expanded="false" aria-label="Select architectures" class="multi-select__select-button" role="combobox" type="button" > <span class="multi-select__condensed-text" > Select architectures </span> </button> </span> </td> </tr> </tbody> </table> </section> </div> </div> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:109:15 ❯ src/app/images/components/ImagesForms/SelectUpstreamImagesForm/SelectUpstreamImagesSelect/SelectUpstreamImagesSelect.test.tsx:109:31
Test
Process completed with exit code 1.