Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mturley committed May 10, 2021
1 parent b584e74 commit 3843d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Plans/components/Wizard/__tests__/PlanWizard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('<AddEditProviderModal />', () => {
expect(screen.getByRole('heading', { name: /Storage mapping/ })).toBeInTheDocument();
expect(screen.getByText(/vmware-datastore-1/i)).toBeInTheDocument();
const storageTarget = screen.getByRole('textbox', { name: /select target.../i });
expect(storageTarget).toHaveValue('standard (default)');
expect(storageTarget).toHaveValue('large');
expect(screen.getByRole('checkbox', { name: /save mapping checkbox/ })).not.toBeChecked();
await waitFor(() => expect(nextButton).toBeEnabled());
userEvent.click(nextButton);
Expand All @@ -144,7 +144,7 @@ describe('<AddEditProviderModal />', () => {
expect(screen.getByText(/ocp-network-2/i)).toBeInTheDocument();
expect(screen.getByRole('button', { name: /1/i })).toBeEnabled();
expect(networkTarget).toHaveValue('openshift-migration / ocp-network-1');
expect(storageTarget).toHaveValue('standard (default)');
expect(storageTarget).toHaveValue('large');

expect(screen.getByRole('button', { name: /Finish/i })).toBeEnabled();
});
Expand Down

0 comments on commit 3843d2f

Please sign in to comment.