Compare commits

...

1 Commits

Author SHA1 Message Date
Vinícius Lourenço
b1cff50fc6 test(flaky): try reduce flakyness by increasing timeout 2026-05-08 10:00:31 -03:00
3 changed files with 4 additions and 0 deletions

View File

@@ -268,6 +268,7 @@ describe('ExplorerOptionWrapper', () => {
});
it('should test actual handleExport function with generateExportToDashboardLink and verify useUpdateDashboard is NOT called', async () => {
jest.setTimeout(15000);
const user = userEvent.setup({ pointerEventsCheck: 0 });
// Mock the safeNavigate function

View File

@@ -151,6 +151,7 @@ describe('Metadata', () => {
});
it('should update the metadata when the form is submitted', async () => {
jest.setTimeout(15000);
render(
<Metadata
metricName={MOCK_METRIC_NAME}

View File

@@ -79,6 +79,8 @@ describe('Having filter behaviour', () => {
});
it('Autocomplete in the having filter', async () => {
// Long test with many userEvent operations - needs extended timeout
jest.setTimeout(30000);
const onChange = jest.fn();
const user = userEvent.setup();