[Discover ] Increase test jest timeout (#219695)

This test occasionally times out. Not a great solution, but we increasethe timeout to reduce the noise of this flaky one (5s seem to be not sufficient)
This commit is contained in:
Matthias Wilhelm 2025-05-01 07:37:04 +02:00 committed by GitHub
parent 829892afae
commit 101db1e3d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -688,7 +688,7 @@ describe('discover responsive sidebar', function () {
expect(createDataViewButton.length).toBe(1);
createDataViewButton.simulate('click');
expect(services.dataViewEditor.openEditor).toHaveBeenCalled();
});
}, 10000);
it('should not render buttons in data view picker when in viewer mode', async () => {
const services = createMockServices();
@ -720,7 +720,7 @@ describe('discover responsive sidebar', function () {
expect(addFieldButtonInDataViewPicker.length).toBe(0);
const createDataViewButton = findTestSubject(compWithPickerInViewerMode, 'dataview-create-new');
expect(createDataViewButton.length).toBe(0);
});
}, 10000);
describe('search bar customization', () => {
it('should not render CustomDataViewPicker', async () => {