regexowl
a0fe3644c3
src: Remove more data-testids
...
As using `data-testid`s in tests is an anti-pattern, this removes more of them and replaces them with appropriate locators in the tests.
2025-07-15 16:51:29 +00:00
Florian Schüller
ccfdb49db2
CreateImageWizard: Implement user-friendly error messages
...
Puts the error messages in one place - LabelInput.tsx
2025-07-15 13:47:37 +00:00
regexowl
b6e9fef70b
Wizard: Change WSL file extension
...
This updates WSL file extension from `.tar.gz` to `.wsl`
2025-07-14 14:02:03 +00:00
regexowl
3f1a80fbe2
Run actions with Node 22
...
The github actions were previously ran with Node 20, this bumps them to Node 22.
README was also updated to reflect currently used version of Node.
2025-07-03 14:45:48 +00:00
regexowl
caa678ebeb
Wizard: Replace VMware radios with checkboxes
...
This replaces previously used VMware radios with checkboxes, allowing the user to select both VMware vSphere targets at the same time.
2025-07-03 09:15:05 +00:00
regexowl
02cafcc29a
devDeps: Bump eslint-plugin-testing-library
...
This bumps eslint-plugin-testing-library from 7.2.2 to 7.5.3 and updates a test to pass linter check.
2025-07-01 10:41:45 +00:00
regexowl
969497e722
Wizard: Parse locale codes to readable options
...
This parses options in the Languages dropdown to human readable form like so:
'en_US.UTF-8' -> 'English - United States (en_US.UTF-8)'
2025-06-27 11:45:26 +02:00
regexowl
1ea1c2de8c
Wizard: Add packages, kernel and services to Oscap step
...
This adds the information about profile packages, kernel arguments and services to the profile info list.
2025-06-24 12:12:54 +00:00
regexowl
4b411c9a27
test: Update tests to reflect changes in chart visibility
2025-06-19 14:30:33 +00:00
Gianluca Zuccarelli
78bb1e118b
multiple: fix act errors in the tests
...
This also helps reduce noise in the test output.
2025-06-19 13:53:49 +00:00
Gianluca Zuccarelli
c2998306cf
multiple: fix selectable card onChange
...
The `onChange` event for the selectable cards needed to be placed
inside the `selectableActions` of the `CardHeader`. Since the
`onChange` action was not implemented we were getting warnings
in the test output for that a component was changing an uncontrolled
input to controlled.
2025-06-19 13:53:49 +00:00
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
Katarina Sieklova
76320925a0
Wizard: change order of the systemd services
2025-06-18 11:24:36 +00:00
Katarina Sieklova
564c5461d4
Wizard: edit tests related to Compliance step
2025-06-18 07:25:00 +00:00
regexowl
b465920b18
src: Remove image-builder.users.enabled flag
...
The Users customization is available in production now, the flag is no longer used.
2025-06-16 11:26:03 +00:00
Anna Vítová
6ec6f33fda
Wizard: fix datepicker reset glitch (MS-8610)
...
If the reset button is clicked, there is a glitch that shows error state
for a moment. This commit removes the glitch by setting the snapshot
date even for invalid values, and removes the workaround that was
previously added.
2025-06-09 12:20:23 +02:00
regexowl
e60e15c6d6
test: Update tests
2025-05-28 09:08:52 -05:00
regexowl
d98dd02fa3
test: Update tests
2025-05-28 09:08:52 -05:00
Anna Vítová
f76b5a991e
fix: add timeout for Satellite tests
2025-05-16 13:53:24 +02:00
Anna Vítová
2692b75432
Wizard: fix token not having expiration fails
2025-05-16 13:53:24 +02:00
Anna Vítová
2ee812efe0
Wizard: refactor Satellite validation
...
The Satellite token navigation was a bit too overengineered, refactoring
for better readability.
2025-05-14 17:07:04 +02:00
Anna Vítová
4192ada532
Wizard: add details for Satellite token expiration
...
This commit adds a more detailed information about when does the token
used in Satellite command expire.
2025-05-14 17:07:04 +02: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
Katarina Sieklova
cfa437a34b
Wizard: edit compliance according to updated mockups
...
Changes the compliance step based on most recent mockups
2025-05-06 10:06:52 +02: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
Sanne Raymaekers
87c754fb45
test: add tests for tailored customizations
2025-04-30 11:38:12 +02:00
regexowl
75288a5ef8
src: Remove unused unleash flags
...
This removes unused flags from the code base:
- image-builder.hostname.enabled
- image-builder.kernel.enabled
- image-builder.firewall.enabled
- image-builder.services.enabled
2025-04-29 14:14:21 +02:00
regexowl
42747a7eeb
src: Remove firstboot flag
...
Firstboot also seems to be released fully to both stage and prod. The flag is not needed anymore.
2025-04-28 16:00:44 +02:00
regexowl
318d67c3c4
Wizard: Update search input placeholders
...
The placeholders we tend to use are usually quite specific. "Type to search" felt quite vague for some reason. Also repositories had no placeholder, I believe "filter" is clearer than "search" here as we're not fetching any results, just filtering through the already existing list of repositories.
2025-04-25 13:13:31 +02:00
Bryttanie House
0238c04dfe
Wizard: add support for content templates
2025-04-25 10:31:43 +02:00
regexowl
1643b96330
Wizard: Set hasPassword in requestMapper
...
Add `hasPassword` setter to `getUsers` function.
2025-04-23 14:36:59 +02:00
regexowl
6b0af16471
src: Addressing comments
...
- addressed AI comments
- fix tab indexing
- added username to the title of Remove user modal
- ensured "Invalid password" is not in the errors object before a password is filled in
- removing a user with empty user, password and ssh key fields does not prompt "Remove user" modal
- check for duplicate username
- focus on new user tab
- remove redundant tabIndex
2025-04-18 16:45:59 -05:00
regexowl
8d74022ab1
test: Dancing around snyk
2025-04-18 16:45:59 -05:00
regexowl
5737c01dd0
test: Add new tests
2025-04-18 16:45:59 -05:00
regexowl
ca9d3035ee
test: Cleanup tests a bit
2025-04-18 16:45:59 -05:00
regexowl
5cc5dd1258
Wizard: Add support for multiple users
...
This adds support for multiple users in the Wizard. The users are rendered in tabs and can be both added and removed. When clicking on remove button, modal pops up to inform user that the changes cannot be undone.
Neither password nor SSH keys are further required, making it possible to create a user with just a username.
2025-04-18 16:45:59 -05:00
regexowl
f903d617c0
Wizard: Resolve failing tests
...
Some tests started failing, this should hopefully resolve them.
2025-04-17 12:45:00 -05:00
regexowl
70a97acc10
Wizard: Update periods at the end of lines
...
Removing/adding some periods for the sake of consistency.
I believe the description of the step should end with a period, helped texts and options should not (at least that's the prevailing pattern in the Wizard as of now).
2025-04-17 12:08:09 -05:00
Anna Vítová
d2c9b77957
Wizard: add tests for satellite registration
2025-04-11 10:18:46 +02:00
regexowl
0431ac98dc
Wizard: Switch from deprecated select in ActivationKeys
...
This replaces a deprecated select in `ActivationKeys` for a non-deprecated one.
2025-04-08 18:03:49 +02:00
Justin Sherrill
38458810a0
change repo snapshot step to repeatable builds
2025-04-03 10:17:37 +02:00
regexowl
3953c397dd
test: Update tests
2025-04-02 12:17:23 +02:00
regexowl
b767c3bfde
Wizard: Replace deprecated select in AwsSourcesSelect
...
This replaces a deprecated select in `AwsSourcesSelect` for a non-deprecated one.
2025-04-01 11:07:38 +02:00
regexowl
39a0a6f6a2
test: Add new tests to check user group functionality
...
This adds two tests:
- 'user groups can be added and removed'
- 'adding wheel group checks Administrator checkbox'
2025-03-31 19:46:52 -05:00
Gianluca Zuccarelli
9d883a8dfc
CreateImageWizard: enable OpenSCAP for on-prem
...
SSIA
2025-03-31 18:02:11 -05:00
Michal Gold
978237bf84
Wizard: Fix blueprint name update on Architecture/Distribution changes
...
This commit resolves an issue where the blueprint name did not update when the user changed the Architecture or Distribution.
Additionally, it sets an initial value for blueprintName in the WizardSlice.
2025-03-31 16:10:05 -05:00
regexowl
53625ed190
Wizard: Remove deprecated select for HyperV Generation
...
This swaps deprecated HyperV Generation select for a non deprecated one.
2025-03-31 14:22:31 -05:00
regexowl
c4dae746e7
Wizard: Replace deprecated Dropdown in BulkSelect
...
This updates deprecated Dropdown in `BulkSelect`.
2025-03-31 14:22:31 -05:00
regexowl
54983cddf9
Wizard: Swap release select
...
This replaces deprecated PF4 select with non-deprecated PF5 one.
2025-03-31 14:22:31 -05:00