test: Add test to check for all the available releases
This obsoletes the 'non-rhel releases on beta' test, as it checks all releases.
This commit is contained in:
parent
2e39b47095
commit
e160aec170
1 changed files with 9 additions and 3 deletions
|
|
@ -221,7 +221,7 @@ describe('Step Image output', () => {
|
|||
expect(next).toBeDisabled();
|
||||
});
|
||||
|
||||
test('non-rhel releases on beta', async () => {
|
||||
test('expected releases are present on beta', async () => {
|
||||
setUp();
|
||||
|
||||
const releaseMenu = screen.getByRole('button', {
|
||||
|
|
@ -232,10 +232,16 @@ describe('Step Image output', () => {
|
|||
await screen.findByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 8'
|
||||
});
|
||||
|
||||
screen.getByRole('option', {
|
||||
await screen.findByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 9'
|
||||
});
|
||||
await screen.findByRole('option', {
|
||||
name: 'CentOS Stream 8'
|
||||
});
|
||||
await screen.findByRole('option', {
|
||||
name: 'CentOS Stream 9'
|
||||
});
|
||||
|
||||
userEvent.click(releaseMenu);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue