* skip and adjust functional tests for Firefox
* downgrade geckodriver to 0.22.0
* [ftr] add firefox specific config file
* remove hard coded firefox adjustments
* remove firefox specific screenshot directory
* run functional tests in firefox in x-pack
* pass the logger to readConfigFile()
* rename local var
* skip xpack firefox config
* run xpack firefox functional tests in separate command
* update report name for XPack firefox results
* adjust viz shared item test
* skip shared item test
* [test/feature_controls] increase timeout to 20 sec & use forceLogout
* FF timeout on TSVB, refresh page on failure for url navigation
* [feature_controls/visualize_security] increase timeout to 20 sec
* skip dev_tools_spaces tests on FF
* run all groups 3 times
* skip more func tests
* skip more tests
* skip all feature controls tests for Firefox
* revert back changes in feature controls tests
* rename xpack report for chrome
* skip tile map for FF, wait for render before saving
* Revert "run all groups 3 times"
This reverts commit 12b4f69627
.
* revert refresh on login
* apply feedback
116 lines
3.1 KiB
JavaScript
116 lines
3.1 KiB
JavaScript
/*
|
|
* Licensed to Elasticsearch B.V. under one or more contributor
|
|
* license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright
|
|
* ownership. Elasticsearch B.V. licenses this file to you under
|
|
* the Apache License, Version 2.0 (the "License"); you may
|
|
* not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
import { pageObjects } from './page_objects';
|
|
import { services } from './services';
|
|
import { services as commonServiceProviders } from '../common/services';
|
|
|
|
export default async function ({ readConfigFile }) {
|
|
const commonConfig = await readConfigFile(require.resolve('../common/config'));
|
|
|
|
return {
|
|
testFiles: [
|
|
require.resolve('./apps/console'),
|
|
require.resolve('./apps/getting_started'),
|
|
require.resolve('./apps/context'),
|
|
require.resolve('./apps/dashboard'),
|
|
require.resolve('./apps/discover'),
|
|
require.resolve('./apps/home'),
|
|
require.resolve('./apps/management'),
|
|
require.resolve('./apps/status_page'),
|
|
require.resolve('./apps/timelion'),
|
|
require.resolve('./apps/visualize'),
|
|
require.resolve('./apps/xpack'),
|
|
],
|
|
pageObjects,
|
|
services: {
|
|
...commonServiceProviders,
|
|
...services
|
|
},
|
|
servers: commonConfig.get('servers'),
|
|
|
|
esTestCluster: commonConfig.get('esTestCluster'),
|
|
|
|
kbnTestServer: {
|
|
...commonConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...commonConfig.get('kbnTestServer.serverArgs'),
|
|
'--oss',
|
|
],
|
|
},
|
|
|
|
uiSettings: {
|
|
defaults: {
|
|
'accessibility:disableAnimations': true,
|
|
'dateFormat:tz': 'UTC',
|
|
'telemetry:optIn': false
|
|
},
|
|
},
|
|
|
|
apps: {
|
|
kibana: {
|
|
pathname: '/app/kibana',
|
|
},
|
|
status_page: {
|
|
pathname: '/status',
|
|
},
|
|
discover: {
|
|
pathname: '/app/kibana',
|
|
hash: '/discover',
|
|
},
|
|
context: {
|
|
pathname: '/app/kibana',
|
|
hash: '/context',
|
|
},
|
|
visualize: {
|
|
pathname: '/app/kibana',
|
|
hash: '/visualize',
|
|
},
|
|
dashboard: {
|
|
pathname: '/app/kibana',
|
|
hash: '/dashboards',
|
|
},
|
|
settings: {
|
|
pathname: '/app/kibana',
|
|
hash: '/management',
|
|
},
|
|
timelion: {
|
|
pathname: '/app/timelion',
|
|
},
|
|
console: {
|
|
pathname: '/app/kibana',
|
|
hash: '/dev_tools/console',
|
|
},
|
|
account: {
|
|
pathname: '/app/kibana',
|
|
hash: '/account',
|
|
},
|
|
home: {
|
|
pathname: '/app/kibana',
|
|
hash: '/home',
|
|
},
|
|
},
|
|
junit: {
|
|
reportName: 'Chrome UI Functional Tests'
|
|
},
|
|
browser: {
|
|
type: 'chrome'
|
|
}
|
|
};
|
|
}
|