Commit graph

18 commits

Author SHA1 Message Date
regexowl
fe3257c0d9 Wizard: Replace deprecated selects on Azure step
This replaces deprecated selects on the Azure step for non-deprecated ones.
2025-03-19 11:39:23 +01:00
Sanne Raymaekers
9def3f61cb CreateImageWizard: enable locale step in cockpit 2025-02-07 09:30:03 +01:00
Sanne Raymaekers
d10620cc56 test/CreateImageWizard: add basic render for cockpit tests 2025-02-07 09:30:03 +01:00
regexowl
8722d79fdf test: Move and re-enabled Details test
There was a disabled Details test in CreateImageWizard.test.tsx, this moves the test to Details.test.tsx, updates it and enables it again.

The re-enabled tests are checking maximum length of image name and description.
2024-10-14 13:50:36 +03:00
regexowl
42aed9a2b2 test: Clean up Create Image Wizard test a bit
This cleans up the Create Image Wizard test a bit to make it easier to read through the code blocks.
2024-10-10 08:47:49 +02:00
regexowl
4e23c476e8 Wizard/test: Implement keydown for target tiles
This implements onKeyDown functionality for the Public cloud tiles, allowing selecting them with a Space key.

Corresponding test was also re-enabled.
2024-10-10 08:47:49 +02:00
regexowl
558bb50c34 test: Add revisit step button checks
This adds tests to check that the revisit buttons on the Review step are working correctly.

Also some minor cleanup, namely making case used in the names of describe and test more consistent and moving render functions outside of functions selecting targets to make the structure easier to go through.
2024-09-04 01:21:28 +02:00
Michal Gold
f1bce4b3ba test: move Review tests to specific folder
this commit moves Review tests to specific folder
2024-09-02 15:59:33 +02:00
regexowl
0dea61bf00 test: Update tests
This updates the tests to reflect changes made to the new registration step.
2024-08-14 15:26:08 +02:00
Michal Gold
c4bbd413b3 test: move relevant test from createImageWizard to targetEnvironment test file
this commit move relvant test from creatreImageWizrad to targetEnvironment test file
2024-08-14 11:10:38 +02:00
Michal Gold
8ffa797df4 FileSystemTest: move relevant tests from createImageWizard to fileSystem
this commit move relevant tests from createImageWizard to fileSystem test
2024-08-13 10:35:42 +02:00
regexowl
d0412db518 test: Move clicking helper functions to wizardTestUtils
As clicking helper functions are used only in the context of Wizard, this moves them to an appropriate place.
2024-08-12 17:46:38 +02:00
Michal Gold
3c44d9414a createImage: add default name in details step <HMS-4494>
this commit add default name for blueprint name field to be able
to create an image without filling any name
format name: "$OS $ARCH $TARGETS $DATE".
2024-08-12 08:43:26 +02:00
Michal Gold
346c5752b6 RegistrationTest: move relevant tests from createImageWizard to Registration test 2024-08-09 10:18:57 +02:00
regexowl
1554d78cba test: Move mocks to setup file
This moves all the mocks used throughout our test files into the test setup file.
2024-08-08 16:53:49 +02:00
regexowl
eb2cfe9a2f test: Move @testing-library/jest-dom import to test setup file
This removes `@testing-library/jest-dom` from single test files and adds it to the shared setup.ts file.
2024-07-22 15:49:18 +02:00
regexowl
797ceddcd1 test: Update handlers in test files
This updates handlers used directly in the test files to match current API.
2024-07-18 17:26:38 +02:00
regexowl
4fb37c187e src: Rename "V2" folders to just Wizard
This replaces all occurences of "CreateImageWizardV2" with just "CreateImageWizard" as it is the only version now.
2024-07-17 11:17:06 +02:00
Renamed from src/test/Components/CreateImageWizardV2/CreateImageWizard.test.tsx (Browse further)