kibana/x-pack/test/visual_regression/config.js
Chris Cowan 970f2cc4e8
[Infra UI] Visual Regression Test for Inventory View (#44189)
* [Infra UI] Visual Regression Test for Inventory View

* removing extra code

* Updating tests
2019-09-19 09:16:32 -07:00

30 lines
893 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { services as ossVisualRegressionServices } from '../../../test/visual_regression/services';
export default async function ({ readConfigFile }) {
const functionalConfig = await readConfigFile(require.resolve('../functional/config'));
return {
...functionalConfig.getAll(),
testFiles: [
require.resolve('./tests/login_page'),
require.resolve('./tests/maps'),
require.resolve('./tests/infra'),
],
services: {
...functionalConfig.get('services'),
visualTesting: ossVisualRegressionServices.visualTesting,
},
junit: {
reportName: 'X-Pack Visual Regression Tests',
},
};
}