Skip to content

Commit

Permalink
address test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
legrego committed Apr 2, 2020
1 parent bbb958b commit 14fb7b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/test/functional/apps/endpoint/host_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import expect from '@kbn/expect';
import { FtrProviderContext } from '../../ftr_provider_context';

export default ({ getPageObjects, getService }: FtrProviderContext) => {
const pageObjects = getPageObjects(['common', 'endpoint']);
const pageObjects = getPageObjects(['common', 'endpoint', 'header']);
const esArchiver = getService('esArchiver');
const testSubjects = getService('testSubjects');

Expand Down Expand Up @@ -67,6 +67,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
'xxxx',
],
];
await pageObjects.header.waitUntilLoadingHasFinished();
const tableData = await pageObjects.endpoint.getEndpointAppTableData('hostListTable');
expect(tableData).to.eql(expectedData);
});
Expand Down

0 comments on commit 14fb7b2

Please sign in to comment.