regexowl
1d3967a585
test: Add test fixtures and update tests where needed
...
Mock fixtures for RHEL 10 were missing, meaning the tests were unable to fetch mocked data and failed.
2025-06-19 13:13:08 +00:00
regexowl
9ac104ca3e
test: Update tests to reflect sorting changes
...
This updates the tests to reflect sorting changes.
2025-05-06 18:35:06 -05:00
regexowl
9d8d6d1d99
test: Update tests
2025-05-06 08:58:07 -05:00
regexowl
2fcfceafeb
test: Add new tests for modularity
...
This adds some create mode tests for modularity, two "generated request" tests and updates edit test.
2025-04-30 17:01:36 +02:00
regexowl
f903d617c0
Wizard: Resolve failing tests
...
Some tests started failing, this should hopefully resolve them.
2025-04-17 12:45:00 -05:00
Justin Sherrill
38458810a0
change repo snapshot step to repeatable builds
2025-04-03 10:17:37 +02:00
regexowl
fbc0ea13e6
Wizard: Sort only selected on the frontend side
...
This removes sorting on the frontend side where it's already handled by the content sources API.
Since we manipulate selected packages by joining the, with `currentlyRemovedPackages` list, the sorting is added there to keep the packages from jumping around when unselected.
2025-03-13 16:18:41 +01:00
regexowl
ff80aea171
Wizard: Remove "Too many results" state
...
This removes the "Too many results" state that was rendered when a search term returned more than 100 results.
2025-03-13 16:18:41 +01:00
Dominik Vagner
048baffc3f
Wizard: add support of upload custom repositories
2025-03-13 08:57:56 +01:00
Adam Kankovsky
526037ea08
test: Add test for unselecting selected package
...
Adding a test to verify that the last package removed from selected remains in the table until switching to another screen.
2025-03-06 14:47:31 +01:00
dependabot[bot]
35bb95438b
Wizard: Switch view to "Available" when searching for package
...
this fix an issue when user search for a package, the viewv stay "Selected"
instead of switching to "Available
fix one test
2025-02-24 12:00:31 +01:00
regexowl
0f86336af6
Wizard: Services step basics
...
This adds basic structure of the Services step.
2025-01-23 09:56:24 +01:00
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
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
2bb82b70c1
test: Cleanup Packages tests
...
This cleans up Packages test file after relevant tests were moved there from `CreateImageWizard.content.test.tsx`.
2024-09-02 12:41:51 +02:00
Michal Gold
2168bc31d8
test: move packages test to Packages.test.tsx file
...
this commit move relevant packages test to packages.test.tsx
2024-08-19 11:30:02 +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
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
912b56f735
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.
2024-08-06 15:46:51 +03: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
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
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