diff --git a/x-pack/test_serverless/functional/test_suites/observability/rules/rules_list.ts b/x-pack/test_serverless/functional/test_suites/observability/rules/rules_list.ts index d0b06f5f8a65..917e953cb2ae 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/rules/rules_list.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/rules/rules_list.ts @@ -116,11 +116,11 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { expect(searchResults[0].name).toEqual('ES QueryElasticsearch query'); }); - it('should create an ES Query rule but not display it when consumer is alerts', async () => { + it('should create an ES Query rule but not display it when consumer is stackAlerts', async () => { const esQuery = await createEsQueryRule({ supertest, name: 'ES Query', - consumer: 'alerts', + consumer: 'stackAlerts', ruleTypeId: '.es-query', params: { size: 100,