Skip to content

Commit

Permalink
[Security Solution][Data Quality Dashboard] fix tests and potential t…
Browse files Browse the repository at this point in the history
…ests timing out on ci

addresses #196216
  • Loading branch information
kapral18 committed Oct 30, 2024
1 parent f102ace commit cfc2c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,6 @@ describe('HistoricalResultsList', () => {
for (const accordionToggleButton of allAccordionToggles) {
expect(accordionToggleButton).toHaveAttribute('aria-expanded', 'true');
}
});
}, 10000);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ describe('HistoricalResults', () => {
endDate: 'now',
})
);
});
}, 10000);
});
});

Expand Down Expand Up @@ -236,7 +236,7 @@ describe('HistoricalResults', () => {
const wrapper = screen.getByTestId('historicalResultsPagination');

expect(within(wrapper).getByText('Rows per page: 10')).toBeInTheDocument();
});
}, 10000);
});

describe('when rows per page are clicked', () => {
Expand Down Expand Up @@ -267,7 +267,7 @@ describe('HistoricalResults', () => {
expect(screen.getByText('10 rows')).toBeInTheDocument();
expect(screen.getByText('25 rows')).toBeInTheDocument();
expect(screen.getByText('50 rows')).toBeInTheDocument();
});
}, 10000);
});

describe('when total results are more than or equal 1 page', () => {
Expand Down Expand Up @@ -410,7 +410,7 @@ describe('HistoricalResults', () => {
size: 25,
})
);
});
}, 10000);
});
});

Expand Down

0 comments on commit cfc2c6c

Please sign in to comment.