V2Wizard/test: Fix bug on registration step and enable tests

This fixes a bug on the registration step which made the text "Connect to Red Hat Insights" not to get rendered when registering with rhc.

All registration tests were also enabled in CreateImageWizard.test.tsx
This commit is contained in:
regexowl 2024-02-29 13:53:54 +01:00 committed by Lucas Garfield
parent e2ae2356a1
commit 2bed43645d
2 changed files with 59 additions and 55 deletions

View file

@ -459,13 +459,13 @@ export const RegisterNowList = () => {
<br />
</TextListItem>
)}
{registrationType === 'register-now-insights' ||
(registrationType === 'register-now-rhc' && (
<TextListItem>
Connect to Red Hat Insights
<br />
</TextListItem>
))}
{(registrationType === 'register-now-insights' ||
registrationType === 'register-now-rhc') && (
<TextListItem>
Connect to Red Hat Insights
<br />
</TextListItem>
)}
{registrationType === 'register-now-rhc' && (
<TextListItem>
Use remote host configuration (rhc) utility