Skip to content

Commit

Permalink
[Security Solution] Loading auditbeat data in a global hook (#165953)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadameSheema authored Sep 8, 2023
1 parent 234c46d commit 2ecd8b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions x-pack/test/security_solution_cypress/cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
3 changes: 0 additions & 3 deletions x-pack/test/security_solution_cypress/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2ecd8b8

Please sign in to comment.