CreateImageWizard: Add CentOS acknowledgement
Adds a PF4 info <Alert> that informs users that CentOS is intended only for development of RHEL-Next if CentOS is the selected distro in the Image Output step.
This commit is contained in:
parent
f6a98d2dca
commit
489d6a334f
4 changed files with 77 additions and 0 deletions
|
|
@ -324,6 +324,29 @@ describe('Step Image output', () => {
|
|||
|
||||
userEvent.click(releaseMenu);
|
||||
});
|
||||
|
||||
test('CentOS acknowledgement appears', async () => {
|
||||
setUp();
|
||||
|
||||
const releaseMenu = screen.getByRole('button', {
|
||||
name: /options menu/i,
|
||||
});
|
||||
userEvent.click(releaseMenu);
|
||||
|
||||
const showOptionsButton = screen.getByRole('button', {
|
||||
name: 'Show options for further development of RHEL',
|
||||
});
|
||||
userEvent.click(showOptionsButton);
|
||||
|
||||
const centOSButton = screen.getByRole('option', {
|
||||
name: 'CentOS Stream 9',
|
||||
});
|
||||
userEvent.click(centOSButton);
|
||||
|
||||
await screen.findByText(
|
||||
'CentOS Stream builds may only be used for the development of RHEL-Next.'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Step Upload to AWS', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue