test: Update release select option to partial match
With description added to the RHEL release options in Release select every query using name needed to be updated from full to partial match.
This commit is contained in:
parent
014a0c1d70
commit
c11f80188e
4 changed files with 13 additions and 13 deletions
|
|
@ -197,10 +197,10 @@ describe('Step Image output', () => {
|
|||
await user.click(releaseMenu);
|
||||
|
||||
await screen.findByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 8',
|
||||
name: /Red Hat Enterprise Linux \(RHEL\) 8/,
|
||||
});
|
||||
await screen.findByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 9',
|
||||
name: /Red Hat Enterprise Linux \(RHEL\) 9/,
|
||||
});
|
||||
await screen.findByRole('button', {
|
||||
name: 'Show options for further development of RHEL',
|
||||
|
|
@ -223,10 +223,10 @@ describe('Step Image output', () => {
|
|||
await user.click(showOptionsButton);
|
||||
|
||||
await screen.findByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 8',
|
||||
name: /Red Hat Enterprise Linux \(RHEL\) 8/,
|
||||
});
|
||||
await screen.findByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 9',
|
||||
name: /Red Hat Enterprise Linux \(RHEL\) 9/,
|
||||
});
|
||||
await screen.findByRole('option', {
|
||||
name: 'CentOS Stream 8',
|
||||
|
|
@ -1025,7 +1025,7 @@ describe('Click through all steps', () => {
|
|||
})[0];
|
||||
await user.click(releaseMenu);
|
||||
const releaseOption = screen.getByRole('option', {
|
||||
name: 'Red Hat Enterprise Linux (RHEL) 8',
|
||||
name: /Red Hat Enterprise Linux \(RHEL\) 8/,
|
||||
});
|
||||
await user.click(releaseOption);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue