Wizard: Skip directly to Review
When clicking "Review and finish" the user skips directly to the Review step and the name of the blueprint gets automatically populated.
This commit is contained in:
parent
4af4b56332
commit
d77ac55482
12 changed files with 64 additions and 46 deletions
|
|
@ -140,13 +140,13 @@ describe('Step File system configuration', () => {
|
|||
|
||||
const user = userEvent.setup();
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await selectGuestImage();
|
||||
await goToFileSystemConfigurationStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/i,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -123,12 +123,12 @@ describe('First Boot step', () => {
|
|||
await screen.findByText('First boot configuration');
|
||||
});
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await goToFirstBootStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/i,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -216,13 +216,13 @@ describe('Step OpenSCAP', () => {
|
|||
});
|
||||
});
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await selectGuestImageTarget();
|
||||
await goToOscapStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/i,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -202,12 +202,12 @@ describe('Step Packages', () => {
|
|||
await verifyCancelButton(router);
|
||||
});
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await goToPackagesStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/i,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -144,12 +144,12 @@ describe('Step Registration', () => {
|
|||
await verifyCancelButton(router);
|
||||
});
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await goToRegistrationStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/i,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -224,12 +224,12 @@ describe('Step Custom repositories', () => {
|
|||
await waitFor(() => expect(firstRepoCheckbox.checked).toEqual(false));
|
||||
});
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await goToRepositoriesStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -109,12 +109,12 @@ describe('repository snapshot tab - ', () => {
|
|||
vi.clearAllMocks();
|
||||
});
|
||||
|
||||
test('clicking Review and finish leads to Details', async () => {
|
||||
test('clicking Review and finish leads to Review', async () => {
|
||||
await renderCreateMode();
|
||||
await goToSnapshotStep();
|
||||
await clickReviewAndFinish();
|
||||
await screen.findByRole('heading', {
|
||||
name: 'Details',
|
||||
name: /Review/i,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue