mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
## Summary Splitting firefox test config by plugin to speedup pipeline execution time. <img width="1581" alt="image" src="https://user-images.githubusercontent.com/10977896/218100374-4b19339a-c3fb-4344-9e27-9791206ef189.png"> test/functional/firefox/console.config.ts 6m 2s test/functional/firefox/dashboard.config.ts 7m 39s test/functional/firefox/discover.config.ts 4m 18s test/functional/firefox/home.config.ts 1m 32s test/functional/firefox/visualize.config.ts 22m 9s
28 lines
802 B
TypeScript
28 lines
802 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 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
/* eslint-disable import/no-default-export */
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const baseConfig = await readConfigFile(require.resolve('../config.base.js'));
|
|
|
|
return {
|
|
...baseConfig.getAll(),
|
|
|
|
browser: {
|
|
type: 'firefox',
|
|
},
|
|
|
|
suiteTags: {
|
|
include: ['includeFirefox'],
|
|
exclude: ['skipFirefox'],
|
|
},
|
|
};
|
|
}
|