mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solution] Loading auditbeat data in a global hook (#165953)
This commit is contained in:
parent
234c46d5b7
commit
2ecd8b83fa
2 changed files with 4 additions and 3 deletions
|
@ -25,6 +25,10 @@ import './commands';
|
|||
import 'cypress-real-events/support';
|
||||
import registerCypressGrep from '@cypress/grep';
|
||||
|
||||
before(() => {
|
||||
cy.task('esArchiverLoad', { archiveName: 'auditbeat' });
|
||||
});
|
||||
|
||||
registerCypressGrep();
|
||||
|
||||
Cypress.on('uncaught:exception', () => {
|
||||
|
|
|
@ -15,9 +15,6 @@ export async function SecuritySolutionConfigurableCypressTestRunner({
|
|||
getService,
|
||||
}: FtrProviderContext) {
|
||||
const config = getService('config');
|
||||
const esArchiver = getService('esArchiver');
|
||||
|
||||
await esArchiver.load('x-pack/test/security_solution_cypress/es_archives/auditbeat');
|
||||
|
||||
return {
|
||||
FORCE_COLOR: '1',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue