|
4 | 4 | * you may not use this file except in compliance with the Elastic License. |
5 | 5 | */ |
6 | 6 |
|
7 | | -import { setup as homeSetup } from './home.helpers'; |
8 | | -import { setup as templateCreateSetup } from './template_create.helpers'; |
9 | | -import { setup as templateCloneSetup } from './template_clone.helpers'; |
10 | | -import { setup as templateEditSetup } from './template_edit.helpers'; |
11 | | - |
12 | 7 | export { nextTick, getRandomString, findTestSubject, TestBed } from '../../../../../test_utils'; |
13 | 8 |
|
14 | | -export { setupEnvironment } from './setup_environment'; |
| 9 | +export { setupEnvironment, WithAppDependencies, services } from './setup_environment'; |
15 | 10 |
|
16 | | -export const pageHelpers = { |
17 | | - home: { setup: homeSetup }, |
18 | | - templateCreate: { setup: templateCreateSetup }, |
19 | | - templateClone: { setup: templateCloneSetup }, |
20 | | - templateEdit: { setup: templateEditSetup }, |
21 | | -}; |
| 11 | +export type TestSubjects = |
| 12 | + | 'aliasesTab' |
| 13 | + | 'appTitle' |
| 14 | + | 'cell' |
| 15 | + | 'closeDetailsButton' |
| 16 | + | 'createTemplateButton' |
| 17 | + | 'deleteSystemTemplateCallOut' |
| 18 | + | 'deleteTemplateButton' |
| 19 | + | 'deleteTemplatesConfirmation' |
| 20 | + | 'documentationLink' |
| 21 | + | 'emptyPrompt' |
| 22 | + | 'manageTemplateButton' |
| 23 | + | 'mappingsTab' |
| 24 | + | 'noAliasesCallout' |
| 25 | + | 'noMappingsCallout' |
| 26 | + | 'noSettingsCallout' |
| 27 | + | 'indicesList' |
| 28 | + | 'indicesTab' |
| 29 | + | 'indexTableIncludeHiddenIndicesToggle' |
| 30 | + | 'indexTableIndexNameLink' |
| 31 | + | 'reloadButton' |
| 32 | + | 'reloadIndicesButton' |
| 33 | + | 'row' |
| 34 | + | 'sectionError' |
| 35 | + | 'sectionLoading' |
| 36 | + | 'settingsTab' |
| 37 | + | 'summaryTab' |
| 38 | + | 'summaryTitle' |
| 39 | + | 'systemTemplatesSwitch' |
| 40 | + | 'templateDetails' |
| 41 | + | 'templateDetails.manageTemplateButton' |
| 42 | + | 'templateDetails.sectionLoading' |
| 43 | + | 'templateDetails.tab' |
| 44 | + | 'templateDetails.title' |
| 45 | + | 'templateList' |
| 46 | + | 'templateTable' |
| 47 | + | 'templatesTab'; |
0 commit comments