* NP telemetry plugin barebones * fully migrate telemetry sender * license plugin to use NP telemetry * fully migrated public to NP * finish components testing * fix all tests * self code review * remove commented code * bracket notication for private methods * bracket notication for private methods * update license management tests * afharo code review fixes * type safe private method access in tests * fix typecheck * more type check fixes * i18n check * fix welcome page tests * i18n optedInNoticeBanner title * fix advanced settings field settings * field name * fix home snapshots * listen to app id change * NP code review fixes * NP code review fixes * update telemetry configs with np deprecations * pass telemetry from setup instead of npStart * type check * update core snapshots with new api exposed * remove debugging logs * update home contract * update home contract * fix test eslint import * navigate back to dashboard before start of next case for reporting * gitignore reporting failure_debug generated dir * use gotoDashboardEditMode instead of switch * = instead of : * merge master * escape unused forced types in Field * rename mock to mocks for eslint * Update src/plugins/telemetry/public/components/telemetry_management_section.tsx Co-Authored-By: Alejandro Fernández Haro <afharo@gmail.com> * fix save/clear type Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
111 lines
2.9 KiB
JavaScript
111 lines
2.9 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';
|
|
|
|
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'),
|
|
],
|
|
pageObjects,
|
|
services,
|
|
servers: commonConfig.get('servers'),
|
|
|
|
esTestCluster: commonConfig.get('esTestCluster'),
|
|
|
|
kbnTestServer: {
|
|
...commonConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...commonConfig.get('kbnTestServer.serverArgs'),
|
|
'--oss',
|
|
'--telemetry.optIn=false',
|
|
],
|
|
},
|
|
|
|
uiSettings: {
|
|
defaults: {
|
|
'accessibility:disableAnimations': true,
|
|
'dateFormat:tz': 'UTC',
|
|
},
|
|
},
|
|
|
|
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',
|
|
},
|
|
};
|
|
}
|