mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Osquery] [Fix] - Set snapshot as default result type (#144786)
This commit is contained in:
parent
7b02bba8df
commit
bfff9747da
2 changed files with 10 additions and 0 deletions
|
@ -23,4 +23,13 @@ describe('ALL - Saved queries', () => {
|
|||
});
|
||||
|
||||
getSavedQueriesComplexTest(SAVED_QUERY_ID, SAVED_QUERY_DESCRIPTION);
|
||||
|
||||
it('checks default values on new saved query', () => {
|
||||
cy.contains('Saved queries').click();
|
||||
cy.contains('Add saved query').click();
|
||||
// ADD MORE FIELDS HERE
|
||||
cy.getBySel('resultsTypeField').within(() => {
|
||||
cy.contains('Snapshot');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -96,6 +96,7 @@ export const useSavedQueryForm = ({ defaultValue }: UseSavedQueryFormProps) => {
|
|||
query: '',
|
||||
interval: 3600,
|
||||
ecs_mapping: {},
|
||||
snapshot: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue