2017-04-12 00:01:06 +02:00
|
|
|
import { resolve } from 'path';
|
|
|
|
|
|
|
|
import {
|
|
|
|
CommonPageProvider,
|
|
|
|
ConsolePageProvider,
|
|
|
|
ShieldPageProvider,
|
|
|
|
ContextPageProvider,
|
|
|
|
DiscoverPageProvider,
|
|
|
|
HeaderPageProvider,
|
|
|
|
DashboardPageProvider,
|
|
|
|
VisualizePageProvider,
|
|
|
|
SettingsPageProvider,
|
|
|
|
MonitoringPageProvider,
|
2017-05-11 21:07:23 +02:00
|
|
|
PointSeriesPageProvider,
|
2017-05-15 23:04:16 +02:00
|
|
|
GettingStartedPageProvider
|
2017-04-12 00:01:06 +02:00
|
|
|
} from './page_objects';
|
|
|
|
|
|
|
|
import {
|
|
|
|
RemoteProvider,
|
|
|
|
FindProvider,
|
|
|
|
RetryProvider,
|
|
|
|
TestSubjectsProvider,
|
|
|
|
KibanaServerProvider,
|
|
|
|
EsProvider,
|
|
|
|
EsArchiverProvider,
|
2017-05-11 21:07:23 +02:00
|
|
|
DocTableProvider,
|
|
|
|
ScreenshotsProvider,
|
2017-04-12 00:01:06 +02:00
|
|
|
} from './services';
|
|
|
|
|
|
|
|
import { servers, apps } from '../server_config';
|
|
|
|
|
|
|
|
export default function () {
|
|
|
|
return {
|
|
|
|
testFiles: [
|
|
|
|
resolve(__dirname, './apps/console/index.js'),
|
|
|
|
resolve(__dirname, './apps/context/index.js'),
|
|
|
|
resolve(__dirname, './apps/dashboard/index.js'),
|
|
|
|
resolve(__dirname, './apps/discover/index.js'),
|
|
|
|
resolve(__dirname, './apps/management/index.js'),
|
|
|
|
resolve(__dirname, './apps/status_page/index.js'),
|
|
|
|
resolve(__dirname, './apps/visualize/index.js'),
|
|
|
|
resolve(__dirname, './apps/xpack/index.js'),
|
|
|
|
],
|
|
|
|
pageObjects: {
|
|
|
|
common: CommonPageProvider,
|
|
|
|
console: ConsolePageProvider,
|
|
|
|
shield: ShieldPageProvider,
|
|
|
|
context: ContextPageProvider,
|
|
|
|
discover: DiscoverPageProvider,
|
|
|
|
header: HeaderPageProvider,
|
|
|
|
dashboard: DashboardPageProvider,
|
|
|
|
visualize: VisualizePageProvider,
|
|
|
|
settings: SettingsPageProvider,
|
|
|
|
monitoring: MonitoringPageProvider,
|
2017-05-11 21:07:23 +02:00
|
|
|
pointSeries: PointSeriesPageProvider,
|
2017-05-15 23:04:16 +02:00
|
|
|
gettingStarted: GettingStartedPageProvider,
|
2017-04-12 00:01:06 +02:00
|
|
|
},
|
|
|
|
services: {
|
|
|
|
kibanaServer: KibanaServerProvider,
|
|
|
|
remote: RemoteProvider,
|
|
|
|
find: FindProvider,
|
|
|
|
retry: RetryProvider,
|
|
|
|
testSubjects: TestSubjectsProvider,
|
|
|
|
es: EsProvider,
|
|
|
|
esArchiver: EsArchiverProvider,
|
2017-05-11 21:07:23 +02:00
|
|
|
docTable: DocTableProvider,
|
|
|
|
screenshots: ScreenshotsProvider,
|
2017-04-12 00:01:06 +02:00
|
|
|
},
|
|
|
|
servers,
|
|
|
|
apps,
|
|
|
|
esArchiver: {
|
2017-05-11 21:07:23 +02:00
|
|
|
directory: resolve(__dirname, '../../src/fixtures/es_archives'),
|
2017-04-12 00:01:06 +02:00
|
|
|
},
|
|
|
|
screenshots: {
|
2017-05-11 21:07:23 +02:00
|
|
|
directory: resolve(__dirname, '../screenshots'),
|
2017-04-12 00:01:06 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|