Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kurund committed Jan 12, 2024
1 parent 8e1f096 commit ee713da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test('Interactive message list renders correctly', async () => {
expect(screen.getByTestId('loading')).toBeInTheDocument();

await waitFor(() => {
const title = screen.getByText('Interactive msg');
const title = screen.getByText('Interactive messages');
const label = screen.getByText('Title');
const messageBody = screen.getByText('Message');
const type = screen.getByText('Type');
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Search/Search.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test('it renders component with saveSearch params', async () => {

await waitFor(() => {
const formLayout = getByTestId('formLayout');
expect(formLayout).toHaveTextContent('Search');
expect(formLayout).toHaveTextContent('Save Search');
});

const [shortcode, label, news] = screen.getAllByRole('textbox');
Expand Down

0 comments on commit ee713da

Please sign in to comment.