regexowl
a48fbb97b7
test: Add new tests
2024-08-14 15:26:08 +02:00
regexowl
1f40269c01
test: Cleanup tests
...
This cleans up the Registration test file after relevant tests were moved there from `CreateImageWizard.test.tsx`.
2024-08-14 15:26:08 +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
regexowl
2caddb66c7
Wizard: "Always blue" update to the Registration step
...
This updates the Registration step as per recent mocks.
There is now only one checkbox which switches between (register everything now / register later). When the checkbox is not checked "register later" option gets selected, activation key dropdown gets disabled and information about activation keys is hidden to support the fact that no activation key will be used.
When the checkbox is checked it either loads previously used activation key in the case of "on edit" scenario, looks for a recently used activation key in localStorage or in a case there are no activationKeys automatically creates and selects one.
The Next button gets disabled only when "register-now" is selected, but there is no activationKey selected. As the option to clear the dropdown got removed this should occur only when fetching/creating activation key.
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
dependabot[bot]
4795fd5ea1
build(deps): bump axios from 1.7.2 to 1.7.4
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 09:10:14 +02:00
dependabot[bot]
663023e9a6
build(deps): bump @redhat-cloud-services/frontend-components-utilities
...
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components ) from 4.0.15 to 4.0.16.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 08:06:50 +02:00
regexowl
e6a35eaf79
Wizard: Rename FileSystemPartitionMode to FileSystemConfigurationType
...
This renames `FileSystemPartitionMode` to `FileSystemConfigurationType` in preparation to expose raw/lvm partitioning in the UI.
2024-08-13 14:59:23 +03:00
dependabot[bot]
6e3681c5a5
build(deps-dev): bump @typescript-eslint/parser from 8.0.1 to 8.1.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 12:58:10 +02:00
dependabot[bot]
c8a2c96864
build(deps): bump @redhat-cloud-services/frontend-components-utilities
...
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components ) from 4.0.14 to 4.0.15.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 11:59:08 +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
bb181fe324
devDeps: bump vitest and @vitest/coverage-v8
...
This bumps:
- vitest from 2.0.4 to 2.0.5
- @vitest/coverage-v8 from 2.0.4 to 2.0.5
and removes reporter from the coverage setting, leaving only default output for now (console output equal to jest).
2024-08-13 09:31:35 +02:00
dependabot[bot]
f1d93b3cef
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 08:04:22 +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
a3abc29f51
Wizard: Add eslint-disable to useEffect
...
This disables `react-hooks/exhaustive-deps` rule for dependency arrays that should run only once on mount and therefore need to stay empty.
2024-08-12 13:09:58 +03:00
dependabot[bot]
03e0061fc6
build(deps-dev): bump eslint-plugin-testing-library from 6.2.2 to 6.3.0
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 6.2.2 to 6.3.0.
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases )
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json )
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v6.2.2...v6.3.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 11:12:27 +02:00
regexowl
b7ccc2cca0
testUtils: Merge renderCustomRoutesWithReduxRouter and renderWithReduxRouter
...
`renderCustomRoutesWithReduxRouter` and `renderWithReduxRouter`are functionally the same apart from routes they use to render components.
We could just use `renderCustomRoutesWithReduxRouter` and use the routes from `renderWithReduxRouter` as a default value for an optional parameter `routes`.
2024-08-12 09:46:10 +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
5d73adfbd6
src: Absolute imports
...
While running build there was a bunch of PatternFly imports that were resolved as undefined. This adds an absolute path for each of those imports.
2024-08-09 09:22:17 +02:00
regexowl
21d6027886
devDeps: Bump ts-patch from 3.2.0 to 3.2.1
...
This bumps ts-patch from 3.2.0 to 3.2.1
2024-08-09 09:22:17 +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
79d54eed7b
Wizard: Fix information rendered in package recommendations
...
When a package got selected and deselected again, landing on 0 for selected packages, the information shown in the package recommendations was "Select packages to generate recommendations.No recommendations found for the set of selected packages", this updates the logic to separate the messages.
2024-08-08 12:50:56 +02:00
Anna Vítová
a799d70a85
blueprint: Add preview label to import button
2024-08-08 12:56:27 +03:00
regexowl
90a37db2f5
vitest: Disable fileParallelism
...
This re-disables `fileParallelism` again as it's still proving too flaky.
2024-08-08 10:18:36 +02:00
dependabot[bot]
280b669bc7
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 6.2.0 to 6.2.2.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 08:33:15 +02:00
dependabot[bot]
c39bde963a
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 6.1.3 to 6.2.0.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 08:22:12 +02:00
regexowl
5e75c46b60
devDeps: Manual bump msw from 2.3.2 to 2.3.5
...
This bumps msw from 2.3.2 to 2.3.5.
2024-08-06 17:01:15 +03: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
Ondrej Ezr
e0b33fd6f5
Bluperint: Allow selecting targets from diff modal
2024-08-06 11:16:34 +02:00
dependabot[bot]
23d28a8a82
build(deps-dev): bump @typescript-eslint/parser from 8.0.0 to 8.0.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-06 10:14:54 +02:00
dependabot[bot]
ee2ef3ad6f
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-06 08:36:42 +02:00
Ondrej Ezr
e1057208f3
Blueprint: show basic version diff
2024-08-05 18:48:08 +02:00
regexowl
933e65d590
Wizard: Update docs after move to new preview
...
`/preview` is no longer used in url.
2024-08-05 13:54:13 +02:00
regexowl
37dfe8584c
test: Fix async logic in Oscap flakes
...
`remove profile` and `change profile` test in `Oscap.test.tsx` suite were flaking for Node 18.x, this should fix the issue.
2024-08-05 12:52:06 +02:00
regexowl
68b7444b2f
vitest: Enable fileParallelism
...
This allows paralel file testing, speeding up the tests.
2024-08-05 12:52:06 +02:00
regexowl
9707278d01
src: Disable some linting errors
...
This disables linting errors that would require more changes.
2024-08-05 11:51:20 +02:00
regexowl
44dc900370
src: Fix new errors after linter bump
...
This addresses problems caused by dependency updates.
2024-08-05 11:51:20 +02:00
regexowl
21d038f47b
devDeps: Manual bump @typescript-eslint/eslint-plugin and parser
...
This bumps:
- @typescript-eslint/eslint-plugin from 7.18.0 to 8.0.0
- @typescript-eslint/parser from 7.18.0 to 8.0.0
2024-08-05 11:51:20 +02:00
Michal Gold
4b85ad064a
createImageWizrad: add scroll to the creation image
...
this commit change the resoluiton of wizard__outer-wrap to solve
the problem that user should scroll to see the next, backl and cancel buttons
2024-08-05 09:07:48 +02:00
regexowl
9a1d348a77
src: Resolve problems ater updating API
...
'centos-8' was dropped from Distributions, causing a few problems. This resolves them.
2024-08-02 11:31:20 +02:00
regexowl
434c90a6b8
api: Update image-builder API
...
This updates image-builder API by running `npm run api`.
2024-08-02 11:31:20 +02:00
dependabot[bot]
e993027f92
build(deps): bump react-router-dom from 6.25.1 to 6.26.0
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.25.1 to 6.26.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 10:26:35 +02:00
regexowl
8a5dea7abf
Wizard: Fix On Edit startIndex
...
With Snapshotting being only hidden startIndex needs to be updated.
2024-08-01 18:05:01 +02:00
regexowl
2febf98e93
test: Update tests
...
Add mocking to tests where needed.
2024-08-01 18:05:01 +02:00
regexowl
d88cd216a5
Wizard: Add isHidden to snapshotting step
...
Replace conditional rendering with `isHidden` for snapshotting step.
2024-08-01 18:05:01 +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
3174dbd706
Wizard: Gate snapshots behind an unleash flag
...
This gates snapshots behind a 'image-builder.snapshots.enabled' unleash flag instead of `isBeta()`.
2024-08-01 17:34:03 +02:00
regexowl
fc88b09ce6
test: Update tests
...
This updates tests after gating WSL behind 'image-builder.wsl.enabled'.
2024-08-01 17:24:42 +02:00
regexowl
703a65049f
Wizard: Migrate WSL from isBeta() to unleash flag
...
This gates WSL target behind an 'image-builder.wsl.enabled' unleash flag instead of `isBeta()`.
2024-08-01 17:24:42 +02:00