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.
This commit is contained in:
regexowl 2025-06-19 10:43:42 +02:00 committed by Klara Simickova
parent 47aace0c5f
commit 1ea1c2de8c
2 changed files with 93 additions and 24 deletions

View file

@ -152,6 +152,17 @@ describe('Step OpenSCAP', () => {
await goToOscapStep();
await selectProfile();
await screen.findByText(/Packages/);
await screen.findByText(/aide, neovim/i);
await screen.findByText(/Kernel arguments/);
await screen.findByText(/audit_backlog_limit=8192 audit=1/i);
await screen.findByText(/Enabled services/);
await screen.findByText(/crond/i);
await screen.findByText(/Disabled services/);
await screen.findByText(
/rpcbind autofs nftables nfs-server emacs-service/i
);
// check that the FSC contains a /tmp partition
await clickNext();
await screen.findByRole('heading', { name: /File system configuration/i });