Skip to content

Commit

Permalink
fix the functional test error
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallmain committed Mar 4, 2020
1 parent a6d2b57 commit 7682d5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/test/functional/apps/endpoint/alert_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ import { FtrProviderContext } from '../../ftr_provider_context';
export default function({ getPageObjects, getService }: FtrProviderContext) {
const pageObjects = getPageObjects(['common', 'endpoint']);
const testSubjects = getService('testSubjects');
const esArchiver = getService('esArchiver');

describe('Endpoint Alert List', function() {
this.tags(['ciGroup7']);
before(async () => {
await esArchiver.load('endpoint/alerts/api_feature');
await pageObjects.common.navigateToUrlWithBrowserHistory('endpoint', '/alerts');
});

Expand All @@ -21,5 +23,9 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
it('includes Alert list data grid', async () => {
await testSubjects.existOrFail('alertListGrid');
});

after(async () => {
await esArchiver.unload('endpoint/alerts/api_feature');
})
});
}

0 comments on commit 7682d5b

Please sign in to comment.