diff --git a/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx b/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx index 1b1e3d8417..1c8aeec9e1 100644 --- a/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx +++ b/frontend/src/pages/LogsExplorer/__tests__/LogsExplorer.test.tsx @@ -236,4 +236,22 @@ describe('Logs Explorer Tests', () => { await fireEvent.click(histogramToggle); expect(queryByText(frequencyChartContent)).not.toBeInTheDocument(); }); + + test('check that auto refresh is present in toolbar', async () => { + const { getByRole } = render(); + + await waitFor(() => { + expect( + getByRole('button', { + name: /sync/i, + }), + ).toBeInTheDocument(); + + expect( + getByRole('button', { + name: /caret-down/i, + }), + ).toBeInTheDocument(); + }); + }); });