mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
New events resolver (#82170)
* Added Test for event.library * renamed data directry and gzip data file * rename expectedData file * Changes per Charlie request * Changes for the enable_APM-ci branch * Update resolver.ts * Added comment per Charlie request * Update resolver.ts * Added Alert Test for Resolver and fix for the APM enabled Run fail * Added Alert Test for Resolver and fix for the APM enabled Run fail * removed commented out code * Fixing CI fail * Fixing CI fail * Removed Alert Resolver test * aAdding Alert test back * Adding Alert test back * Adding Alert test back * Adding info log for debuging * Adding info log for debuging * Adding info log for debuging * Adding info log for debuging * Adding info log for debuging * Adding info log for debuging * adding one more verification for Data * stripedd Data file Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
04c583e2b0
commit
bf758312cd
4 changed files with 25 additions and 1 deletions
Binary file not shown.
|
@ -279,6 +279,29 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
}
|
||||
await pageObjects.hosts.runNodeEvents(expectedLibraryData);
|
||||
});
|
||||
|
||||
it('Check Related Events for event.alert Node', async () => {
|
||||
await esArchiver.load('empty_kibana');
|
||||
await esArchiver.load('endpoint/resolver_tree/alert_events', { useCreate: true });
|
||||
await queryBar.setQuery('');
|
||||
await queryBar.submitQuery();
|
||||
const expectedAlertData = [
|
||||
'1 library',
|
||||
'157 file',
|
||||
'520 registry',
|
||||
'3 file',
|
||||
'5 library',
|
||||
'5 library',
|
||||
];
|
||||
await pageObjects.hosts.navigateToEventsPanel();
|
||||
await pageObjects.hosts.executeQueryAndOpenResolver('event.dataset : endpoint.alerts');
|
||||
await (await testSubjects.find('resolver:graph-controls:zoom-out')).click();
|
||||
await browser.setWindowSize(2100, 1500);
|
||||
for (let i = 0; i < 2; i++) {
|
||||
await (await testSubjects.find('resolver:graph-controls:east-button')).click();
|
||||
}
|
||||
await pageObjects.hosts.runNodeEvents(expectedAlertData);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -30,7 +30,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|||
['securitySolutionManagement']: {
|
||||
pathname: '/app/security/administration',
|
||||
},
|
||||
...xpackFunctionalConfig.get('apps'),
|
||||
['security']: {
|
||||
pathname: '/app/security',
|
||||
},
|
||||
|
|
|
@ -121,6 +121,8 @@ export function SecurityHostsPageProvider({ getService, getPageObjects }: FtrPro
|
|||
for (let i = 0; i < NodeSubmenuItems.length; i++) {
|
||||
await (await testSubjects.findAll('resolver:map:node-submenu-item'))[i].click();
|
||||
const Events = await testSubjects.findAll('resolver:map:node-submenu-item');
|
||||
// this sleep is for the AMP enabled run
|
||||
await pageObjects.common.sleep(300);
|
||||
const EventName = await Events[i]._webElement.getText();
|
||||
const LinkText = await testSubjects.find('resolver:breadcrumbs:last');
|
||||
const linkText = await LinkText._webElement.getText();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue