Commit graph

3504 commits

Author SHA1 Message Date
regexowl
bb345c0e4f ESLint: All the single quotes 2025-08-05 13:56:59 +00:00
regexowl
eafcd200ae ESLint: Set trailingComma to all and run lint fix 2025-08-05 13:56:59 +00:00
regexowl
e9025e460c src: Run lint autofix 2025-08-05 13:56:59 +00:00
regexowl
4c098db796 Move prettier config to ESLint config
ESLint was not enforcing prettier rules defined in `.prettierrc`, this plugs prettier in and moves the rules to ESLint config so all lint settings are in one place.
2025-08-05 13:56:59 +00:00
regexowl
2bea0bd50b Wizard: Update kernel argument validation regex
There are special characters missing from the validation regex.
2025-08-05 12:52:39 +00:00
regexowl
894d2a4d76 Wizard: Fix registration validation for Satellite on edit
When editing a blueprint with Satellite registration the "Save changes" button was disabled due to registration validation failing with "No activation key selected". Activation key is not required for Satellite.
2025-08-05 12:50:14 +00:00
dependabot[bot]
68b2f74a97 build(deps): bump @redhat-cloud-services/frontend-components-notifications
Bumps [@redhat-cloud-services/frontend-components-notifications](https://github.com/RedHatInsights/frontend-components) from 6.1.1 to 6.1.3.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-notifications-6.1.1...@redhat-cloud-services/frontend-components-notifications-6.1.3)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-notifications"
  dependency-version: 6.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 11:57:50 +00:00
dependabot[bot]
35c9f32cf8 build(deps-dev): bump @eslint/js from 9.31.0 to 9.32.0
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.31.0 to 9.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.32.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 11:35:15 +00:00
red-hat-konflux[bot]
7269b0c7db chore(deps): update build-tools digest to b496d0a
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-08-05 06:40:36 +00:00
Michal Gold
88dd0880c8 Wizard: Add tooltip explaining password visibility in edit mode
When editing a blueprint, password fields show an eye icon that appears
clickable but is actually disabled for security reasons (passwords cannot
be retrieved from the backend). This creates confusing UX where users
expect the icon to work but it doesn't respond.

This change adds a tooltip that appears when hovering over the disabled
eye button, explaining that "Passwords cannot be viewed when editing a
blueprint for security reasons."

The fix wraps the disabled button in a span element to ensure the tooltip
triggers properly, as disabled buttons don't receive mouse events.

Also adds unit test to verify the tooltip functionality

Fixes #3303

🤖 Generated with AI
2025-08-04 14:06:13 +00:00
dependabot[bot]
4f250ee637 build(deps-dev): bump stylelint from 16.22.0 to 16.23.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.22.0 to 16.23.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.22.0...16.23.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.23.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 07:07:40 +00:00
Michal Gold
acc79e149c Wizard: Add FIPS state management infrastructure
- Add fips field to wizardState type with enabled boolean property
- Add fips configuration to initialState with default value false
- Add selectFips selector to access FIPS state from store
- Add changeFips reducer action to update FIPS enabled state

This provides the Redux state management foundation for FIPS mode
configuration. UI components and wizard steps will be added separately.
2025-08-04 07:04:46 +00:00
dependabot[bot]
3b8b2ad240 build(deps-dev): bump @currents/playwright from 1.15.2 to 1.15.3
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.15.2 to 1.15.3.
- [Changelog](https://github.com/currents-dev/currents-playwright-changelog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/currents-dev/currents-playwright-changelog/commits)

---
updated-dependencies:
- dependency-name: "@currents/playwright"
  dependency-version: 1.15.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 07:04:28 +00:00
dependabot[bot]
9f526faa65 build(deps-dev): bump eslint-plugin-playwright from 2.2.1 to 2.2.2
Bumps [eslint-plugin-playwright](https://github.com/playwright-community/eslint-plugin-playwright) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/playwright-community/eslint-plugin-playwright/releases)
- [Changelog](https://github.com/playwright-community/eslint-plugin-playwright/blob/main/CHANGELOG.md)
- [Commits](https://github.com/playwright-community/eslint-plugin-playwright/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-playwright
  dependency-version: 2.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 07:03:25 +00:00
Klara Simickova
0acedb913c Revert "playwright: Add duration to test account creation request"
This reverts commit 1096c6d4fb.
2025-08-03 09:53:02 +00:00
regexowl
327e1cd48f src: Fix useChrome import, update mock, solve some lint warnings
This fixes the way we're importing `useChrome` in some places. The mock was also updated to reflect the changes. This resolves several lint warnings.
2025-08-01 10:03:39 +00:00
Ondřej Budai
1bfc830147 remove as much edge mgmt code as possible
We no longer include the edge mgmt federated module so let's remove
all remaining traces of the integration.
2025-08-01 09:00:02 +00:00
regexowl
fdaf5129c8 playwright: Update required Oscap packages
Follow up to https://github.com/osbuild/image-builder-crc/pull/1659.

This updates test to check required Oscap packages to match updated set.
2025-08-01 08:41:26 +00:00
regexowl
64e5744d8c Wizard: Remove RHEL betas from release options
This removes RHEL betas from release menu and cleans up the code in several places.
2025-07-31 13:40:21 +00:00
Katarina Sieklova
90c2c65ebe Wizard: disable adding empty user tabs
When creating an empty user, the "+" sign gets hidden, and only pops back up if at least user name, psswd, or ssh key is filed out.

Fixes #3114
2025-07-31 11:09:40 +00:00
dependabot[bot]
9943f54cd9 build(deps-dev): bump eslint-plugin-testing-library from 7.6.0 to 7.6.3
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) from 7.6.0 to 7.6.3.
- [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/v7.6.0...v7.6.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
  dependency-version: 7.6.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 10:19:31 +00:00
dependabot[bot]
d94834e25f build(deps-dev): bump eslint from 9.30.1 to 9.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.30.1 to 9.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.30.1...v9.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 10:18:50 +00:00
dependabot[bot]
9efdd82771 build(deps): bump @sentry/webpack-plugin from 4.0.1 to 4.0.2
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/4.0.1...4.0.2)

---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 10:18:43 +00:00
regexowl
1096c6d4fb playwright: Add duration to test account creation request
There were some changes in Ethel recently, duration currently seems to be a required field. Ethel team works on a fix.

Default value for duration is 1 year so I've set it to that.
2025-07-31 09:36:11 +00:00
regexowl
d5321bb078 Wizard: Remove alert from OpenSCAP step
Information about required packages, services and kernel arguments is back on the step. Meaning we can remove the alert as per UX recommendation.
2025-07-30 08:14:12 +00:00
dependabot[bot]
8cf161d4e5 build(deps-dev): bump @testing-library/jest-dom from 6.6.3 to 6.6.4
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.6.3 to 6.6.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.6.3...v6.6.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-version: 6.6.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 07:01:25 +00:00
dependabot[bot]
98b890206b build(deps): bump @redhat-cloud-services/frontend-components-utilities
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-utilities-6.1.0...@redhat-cloud-services/frontend-components-utilities-6.1.1)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 06:29:25 +00:00
dependabot[bot]
8d656b766c build(deps-dev): bump @testing-library/dom from 10.4.0 to 10.4.1
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.4.0 to 10.4.1.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.4.0...v10.4.1)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-version: 10.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-30 06:29:13 +00:00
Anna Vítová
ceec85209c Playwright: OSCAP basic test not altering things added by OSCAP 2025-07-29 15:46:56 +00:00
Anna Vítová
cfa8cbcb28 Compliance: refactor handleKernelAppend duplicate 2025-07-29 15:46:56 +00:00
Anna Vítová
96da1817df Compliance: refactor handlePartitions duplicate 2025-07-29 15:46:56 +00:00
Anna Vítová
9da490ad52 Compliance: refactor handleServices duplicate 2025-07-29 15:46:56 +00:00
Anna Vítová
128abcb98f Compliance: refactor handlePackages duplicate 2025-07-29 15:46:56 +00:00
Anna Vítová
c026102dd3 Compliance: refactor clearPackage duplicate 2025-07-29 15:46:56 +00:00
regexowl
d5877b256c test: Add test for failing fetching of target environments
This adds a test to check that the appropriate alert gets rendered.
2025-07-29 14:53:43 +00:00
regexowl
730554dc84 Wizard: Add fetch and error state or target environments
This renders an empty state with a spinner when fetching target environments and alert when there's an issue.
2025-07-29 14:53:43 +00:00
red-hat-konflux[bot]
09febf8061 chore(deps): update build-tools digest to 37ab5d0
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-07-29 10:09:19 +00:00
dependabot[bot]
8524e8e374 build(deps): bump @patternfly/react-core from 6.1.0 to 6.3.0
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react) from 6.1.0 to 6.3.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@6.1.0...@patternfly/react-core@6.3.0)

---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 10:07:27 +00:00
dependabot[bot]
a8f21a7a90 build(deps): bump @unleash/proxy-client-react from 5.0.0 to 5.0.1
Bumps [@unleash/proxy-client-react](https://github.com/Unleash/unleash-proxy-react) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/Unleash/unleash-proxy-react/releases)
- [Changelog](https://github.com/Unleash/proxy-client-react/blob/main/Changelog.md)
- [Commits](https://github.com/Unleash/unleash-proxy-react/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: "@unleash/proxy-client-react"
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:31:27 +00:00
dependabot[bot]
e52b43bdb7 build(deps): bump @redhat-cloud-services/frontend-components-notifications
Bumps [@redhat-cloud-services/frontend-components-notifications](https://github.com/RedHatInsights/frontend-components) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-notifications-6.1.0...@redhat-cloud-services/frontend-components-notifications-6.1.1)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-notifications"
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 08:38:48 +00:00
regexowl
2c3efe4c04 Wizard: Resolve FSC lint warnings
This resolves lint warnings for File System Configuration step.
2025-07-29 08:16:27 +00:00
regexowl
ad5ea22da8 Update API
This adds changes from `npm api`.
2025-07-29 07:58:00 +00:00
regexowl
9f3ad99037 test: Remove delay for .upload user method
This sets delay to null for `uploadFile` helper, meaning there's no delay for the `.upload` user method now.
2025-07-28 10:59:46 +00:00
dependabot[bot]
f4e872548c build(deps): bump @sentry/webpack-plugin from 4.0.0 to 4.0.1
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/4.0.0...4.0.1)

---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 09:49:39 +00:00
dependabot[bot]
5b7b8daa4d build(deps): bump @redhat-cloud-services/frontend-components
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-6.1.0...@redhat-cloud-services/frontend-components-6.1.1)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components"
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 08:59:20 +00:00
regexowl
67a0f86dde ESLint: Set no-unused-vars rule to error
This rule should output error instead of just a warning.
2025-07-28 08:55:24 +00:00
dependabot[bot]
4d051eecde build(deps-dev): bump eslint-plugin-playwright from 2.2.0 to 2.2.1
Bumps [eslint-plugin-playwright](https://github.com/playwright-community/eslint-plugin-playwright) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/playwright-community/eslint-plugin-playwright/releases)
- [Changelog](https://github.com/playwright-community/eslint-plugin-playwright/blob/main/CHANGELOG.md)
- [Commits](https://github.com/playwright-community/eslint-plugin-playwright/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-playwright
  dependency-version: 2.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 07:44:53 +00:00
Gianluca Zuccarelli
661fd29a5e playwright: add timeout for cockpit tests
Playwright at times is making assertions before the osbuild-worker file is loaded.
This is causing some flakiness in the tests, adding a timeout before some of the
assertions should hopefully remove some of the flakiness.
2025-07-25 09:47:56 +00:00
dependabot[bot]
6bf800d4d9 build(deps-dev): bump @patternfly/react-icons from 6.1.0 to 6.3.0
Bumps [@patternfly/react-icons](https://github.com/patternfly/patternfly-react) from 6.1.0 to 6.3.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@6.1.0...@patternfly/react-icons@6.3.0)

---
updated-dependencies:
- dependency-name: "@patternfly/react-icons"
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 08:42:30 +00:00
dependabot[bot]
825e3beac1 build(deps-dev): bump @types/node from 24.0.13 to 24.1.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.13 to 24.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 06:28:31 +00:00