CypressError: `cy.task('refreshIndex')` failed with the following error:
The task 'refreshIndex' was not handled in the setupNodeEvents method. The following tasks are registered: esArchiverLoad, esArchiverUnload, getSessionCookie, getApiKeyForRole, getFullname, getUsername
Fix this in your setupNodeEvents method here:
/opt/buildkite-agent/builds/bk-agent-prod-gcp-1731470753362885022/elastic/kibana-serverless-security-solution-quality-gate-detection-engine/kibana/x-pack/test/security_solution_cypress/cypress/cypress_ci_serverless_qa.config.ts
https://on.cypress.io/api/task
Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Rule actions PLI essentials...`
at <unknown> (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:135273:72)
at tryCatcher (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (https://kibana-cypress-security-solution-ephemeral-19f5500-ef88fb.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at cy.waitUntil.interval (webpack:///./tasks/api_calls/elasticsearch.ts:47:9)
at evaluate (webpack:///./support/commands.js:74:19)
at Context.waitUntil (webpack:///./support/commands.js:83:9)
A test failed on a tracked branch
First failure: kibana-serverless-security-solution-quality-gate-detection-engine - main