* [ftr/percy] integrate percy with functional test runner * execute ftr within `percy exec` * share PERCY_BIN and GRUNT_BIN vars in setup * [license] whitelist `(Unlicense OR Apache-2.0)` * [percy] include pr/parallel info in env * echo the actual variable value * destructure required modules * [ci] calculate percy env in a script * remove outdated eslint overrides * oops, nonce should be the same for each build * take snapshots in context tests * add percy snapshots to some dashboard tests * account for extra execution of PERCY_BIN * remove usage of percy service * rename service to `visualTesting` * write a simple test * switch left-over percy test to visualTesting * set log level for percy agent * trigger ci * try using the system chrome install instead of downloading one * fix export definition * Don't skip chromium download * Add Spencer's fix to point to chrome installation * Attempting to split tests into own ci job and test files * Renumber job * Add tag to decorations file * Try new files with existing CI job * Try again to create a new CI job * Fix eslint problem with space * eslint updates * fix console test * make test names unique * Update ci group names * Try old name again * save * add separate visual_regression ci job * add visual regression ci job * add new job to jobs.yml * update path to take_percy_snapshot script * use fixed percy job total * fix common services import * move visual_create_and_add_embeddables to visual_regression project * finish moving create_and_add_embeddables * add x-pack visual regression job * migrate dashboard_snapshots tests to visual_regression * remove references to removed test files * restore some unnecessary changes * reimplement the login page tests * yarn.lock update * fix test * remove old CI_GROUP 100 block * update failed_tests trap * reduce yarn.lock changes * disable debug logging * disable visual-regression tests for now, we can enable them in specific prs
92 lines
3.3 KiB
TypeScript
92 lines
3.3 KiB
TypeScript
/*
|
|
* 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 { services as commonServiceProviders } from '../../common/services';
|
|
|
|
import { AppsMenuProvider } from './apps_menu';
|
|
import { BrowserProvider } from './browser';
|
|
import { ComboBoxProvider } from './combo_box';
|
|
import {
|
|
DashboardAddPanelProvider,
|
|
DashboardExpectProvider,
|
|
DashboardPanelActionsProvider,
|
|
DashboardVisualizationProvider,
|
|
// @ts-ignore not TS yet
|
|
} from './dashboard';
|
|
// @ts-ignore not TS yet
|
|
import { DocTableProvider } from './doc_table';
|
|
// @ts-ignore not TS yet
|
|
import { EmbeddingProvider } from './embedding';
|
|
// @ts-ignore not TS yet
|
|
import { FailureDebuggingProvider } from './failure_debugging';
|
|
// @ts-ignore not TS yet
|
|
import { FilterBarProvider } from './filter_bar';
|
|
import { FindProvider } from './find';
|
|
// @ts-ignore not TS yet
|
|
import { FlyoutProvider } from './flyout';
|
|
// @ts-ignore not TS yet
|
|
import { GlobalNavProvider } from './global_nav';
|
|
// @ts-ignore not TS yet
|
|
import { InspectorProvider } from './inspector';
|
|
// @ts-ignore not TS yet
|
|
import { QueryBarProvider } from './query_bar';
|
|
import { RemoteProvider } from './remote';
|
|
// @ts-ignore not TS yet
|
|
import { RenderableProvider } from './renderable';
|
|
import { ScreenshotsProvider } from './screenshots';
|
|
// @ts-ignore not TS yet
|
|
import { SnapshotsProvider } from './snapshots';
|
|
// @ts-ignore not TS yet
|
|
import { TableProvider } from './table';
|
|
import { TestSubjectsProvider } from './test_subjects';
|
|
import { ToastsProvider } from './toasts';
|
|
// @ts-ignore not TS yet
|
|
import { PieChartProvider } from './visualizations';
|
|
// @ts-ignore not TS yet
|
|
import { VisualizeListingTableProvider } from './visualize_listing_table';
|
|
|
|
export const services = {
|
|
...commonServiceProviders,
|
|
|
|
__webdriver__: RemoteProvider,
|
|
filterBar: FilterBarProvider,
|
|
queryBar: QueryBarProvider,
|
|
find: FindProvider,
|
|
testSubjects: TestSubjectsProvider,
|
|
docTable: DocTableProvider,
|
|
screenshots: ScreenshotsProvider,
|
|
snapshots: SnapshotsProvider,
|
|
dashboardVisualizations: DashboardVisualizationProvider,
|
|
dashboardExpect: DashboardExpectProvider,
|
|
failureDebugging: FailureDebuggingProvider,
|
|
visualizeListingTable: VisualizeListingTableProvider,
|
|
dashboardAddPanel: DashboardAddPanelProvider,
|
|
dashboardPanelActions: DashboardPanelActionsProvider,
|
|
flyout: FlyoutProvider,
|
|
comboBox: ComboBoxProvider,
|
|
embedding: EmbeddingProvider,
|
|
renderable: RenderableProvider,
|
|
table: TableProvider,
|
|
browser: BrowserProvider,
|
|
pieChart: PieChartProvider,
|
|
inspector: InspectorProvider,
|
|
appsMenu: AppsMenuProvider,
|
|
globalNav: GlobalNavProvider,
|
|
toasts: ToastsProvider,
|
|
};
|