regexowl
3167effa1b
Wizard: Add unleash flag and update tests
...
This gates the step behind an unleash flag and updates the existing tests so they pass with the new step added.
2025-01-14 14:11:22 -06:00
regexowl
d77ac55482
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.
2025-01-06 18:22:50 -06:00
regexowl
8e046e3018
Wizard: Kernel step basics
...
This adds foundation for Kernel step, including gating and basic tests.
2024-12-16 10:53:06 +01:00
regexowl
8c108fe2ec
Wizard: Basic Hostname step
...
This adds Hostname step basics and file structure.
2024-12-10 12:37:36 -06:00
regexowl
6e97304327
Wizard: Basic Locale step
...
This adds Locale step basics and file structure.
2024-12-04 12:45:35 -06:00
regexowl
b526ad3c60
Wizard: Basic Timezone step
...
This adds bare bones Timezone step with appropriate file structure and basic unit tests.
2024-11-19 13:01:34 -06:00
Michal Gold
176c64dd47
Wizard: Add Users step to the wizard (HMS-4902)
...
This commit adds a new step 'Users' that is enabled only in stage-preview,
and will enable it in stage-stable once IQE tests are ready.
The step is not functional yet, this is just the first step.
2024-11-08 00:26:26 +01:00
regexowl
b4ac543dfb
test: Re-enable tests that failed for Node 18
...
This re-enables and updates tests that were failing due to insufficient resources when tested with Node 18.
2024-10-07 14:14:18 +03:00
regexowl
edeee97577
test: Cleanup Custom repositories tests
...
This moves code blocks to helper functions where possible and cleans up the tests a bit.
2024-10-07 14:14:18 +03:00
regexowl
512d6f8859
test: Move Custom repositories tests to Repositories.test.tsx
...
This moves Custom repositories tests from `CreateImageWizard.content.test.tsx` to `Repositories.test.tsx`.
2024-10-07 14:14:18 +03:00
regexowl
3ae642b848
test: Add Review and finish button tests
...
This add tests to check whether the Review and finish button works properly, sending user to the Details step. And whether it's disabled when the state is invalid.
2024-09-04 01:21:28 +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
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
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
e891b0dc04
test: Add flag mocks
...
This mocks 'image-builder.snapshots.enabled' where needed.
2024-08-01 17:34:03 +02:00
regexowl
8ee2bad55e
test: Add flag mocks
...
This adds mocked 'image-builder.firstboot.enabled' where needed.
2024-08-01 17:16:36 +02:00
Sanne Raymaekers
eab407c09e
Wizard: Add tests for repositories and snapshot steps
...
Tests the bulk select and verifies disabled repositories.
2024-07-31 16:30:01 +02:00
regexowl
a9bf175403
test: Disable a test and update few others
...
Test `Repositories edit mode modal pops up when deselecting previously used repository` is temporarily disabled. Also there were some early exits, the awaiting should do the trick.
2024-07-29 19:20:14 +02:00
regexowl
cba54c54c6
test: Add retry to the flakiest tests
...
This adds three possible retries to three of the flakiest tests.
2024-07-25 19:22:05 +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
Ondrej Ezr
df993c7fc2
test: Add nodeFetch back
2024-07-18 17:26:38 +02:00
Ondrej Ezr
69b7c574ae
test: await click instead of element not in doc
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