Skip to content

Commit

Permalink
PMM-12741 Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkubinec committed Feb 27, 2024
1 parent cec8eff commit f0d8b6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('AlertRuleTemplate', () => {
await waitForElementToBeRemoved(() => screen.getByTestId('table-loading'));

expect(screen.getByTestId('table-thead').querySelectorAll('tr')).toHaveLength(1);
expect(screen.getByTestId('table-tbody').querySelectorAll('tr')).toHaveLength(5);
expect(screen.getByTestId('table-tbody').querySelectorAll('tr')).toHaveLength(6);
expect(screen.queryByTestId('table-no-data')).not.toBeInTheDocument();
});

Expand Down

0 comments on commit f0d8b6b

Please sign in to comment.