kibana/x-pack/test/osquery_cypress/visual_config.ts
Gloria Hornero b7aaa1fb91
Cypress baseline for osquery (#102265)
* Cypress baseline for osquery

* fix types

* Update visual_config.ts

Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-23 13:59:35 +02:00

19 lines
638 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';
import { OsqueryCypressVisualTestRunner } from './runner';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const osqueryCypressConfig = await readConfigFile(require.resolve('./config.ts'));
return {
...osqueryCypressConfig.getAll(),
testRunner: OsqueryCypressVisualTestRunner,
};
}