test: Move util function to wizardTestUtils

This moves `selectCustomRepo` to `wizardTestUtils.tsx`

Since the function was originally imported into `Packages.test.tsx` from `CreateImageWizard.content.test.tsx` the entire content suite was re-run under Packages suite each time. This solves the issue.
This commit is contained in:
regexowl 2024-08-06 13:48:53 +02:00 committed by Michal Gold
parent e0b33fd6f5
commit 912b56f735
3 changed files with 19 additions and 13 deletions

View file

@ -12,7 +12,7 @@ import {
packagesCreateBlueprintRequest,
} from '../../../../fixtures/editMode';
import { clickNext } from '../../../../testUtils';
import { selectCustomRepo } from '../../CreateImageWizard.content.test';
import { selectCustomRepo } from '../../wizardTestUtils';
import {
blueprintRequest,
clickRegisterLater,