debian-image-builder-frontend/src/test/Components/CreateImageWizard
Michal Gold bf77501eea Wizard: Display customized policy rules in review summary
Previously, when a user selected a compliance policy with tailored rules,
the review page always showed the default profile customizations instead
of the policy-specific customizations.

Root cause: OscapProfileInformation component was only using the profile
endpoint (/oscap/{distribution}/{profile}/customizations) which returns
base profile rules, not the policy endpoint
(/oscap/{policy}/{distribution}/policy_customizations) which returns
customized rules.

Changes:
- Add useGetOscapCustomizationsForPolicyQuery export to backendApi
- Implement dual data fetching in OscapProfileInformation:
  * Profile endpoint: for description and reference ID
  * Policy endpoint: for customized packages, services, kernel args

Fixes the compliance policy customization display bug where edited
policy rules were not reflected in the image build summary.

Add unit tests for compliance policy customizations

Fix profile description title
2025-08-14 19:42:19 +00:00
..
steps Wizard: Display customized policy rules in review summary 2025-08-14 19:42:19 +00:00
CreateImageWizard.test.tsx ESLint: Set trailingComma to all and run lint fix 2025-08-05 13:56:59 +00:00
EditImageWizard.test.tsx test: Update Edit wizard test 2024-09-16 12:14:34 +02:00
wizardTestUtils.tsx Wizard: clean up unit tests 2025-08-13 15:34:18 +00:00