[Security Solution][Resolver] Fix functional test (#77895)

This commit is contained in:
Michael Olorunnisola 2020-09-18 11:40:16 -04:00 committed by GitHub
parent 32a8eb2aae
commit ef55756b8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const queryBar = getService('queryBar');
// FLAKY: https://github.com/elastic/kibana/issues/77835
describe.skip('Endpoint Event Resolver', function () {
describe('Endpoint Event Resolver', function () {
before(async () => {
await esArchiver.load('endpoint/resolver_tree', { useCreate: true });
await pageObjects.hosts.navigateToSecurityHostsPage();
@ -45,7 +45,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const nodeData: string[] = [];
const TableData: string[] = [];
const Table = await testSubjects.findAll('resolver:node-list:item');
const Table = await testSubjects.findAll('resolver:node-list:node-link:title');
for (const value of Table) {
const text = await value._webElement.getText();
TableData.push(text.split('\n')[0]);