Failing test: [MKI][QA][Periodic] Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/ai_assistant/prompts·cy·ts - AI Assistant Prompts System Prompts "before each" hook for "No prompt is selected by default, custom prompts can be selected and deselected" "before each" hook for "No prompt is selected by default, custom prompts can be selected and deselected" #199924
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-1731470718823190067/elastic/kibana-serverless-security-solution-quality-gate-gen-ai/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: `AI Assistant Prompts`
at <unknown> (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:135273:72)
at tryCatcher (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (https://kibana-cypress-security-solution-ephemeral-ff03e02-b32759.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-gen-ai - main