mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 11:33:47 -04:00
## Summary This PR adds API integration tests for Grok debugger for both serverless and stateful. For the serverless tests, they are used for the Observability and Security projects only - Grok debugger is disabled in the Search project. The sample data and patterns are taken from the [Grok debugger docs](https://www.elastic.co/guide/en/kibana/current/xpack-grokdebugger.html).
17 lines
585 B
TypeScript
17 lines
585 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const baseIntegrationTestsConfig = await readConfigFile(require.resolve('../../config.ts'));
|
|
|
|
return {
|
|
...baseIntegrationTestsConfig.getAll(),
|
|
testFiles: [require.resolve('.')],
|
|
};
|
|
}
|