Skip to content

Commit

Permalink
fix dashboard tests
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Tsvetkov <[email protected]>
  • Loading branch information
vtsvetkov-splunk committed Jan 8, 2025
1 parent c075a15 commit 383062b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/Dashboard/tests/DashBoardPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ it('render with all default dashboards', async () => {
expect(timeLabels[0]).toBeInTheDocument();
expect(timeLabels.length).toEqual(2);

const dataIngestionHeader = screen.getByText('Data ingestion');
const dataIngestionHeader = screen.getByRole('heading', { name: /data ingestion/i });
expect(dataIngestionHeader).toBeInTheDocument();

const idsToBeInDocument = [
Expand Down

0 comments on commit 383062b

Please sign in to comment.