mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Feature:Resolver] enable_APM-ci branch fixes (#81658)
* 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 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2daa511b9f
commit
526de26f03
2 changed files with 12 additions and 2 deletions
|
@ -262,11 +262,21 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
await esArchiver.load('endpoint/resolver_tree/library_events', { useCreate: true });
|
||||
await queryBar.setQuery('');
|
||||
await queryBar.submitQuery();
|
||||
const expectedLibraryData = ['329 network', '1 library', '1 library'];
|
||||
const expectedLibraryData = [
|
||||
'1 authentication',
|
||||
'1 session',
|
||||
'329 network',
|
||||
'1 library',
|
||||
'1 library',
|
||||
];
|
||||
await pageObjects.hosts.navigateToEventsPanel();
|
||||
await pageObjects.hosts.executeQueryAndOpenResolver(
|
||||
'event.dataset : endpoint.events.library'
|
||||
);
|
||||
// This lines will move the resolver view for clear visibility of the related events.
|
||||
for (let i = 0; i < 7; i++) {
|
||||
await (await testSubjects.find('resolver:graph-controls:west-button')).click();
|
||||
}
|
||||
await pageObjects.hosts.runNodeEvents(expectedLibraryData);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -127,6 +127,7 @@ export function SecurityHostsPageProvider({ getService, getPageObjects }: FtrPro
|
|||
expect(EventName).to.equal(linkText);
|
||||
expect(EventName).to.equal(expectedData[i]);
|
||||
}
|
||||
await testSubjects.click('full-screen');
|
||||
},
|
||||
/**
|
||||
* Navigate to Events Panel
|
||||
|
@ -146,7 +147,6 @@ export function SecurityHostsPageProvider({ getService, getPageObjects }: FtrPro
|
|||
await queryBar.submitQuery();
|
||||
await testSubjects.click('full-screen');
|
||||
await testSubjects.click('investigate-in-resolver-button');
|
||||
await testSubjects.click('full-screen');
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue