* [functional_test_runner] replace functional testing tools with custom/pluggable solution
* [functional_test_runner] Convert unit tests to commonjs format
* [functional_test_runner] Fix dashboard test in wrong mode
* [functional_test_runner] Add dashboardLandingPage test subject
* [functional_test_runner] Get Visualize page object
* [functional_test_runner] Fix outdated references
* [functional_test_runner] Fix more outdated refs
* [functional_test_runner] Remove duplicate tests
* [functional_test_runner] Improve test readability
* [functional_test_runner] 😞 So many duplicate methods
* [functional_test_runner] Move mgmt `before` outside toplevel describe
* [functional_test_runner] Settings page obj missing methods
* [functional_test_runner] Add improvements from @gammon
* [functional_test_runner] Fix return statements in async funcs
* [functional_test_runner] Move before() to correct scope
* [functional_test_runner] Add after() hooks to remove index patterns
* [functional_test_runner] Attempt to fix vertical bar chart tests
* [functional_test_runner] Clean up
* [functional_test_runner] Reinstate unit tests
* [functional_test_runner] Set default loglevel back to info
* [functional_test_runner] Replace `context`s with `describe`s
* [functional_test_runner] Better error handling
* [functional_test_runner] Add in new Tile Map tests
* Incorporate changes from master
* [functional_test_runner] validate that every test file has a single top-level suite
* Update contributing doc with link to full doc
* [docs] Spelling and grammar fixes
* docs: writing and running functional tests
* [docs] Move plugin doc to plugin area
* [docs] Housekeeping. Doc in wrong place
* [docs] Remove dup doc file
* [grunt] Only run mocha_setup when running tests, not every grunt task
74 lines
2 KiB
JavaScript
74 lines
2 KiB
JavaScript
import { resolve } from 'path';
|
|
|
|
import {
|
|
CommonPageProvider,
|
|
ConsolePageProvider,
|
|
ShieldPageProvider,
|
|
ContextPageProvider,
|
|
DiscoverPageProvider,
|
|
HeaderPageProvider,
|
|
DashboardPageProvider,
|
|
VisualizePageProvider,
|
|
SettingsPageProvider,
|
|
MonitoringPageProvider,
|
|
} from './page_objects';
|
|
|
|
import {
|
|
RemoteProvider,
|
|
FindProvider,
|
|
RetryProvider,
|
|
TestSubjectsProvider,
|
|
KibanaServerProvider,
|
|
EsProvider,
|
|
EsArchiverProvider,
|
|
DocTableProvider,
|
|
PointSeriesVisProvider,
|
|
} 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,
|
|
},
|
|
services: {
|
|
kibanaServer: KibanaServerProvider,
|
|
remote: RemoteProvider,
|
|
find: FindProvider,
|
|
retry: RetryProvider,
|
|
testSubjects: TestSubjectsProvider,
|
|
es: EsProvider,
|
|
esArchiver: EsArchiverProvider,
|
|
docTable: DocTableProvider,
|
|
pointSeriesVis: PointSeriesVisProvider
|
|
},
|
|
servers,
|
|
apps,
|
|
esArchiver: {
|
|
directory: resolve(__dirname, '../../src/fixtures/es_archives')
|
|
},
|
|
screenshots: {
|
|
directory: resolve(__dirname, '../screenshots/session')
|
|
}
|
|
};
|
|
}
|