Wizard: Update Review step

Fixes #774. This matches the Review step with the updated mocks as per SPUR.

The changes are following:
1. Target environment tab:
	- value of AWS `Account ID` aligned with GCP and Azure values
2. Registration tab:
	- `Subscription` changed to `Registration type`
	- `Organization ID` removed, will be added in a different place so it's clearer it's associated with an activation key
3. System configuration:
	- updated column name `Type` to `File system type` in partitions popover
	- updated the width of the column to accommodate the change
	- unified line spacing of `Image size` with the other rows
	- changes `Packages` to `Additional packages`
This commit is contained in:
regexowl 2022-11-02 11:14:47 +01:00 committed by Sanne Raymaekers
parent 9c4c24746f
commit 6d789da727
3 changed files with 18 additions and 32 deletions

View file

@ -1326,7 +1326,7 @@ describe('Step Review', () => {
screen.getByText('Register the system later');
userEvent.click(buttonSystem);
screen.getByRole('heading', {
name: 'Packages',
name: 'Additional packages',
});
screen.getByRole('heading', {
name: 'File system configuration',
@ -1346,7 +1346,7 @@ describe('Step Review', () => {
});
userEvent.click(buttonSystem);
screen.getByRole('heading', {
name: 'Packages',
name: 'Additional packages',
});
screen.getByRole('heading', {
name: 'File system configuration',
@ -1543,10 +1543,6 @@ describe('Click through all steps', () => {
);
expect(within(revtbody).getAllByRole('row')).toHaveLength(3);
await waitFor(() => {
const id = screen.getByTestId('organization-id');
within(id).getByText(5);
});
// mock the backend API
let ids = [];
const composeImage = jest