Revert "CreateImageWizard: Disable vmware and installer images"
This reverts commit 8e4b4ff6d5.
This commit is contained in:
parent
78123bff0e
commit
ed12903519
2 changed files with 9 additions and 11 deletions
|
|
@ -1076,9 +1076,9 @@ describe('Click through all steps', () => {
|
|||
screen.getByTestId('upload-aws').click();
|
||||
screen.getByTestId('upload-azure').click();
|
||||
screen.getByTestId('upload-google').click();
|
||||
// screen.getByTestId('checkbox-vmware').click();
|
||||
screen.getByTestId('checkbox-vmware').click();
|
||||
screen.getByTestId('checkbox-guest-image').click();
|
||||
// screen.getByTestId('checkbox-image-installer').click();
|
||||
screen.getByTestId('checkbox-image-installer').click();
|
||||
|
||||
screen.getByRole('button', { name: /Next/ }).click();
|
||||
userEvent.type(screen.getByTestId('aws-account-id'), '012345678901');
|
||||
|
|
@ -1152,9 +1152,9 @@ describe('Click through all steps', () => {
|
|||
findByText('Review the information and click "Create image" to create the image using the following criteria.');
|
||||
await screen.findAllByText('Amazon Web Services');
|
||||
await screen.findAllByText('Google Cloud Platform');
|
||||
// await screen.findByText('VMWare');
|
||||
await screen.findByText('VMWare');
|
||||
await screen.findByText('Virtualization - Guest image');
|
||||
// await screen.findByText('Bare metal - Installer');
|
||||
await screen.findByText('Bare metal - Installer');
|
||||
await screen.findByText('Register with Subscriptions and Red Hat Insights');
|
||||
await screen.findByText('MyImageName');
|
||||
|
||||
|
|
@ -1418,7 +1418,7 @@ describe('Click through all steps', () => {
|
|||
create.click();
|
||||
|
||||
// API request sent to backend
|
||||
await expect(composeImage).toHaveBeenCalledTimes(4);
|
||||
await expect(composeImage).toHaveBeenCalledTimes(6);
|
||||
|
||||
// returns back to the landing page
|
||||
await waitFor(() => expect(history.location.pathname).toBe('/'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue