Wizard: Update the File system step

Fixes #911. Fixes #912.

This updates the File system step. The changes are:
- changed the toggle group for selecting the mode of partitioning to radio select and updated information for each radio button as mentioned in #911
- added information to the "automatic" option of the file system configuration as mentioned in #912
- updated information for the "manual" option of the configuration as mentioned in mocks
This commit is contained in:
regexowl 2023-01-12 13:51:55 +01:00 committed by Klara Simickova
parent a3a7d9a441
commit cbd6b1e4cb
8 changed files with 110 additions and 80 deletions

View file

@ -548,7 +548,7 @@ describe('Step Registration', () => {
getNextButton().click();
screen.getByTestId('fsc-paritioning-toggle');
screen.getByRole('heading', { name: /file system configuration/i });
});
test('clicking Back loads Upload to AWS', async () => {
@ -756,7 +756,7 @@ describe('Step Packages', () => {
const back = screen.getByRole('button', { name: /Back/ });
back.click();
screen.getByTestId('fsc-paritioning-toggle');
screen.getByRole('heading', { name: /file system configuration/i });
});
test('clicking Cancel loads landing page', async () => {
@ -1428,10 +1428,10 @@ describe('Click through all steps', () => {
getNextButton().click();
// fsc
const toggle = await screen.findByTestId(
'file-system-config-toggle-manual'
);
within(toggle).getByRole('button').click();
screen.getByRole('heading', {
name: /file system configuration/i,
});
screen.getByTestId('file-system-config-radio-manual').click();
const ap = await screen.findByTestId('file-system-add-partition');
ap.click();
ap.click();