Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalee committed Oct 1, 2024
1 parent 748505e commit bf28288
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('CreateMetaAnalysisSpecificationSelectionStep', () => {
/>
);

const backButton = screen.getByRole('button', { name: 'back' });
const backButton = screen.getByRole('button', { name: 'Back' });
userEvent.click(backButton);

expect(mockOnNavigate).toHaveBeenCalledWith(ENavigationButton.PREV);
Expand All @@ -134,7 +134,7 @@ describe('CreateMetaAnalysisSpecificationSelectionStep', () => {
/>
);

const nextButton = screen.getByRole('button', { name: 'next' });
const nextButton = screen.getByRole('button', { name: 'Next' });
userEvent.click(nextButton);

expect(mockOnNavigate).toHaveBeenCalledWith(ENavigationButton.NEXT);
Expand All @@ -156,7 +156,7 @@ describe('CreateMetaAnalysisSpecificationSelectionStep', () => {
/>
);

const nextButton = screen.getByRole('button', { name: 'next' });
const nextButton = screen.getByRole('button', { name: 'Next' });
expect(nextButton).toBeDisabled();
});

Expand All @@ -176,7 +176,7 @@ describe('CreateMetaAnalysisSpecificationSelectionStep', () => {
/>
);

const nextButton = screen.getByRole('button', { name: 'next' });
const nextButton = screen.getByRole('button', { name: 'Next' });
expect(nextButton).toBeDisabled();
});

Expand Down Expand Up @@ -207,7 +207,7 @@ describe('CreateMetaAnalysisSpecificationSelectionStep', () => {
/>
);

const nextButton = screen.getByRole('button', { name: 'next' });
const nextButton = screen.getByRole('button', { name: 'Next' });
expect(nextButton).toBeDisabled();
});
});
Expand Down

0 comments on commit bf28288

Please sign in to comment.