CreateImageWizard: enable OpenSCAP for on-prem
SSIA
This commit is contained in:
parent
c7cd9e8de3
commit
9d883a8dfc
3 changed files with 5 additions and 6 deletions
|
|
@ -23,10 +23,11 @@ test.describe.serial('test', () => {
|
||||||
});
|
});
|
||||||
await page.getByTestId('automatically-register-checkbox').uncheck();
|
await page.getByTestId('automatically-register-checkbox').uncheck();
|
||||||
await frame.getByRole('button', { name: 'Next', exact: true }).click();
|
await frame.getByRole('button', { name: 'Next', exact: true }).click();
|
||||||
await frame.getByRole('heading', { name: 'Compliance' });
|
|
||||||
await frame.getByRole('button', { name: 'Next', exact: true }).click();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await frame.getByRole('heading', { name: 'Compliance' });
|
||||||
|
await frame.getByRole('button', { name: 'Next', exact: true }).click();
|
||||||
|
|
||||||
await frame.getByRole('heading', { name: 'File system configuration' });
|
await frame.getByRole('heading', { name: 'File system configuration' });
|
||||||
await frame.getByRole('button', { name: 'Next', exact: true }).click();
|
await frame.getByRole('button', { name: 'Next', exact: true }).click();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -406,9 +406,7 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
||||||
name={complianceEnabled ? 'Compliance' : 'OpenSCAP'}
|
name={complianceEnabled ? 'Compliance' : 'OpenSCAP'}
|
||||||
id="step-oscap"
|
id="step-oscap"
|
||||||
key="step-oscap"
|
key="step-oscap"
|
||||||
isHidden={
|
isHidden={distribution === RHEL_10_BETA}
|
||||||
distribution === RHEL_10_BETA || !!process.env.IS_ON_PREMISE
|
|
||||||
}
|
|
||||||
navItem={customStatusNavItem}
|
navItem={customStatusNavItem}
|
||||||
footer={
|
footer={
|
||||||
<CustomWizardFooter disableNext={false} optional={true} />
|
<CustomWizardFooter disableNext={false} optional={true} />
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,8 @@ const goToHostnameStep = async () => {
|
||||||
if (!process.env.IS_ON_PREMISE) {
|
if (!process.env.IS_ON_PREMISE) {
|
||||||
await clickNext(); // Registration
|
await clickNext(); // Registration
|
||||||
await clickRegisterLater();
|
await clickRegisterLater();
|
||||||
await clickNext(); // OpenSCAP
|
|
||||||
}
|
}
|
||||||
|
await clickNext(); // OpenSCAP
|
||||||
await clickNext(); // File system configuration
|
await clickNext(); // File system configuration
|
||||||
if (!process.env.IS_ON_PREMISE) {
|
if (!process.env.IS_ON_PREMISE) {
|
||||||
await clickNext(); // Snapshots
|
await clickNext(); // Snapshots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue