diff --git a/x-pack/test/security_solution_cypress/cypress/support/e2e.js b/x-pack/test/security_solution_cypress/cypress/support/e2e.js index 477c2606153b7..4335470845f9b 100644 --- a/x-pack/test/security_solution_cypress/cypress/support/e2e.js +++ b/x-pack/test/security_solution_cypress/cypress/support/e2e.js @@ -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', () => { diff --git a/x-pack/test/security_solution_cypress/runner.ts b/x-pack/test/security_solution_cypress/runner.ts index 9514e63a12634..c5d3acd093e5a 100644 --- a/x-pack/test/security_solution_cypress/runner.ts +++ b/x-pack/test/security_solution_cypress/runner.ts @@ -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',