V2Wizard: Change search parameter from qcow to qcow2
`target=qcow2` is in better alignment with the UI than `target=qcow`
This commit is contained in:
parent
a7cc88af44
commit
5dcc3abbd8
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ const CreateImageWizard = ({ startStepIndex = 1 }: CreateImageWizardProps) => {
|
|||
dispatch(changeArchitecture(AARCH64));
|
||||
searchParams.get('target') === 'iso' &&
|
||||
dispatch(addImageType('image-installer'));
|
||||
searchParams.get('target') === 'qcow' &&
|
||||
searchParams.get('target') === 'qcow2' &&
|
||||
dispatch(addImageType('guest-image'));
|
||||
// This useEffect hook should run *only* on mount and therefore has an empty
|
||||
// dependency array. eslint's exhaustive-deps rule does not support this use.
|
||||
|
|
|
|||
|
|
@ -338,7 +338,7 @@ describe('set target using query parameter', () => {
|
|||
});
|
||||
|
||||
test('guest-installer (query parameter provided)', async () => {
|
||||
await render({ target: 'qcow' });
|
||||
await render({ target: 'qcow2' });
|
||||
await clickToReview();
|
||||
const targetExpandable = await screen.findByRole('button', {
|
||||
name: /Target environments/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue