V2Wizard: Add packages to the Review step

This adds packages counter and a table of packages in a popover to the Review step.

The name of the field was also updated to "Additional packages".
This commit is contained in:
regexowl 2024-02-21 16:00:15 +01:00 committed by Lucas Garfield
parent 4c80ab4ad7
commit 2c6c326677
3 changed files with 67 additions and 19 deletions

View file

@ -1059,7 +1059,8 @@ describe('Step Upload to AWS', () => {
await user.click(registrationExpandable);
await user.click(contentExpandable);
await screen.findByText('Additional Red Hatand 3rd party packages');
await within(contentExpandable).findByText('Custom repositories');
await within(contentExpandable).findByText('Additional packages');
// await user.click(fscExpandable);
// await screen.findByText('Configuration type');
});
@ -1078,8 +1079,10 @@ describe('Step Upload to AWS', () => {
).not.toBeInTheDocument();
await user.click(targetExpandable);
await screen.findByText('AWS');
await user.click(contentExpandable);
await screen.findByText('Additional Red Hatand 3rd party packages');
await within(contentExpandable).findByText('Custom repositories');
await within(contentExpandable).findByText('Additional packages');
});
});
// await user.click(fscExpandable);