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:
regexowl 2025-01-06 14:08:41 +01:00 committed by Lucas Garfield
parent 4af4b56332
commit d77ac55482
12 changed files with 64 additions and 46 deletions

View file

@ -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/,
});
});