Tom Koscielniak
781267f16c
tests: Streamline hosted Playwright local setup
...
Streamline the process of setting up Playwright for local development of hosted service tests using dotenv. Add short guide to README as well.
2025-03-27 11:42:05 +01:00
dependabot[bot]
8136e0fb5b
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.26.0 to 8.28.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.28.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>
2025-03-27 09:12:20 +01:00
Michal Gold
02a3673fcc
remove unused component
2025-03-26 10:24:42 -05:00
Michal Gold
d448db9a04
Wizard: Refactor Minimum Size input in File system step to use new component
...
This commit refactors the Minimun size field by replacing HookValidatedInput with the new ValidatedInputAndTextArea component.
It fixes a bug where the error icon remained visible after the user cleared the value in the field.
2025-03-26 10:24:42 -05:00
Katarina Sieklova
17f975e0ef
Wizard: race condition with activation key
...
Fixes #2961
Activation key loads in background even if a user skips to the review step.
The unwrap is there to extract only the actual response data, if the query fails, the exception will be caught in the catch block anyways, so there was no need to keep the whole action object.
And the refetch was being called before the createActivationKey query was initiallized, throwing an error and not letting the async query in try block to finish fetching the activation key.
2025-03-25 11:15:03 +01:00
dependabot[bot]
756e7427d6
build(deps-dev): bump @typescript-eslint/parser from 8.26.1 to 8.28.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.26.1 to 8.28.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.28.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>
2025-03-25 09:19:13 +01:00
dependabot[bot]
859037345f
build(deps-dev): bump eslint-plugin-react-hooks from 5.1.0 to 5.2.0
...
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks )
---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 07:56:43 +01:00
Michal Gold
399126909c
Wizard: Show "Strong" label only for Azure when password meets criteria
...
Currently, we only want to display the "Strong" label when the password meets the required strength conditions and only if it is Azure target.
This change ensures that the label remains hidden for non-Azure cases.
Let’s just disable it for now until we can decide on further adjustments.
2025-03-21 15:51:32 +01:00
regexowl
3740c53375
Wizard: Compliance URL via suffix
...
This switches from a full path to a partial one, making the compliance url work properly in local dev environment.
2025-03-21 15:53:24 +02:00
regexowl
cd5daade6b
playwright: Add togglePreview helper function
...
This adds a helper function that switches into preview.
Heavily inspired by and all credit due to `content-sources-playwright`.
2025-03-21 14:09:16 +01:00
dependabot[bot]
01efb93ff6
build(deps): bump @scalprum/react-core from 0.9.3 to 0.9.4
...
Bumps [@scalprum/react-core](https://github.com/scalprum/scaffloding ) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/scalprum/scaffloding/releases )
- [Changelog](https://github.com/scalprum/scaffolding/blob/main/release.config.js )
- [Commits](https://github.com/scalprum/scaffloding/compare/@scalprum/react-core-0.9.3...@scalprum/react-core-0.9.4 )
---
updated-dependencies:
- dependency-name: "@scalprum/react-core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 09:45:51 +01:00
dependabot[bot]
eb146a61d5
build(deps-dev): bump @currents/playwright from 1.9.4 to 1.11.4
...
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog ) from 1.9.4 to 1.11.4.
- [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-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 09:09:29 +01:00
Michal Gold
265ba2ac78
Wizard: Add password validation in User step
...
This commit adds password validation to the User step:
- Moved password validation logic to a separate `checkPasswordValidity` function, returning detailed results (strength and validation state).
- Simplified validation in `PasswordValidatedInput` by using `checkPasswordValidity` results directly.
- Added dynamic password strength indicator showing success or error based on requirements.
- Integrated environment-specific validation messages (e.g., for Azure).
- Improved code separation between presentation and validation for better maintainability.
- Unit tests: Adds tests for invalid passwords, covering both default and Azure cases.
2025-03-20 13:28:46 +01:00
dependabot[bot]
ef9510327d
build(deps-dev): bump @types/node from 22.13.4 to 22.13.10
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.13.4 to 22.13.10.
- [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-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-20 09:13:56 +01:00
dependabot[bot]
fec5fd6231
build(deps): bump @sentry/webpack-plugin from 3.2.1 to 3.2.2
...
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins ) from 3.2.1 to 3.2.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/3.2.1...3.2.2 )
---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-20 08:36:20 +01:00
Sanne Raymaekers
94206fcac3
playwright: only add currents reporter if requisite env is set
2025-03-19 15:45:14 +01:00
Sanne Raymaekers
5e7a9a3b7b
schutzbot: pass along currents variables
2025-03-19 15:45:14 +01:00
Matej Marusak
e2efa37d47
Add currents reporter for Playwright tests
...
This adds currents reporter for Playwright tests
JIRA: HMS-5660
2025-03-19 15:45:14 +01:00
regexowl
2a3c9b8b7d
Wizard: Make Selects responsive
2025-03-19 11:39:23 +01:00
regexowl
fe3257c0d9
Wizard: Replace deprecated selects on Azure step
...
This replaces deprecated selects on the Azure step for non-deprecated ones.
2025-03-19 11:39:23 +01:00
Tom Koscielniak
9c9ef15ad7
tests/CI: Change Playwright workflow trigger to pull_request
...
Change trigger of Playwright workflow from finishing development checks to trigger on pull requests.
2025-03-19 10:24:02 +01:00
schutzbot
aa0ef7ca6e
Post release version bump
...
[skip ci]
2025-03-19 08:33:49 +00:00
dependabot[bot]
9363c63662
build(deps-dev): bump eslint-plugin-react-redux from 4.2.0 to 4.2.2
...
Bumps [eslint-plugin-react-redux](https://github.com/DianaSuvorova/eslint-plugin-react-redux ) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/DianaSuvorova/eslint-plugin-react-redux/releases )
- [Commits](https://github.com/DianaSuvorova/eslint-plugin-react-redux/compare/v4.2.0...v4.2.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react-redux
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-19 09:09:56 +01:00
dependabot[bot]
23285091fe
build(deps-dev): bump @typescript-eslint/parser from 8.26.0 to 8.26.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.26.0 to 8.26.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.26.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>
2025-03-19 08:25:45 +01:00
regexowl
96cf08bf4d
src: Remove width limiting for Wizard and ImagesTable
...
This removes `isWidthLimited` prop from Page component in Wizard and ImagesTable.
2025-03-18 14:37:53 -05:00
regexowl
086ac6c9ec
devDeps: Manually bump msw from 2.7.0 to 2.7.3
...
This bumps msw from 2.7.0 to 2.7.3
2025-03-18 09:49:46 +01:00
regexowl
89c3eb8522
Migrate to shared Dockerfile
...
This migrates frontend to use shared Dockerfile to comply with Konflux migrations requirements.
A submodule `build-tools` was added, obsolete tasks `create-frontend-dockerfile` and `parse-build-deploy-script` were removed and the path to the Dockerfile was updated.
2025-03-18 09:29:59 +01:00
dependabot[bot]
ea3b683243
build(deps-dev): bump stylelint from 16.14.1 to 16.16.0
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.14.1 to 16.16.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.14.1...16.16.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 08:11:55 +01:00
Michal Gold
6afaf49452
Wizard: Refactor Description input using new component
...
This commit refactors the Description field by replacing HookValidatedInput with the new ValidatedInputAndTextArea component.
It fixes a bug where the validation icon remained visible after the user cleared the Description field.
2025-03-17 15:48:29 +01:00
dependabot[bot]
29c290abf8
build(deps-dev): bump @babel/core from 7.26.8 to 7.26.10
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.26.8 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 14:46:17 +01:00
Michal Gold
ea40280f1c
Wizard: Refactor SSH key input using ValidatedInputAndTextArea component
...
This commit refactors the SSH key field by replacing HookValidatedInput with the new ValidatedInputAndTextArea component.
It also fixes a bug where the validation icon remained visible after the user cleared the SSH key field.
2025-03-17 14:21:52 +01:00
Sanne Raymaekers
45669b06b8
dependabot: ignore playwright updates
...
Since the container embedded in our CI images is pinned, any update here
would result in the container having to be pulled again in CI
runs. Let's reduce the frequency that playwright gets updated, making it
easier to keep the container and the dependencies here somewhat in sync.
2025-03-17 13:39:51 +01:00
Adonis Puente
60fc68310d
feat(RHINENG-15883): Add image-builder to new sentry flow
2025-03-17 13:02:23 +01:00
red-hat-konflux[bot]
95df46c885
Update Konflux references
...
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-03-17 08:39:43 +01:00
regexowl
939f25474c
Wizard: Fix activation keys URL
...
This updates activation keys URL to behave the same way the content one does.
2025-03-14 18:21:45 +02:00
dependabot[bot]
79b1b64322
build(deps): bump @babel/helpers from 7.26.7 to 7.26.10
...
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers ) from 7.26.7 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers )
---
updated-dependencies:
- dependency-name: "@babel/helpers"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 15:57:02 +01:00
regexowl
b68eda9660
Wizard: Replace Object.assign() in validation
...
This replaces `Object.assign()` method in vaidation functions with separately populated values.
2025-03-14 15:09:58 +01:00
regexowl
331f1dd45a
test: Add validation test for import
...
This adds a test to check whether validation messages get rendered on import.
Each step is checked for the correctly rendered error messages and then all invalid values are cleared so Next button re-enables and it's possible to continue.
2025-03-14 15:09:58 +01:00
regexowl
5eef2b3f9a
Wizard: Fix kernel validation
...
Kernel validation worked only for one invalid field on the step. Now it is able to validate both.
2025-03-14 15:09:58 +01:00
regexowl
3a85341dbf
playwright: Add playwright to ESLint and fix errors
...
This add the `playwright` folder to the lint script and fixes errors.
2025-03-14 14:17:18 +01:00
regexowl
88f41b0b75
Wizard: Disable "No results found" options
...
The "No results found for <searchTerm>" options were previously enabled, but ignored upon click. This disables them properly and adds tests to check if they're disabled.
2025-03-14 12:28:06 +01: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
Anna Vítová
7d6c623ee6
Wizard: add/rm firstboot service based on state
...
I noticed there is a bug that does not show a relevant list of services
that we create on user's behalf.
How to reproduce:
1. start creating a blueprint with a first boot script
2. go to the review step - the custom-first-boot service is not displayed there, but we are adding it on user's behalf
3. click on "Edit blueprint"
4. go to First boot step and remove the script
5. go to the review step - the custom-first-boot service is displayed
there, but we will remove it after clicking "edit"
2025-03-13 10:38:56 +01:00
Dominik Vagner
048baffc3f
Wizard: add support of upload custom repositories
2025-03-13 08:57:56 +01:00
regexowl
e21d09b909
Wizard: Return of the testid
...
This adds `data-testid` back to the blueprint name input.
2025-03-12 13:02:44 +01:00
Michal Gold
12aa5cdf52
Wizard: Refactor hostname and blueprint name inputs
...
This commit Implement refactor of HookValidatedInput for hostname and blueprint name
fields, addressing the following bugs:
1) Fixes a bug where the validation symbol persisted after a user deleted the value in the hostname field.
2) Fixes a bug where the validation symbol persisted after a user deleted the value in the blueprint name field.
These changes improve code maintainability and provide a more consistent user experience.
2025-03-11 14:42:50 -05:00
Katarina Sieklova
1d39a57391
Blueprints: hiding unused activation key in when editing Blueprint
...
Fixed #2960
The Select dropdown in Registration wizard step no longer shows activation key when user decides to register later.
2025-03-11 16:15:40 +01:00
dependabot[bot]
4b5fb301ae
build(deps-dev): bump @redhat-cloud-services/eslint-config-redhat-cloud-services
...
Bumps @redhat-cloud-services/eslint-config-redhat-cloud-services from 2.0.10 to 2.0.12.
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/eslint-config-redhat-cloud-services"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 14:21:23 +01:00
Sanne Raymaekers
21ec51a69e
playwright: adapt tests to hosted
...
Makes the test's base url, user & password configurable through the
environment. Abstracts differences between hosted and cockpit where
possible to lib, and adds conditionals otherwise.
2025-03-11 13:30:14 +01:00