kibana/test/functional/config.edge.js
Dzmitry Lemechko 8be882b58d
[ftr] create config file for each tested plugin with firefox tests (#150873)
## 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
2023-02-11 00:51:57 +01:00

23 lines
673 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
* 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.
*/
export default async function ({ readConfigFile }) {
const firefoxConfig = await readConfigFile(require.resolve('./firefox/config.base.ts'));
return {
...firefoxConfig.getAll(),
browser: {
type: 'msedge',
},
junit: {
reportName: 'MS Chromium Edge UI Functional Tests',
},
};
}