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.
This commit is contained in:
regexowl 2025-08-01 10:03:44 +02:00 committed by Gianluca Zuccarelli
parent 64e5744d8c
commit fdaf5129c8

View file

@ -63,10 +63,9 @@ test('Create a blueprint with OpenSCAP customization', async ({
.nth(3)
).toBeVisible();
await frame.getByRole('button', { name: 'Additional packages' }).click();
await frame.getByRole('button', { name: 'Selected (9)' }).click();
await frame.getByRole('button', { name: 'Selected (8)' }).click();
await expect(frame.getByRole('gridcell', { name: 'aide' })).toBeVisible();
await expect(frame.getByRole('gridcell', { name: 'chrony' })).toBeVisible();
await expect(frame.getByRole('gridcell', { name: 'cronie' })).toBeVisible();
await expect(
frame.getByRole('gridcell', { name: 'firewalld' })
).toBeVisible();
@ -127,13 +126,12 @@ test('Create a blueprint with OpenSCAP customization', async ({
frame.getByText('Required by OpenSCAPaudit_backlog_limit=8192audit=')
).toBeVisible();
await frame.getByRole('button', { name: 'Additional packages' }).click();
await frame.getByRole('button', { name: 'Selected (11)' }).click();
await frame.getByRole('button', { name: 'Selected (10)' }).click();
await expect(frame.getByRole('gridcell', { name: 'aide' })).toBeVisible();
await expect(
frame.getByRole('gridcell', { name: 'audit-libs' })
).toBeVisible();
await expect(frame.getByRole('gridcell', { name: 'chrony' })).toBeVisible();
await expect(frame.getByRole('gridcell', { name: 'cronie' })).toBeVisible();
await expect(
frame.getByRole('gridcell', { name: 'firewalld' })
).toBeVisible();