* Moved out type for OperatingSystem and moved OS translations one level higher. * Changed the translation to be consistent between trusted apps and policy. * Unified translations of OS types between trusted apps and policy. * Removed unused types. * Added registered AV form section. * Changed the property structure to match the format expected by endpoint. * Fixed the visual alignment of titles in the form and added responsiveness. * Updated snapshots. * Moved out type for OperatingSystem and moved OS translations one level higher. * Added config form heading component. * Cleaned up translations. * Fixed type error with initialization. * Fixed error in trusted app creation form test. * Removed the guard for now in favour of better initialization. * Fixed the store test. * Fixing functional test data. * Added functional test config option to account for a custom header within security app. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
51 lines
1.6 KiB
TypeScript
51 lines
1.6 KiB
TypeScript
/*
|
|
* 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 { resolve } from 'path';
|
|
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
|
|
import { pageObjects } from './page_objects';
|
|
import { services } from './services';
|
|
import {
|
|
getRegistryUrlAsArray,
|
|
createEndpointDockerConfig,
|
|
} from '../security_solution_endpoint_api_int/registry';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const xpackFunctionalConfig = await readConfigFile(require.resolve('../functional/config.js'));
|
|
|
|
return {
|
|
...xpackFunctionalConfig.getAll(),
|
|
pageObjects,
|
|
testFiles: [resolve(__dirname, './apps/endpoint')],
|
|
dockerServers: createEndpointDockerConfig(),
|
|
junit: {
|
|
reportName: 'X-Pack Endpoint Functional Tests',
|
|
},
|
|
services,
|
|
apps: {
|
|
...xpackFunctionalConfig.get('apps'),
|
|
['securitySolutionManagement']: {
|
|
pathname: '/app/security/administration',
|
|
},
|
|
['security']: {
|
|
pathname: '/app/security',
|
|
},
|
|
},
|
|
kbnTestServer: {
|
|
...xpackFunctionalConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...xpackFunctionalConfig.get('kbnTestServer.serverArgs'),
|
|
'--xpack.fleet.enabled=true',
|
|
// if you return an empty string here the kibana server will not start properly but an empty array works
|
|
...getRegistryUrlAsArray(),
|
|
],
|
|
},
|
|
layout: {
|
|
fixedHeaderHeight: 200,
|
|
},
|
|
};
|
|
}
|