Skip to content

on-prem: cockpit create image wizard (HMS-5301) #6189

on-prem: cockpit create image wizard (HMS-5301)

on-prem: cockpit create image wizard (HMS-5301) #6189

Triggered via pull request January 23, 2025 16:11
Status Failure
Total duration 8m 56s
Artifacts

dev-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
src/test/Components/CreateImageWizard/steps/ImageOutput/ImageOutput.test.tsx > Set release using query parameter > rhel 8 (query parameter provided): node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L1141
TestingLibraryElementError: Unable to find an element with the text: Red Hat Enterprise Linux (RHEL) 8. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. ❯ waitForWrapper node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1141:27 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1221:12 ❯ src/test/Components/CreateImageWizard/steps/ImageOutput/ImageOutput.test.tsx:518:18
src/test/Components/CreateImageWizard/steps/ImageOutput/ImageOutput.test.tsx > Set release using query parameter > rhel 10 beta (query parameter provided): node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L1141
TestingLibraryElementError: Unable to find an element with the text: Red Hat Enterprise Linux (RHEL) 10 Beta. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. ❯ waitForWrapper node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1141:27 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1221:12 ❯ src/test/Components/CreateImageWizard/steps/ImageOutput/ImageOutput.test.tsx:523:18
dev-check
Process completed with exit code 1.
dev-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
dev-check: src/Components/Blueprints/BlueprintActionsMenu.tsx#L66
Unnecessary conditional, the types have no overlap
dev-check: src/Components/Blueprints/BlueprintsPagination.tsx#L35
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/BlueprintsSideBar.tsx#L85
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/BlueprintsSideBar.tsx#L178
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
dev-check: src/Components/Blueprints/BuildImagesButton.tsx#L49
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/BuildImagesButton.tsx#L81
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/BuildImagesButton.tsx#L146
Unnecessary conditional, value is always falsy
dev-check: src/Components/Blueprints/DeleteBlueprintModal.tsx#L51
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/ImportBlueprintModal.tsx#L185
React Hook React.useEffect has missing dependencies: 'dispatch' and 'handleRepositoryImport'. Either include them or remove the dependency array
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L146
Unnecessary optional chain on a non-nullish value