@redhat-developer/page-objects
Version:
Page Object API implementation for a VS Code editor used by ExTester framework.
90 lines (89 loc) • 4.86 kB
TypeScript
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License", destination); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* https://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 { WebDriver } from 'selenium-webdriver';
export * from 'selenium-webdriver';
export * from './locators/locators';
export * from './errors/NullAttributeError';
export * from './components/menu/Menu';
export * from './components/menu/MenuItem';
export * from './components/menu/TitleBar';
export * from './components/menu/MacTitleBar';
export * from './components/menu/ContextMenu';
export * from './components/menu/WindowControls';
export * from './components/activityBar/ActivityBar';
export * from './components/activityBar/ViewControl';
export * from './components/activityBar/ActionsControl';
export * from './components/sidebar/SideBarView';
export * from './components/sidebar/ViewTitlePart';
export * from './components/sidebar/ViewContent';
export * from './components/sidebar/ViewSection';
export * from './components/sidebar/ViewItem';
export * from './components/sidebar/WelcomeContent';
export * from './components/sidebar/tree/TreeSection';
export * from './components/sidebar/tree/default/DefaultTreeSection';
export * from './components/sidebar/tree/default/DefaultTreeItem';
export * from './components/sidebar/tree/custom/CustomTreeSection';
export * from './components/sidebar/tree/custom/CustomTreeItem';
export * from './components/sidebar/tree/debug/DebugBreakpointSection';
export * from './components/sidebar/tree/debug/BreakpointSectionItem';
export * from './components/sidebar/tree/debug/DebugVariablesSection';
export * from './components/sidebar/tree/debug/VariableSectionItem';
export * from './components/sidebar/tree/debug/CallStackItem';
export * from './components/sidebar/tree/debug/DebugCallStackSection';
export * from './components/sidebar/tree/debug/WatchSection';
export * from './components/sidebar/tree/debug/WatchSectionItem';
export * from './components/sidebar/extensions/ExtensionsViewSection';
export * from './components/sidebar/extensions/ExtensionsViewItem';
export { ScmView, ScmProvider, ScmChange } from './components/sidebar/scm/ScmView';
export * from './components/sidebar/scm/NewScmView';
export * from './components/sidebar/debug/DebugView';
export * from './components/bottomBar/BottomBarPanel';
export * from './components/bottomBar/ProblemsView';
export * from './components/bottomBar/WebviewView';
export * from './components/bottomBar/Views';
export * from './components/statusBar/StatusBar';
export * from './components/editor/EditorView';
export * from './components/editor/EditorAction';
export * from './components/editor/Breakpoint';
export * from './components/editor/TextEditor';
export * from './components/editor/Editor';
export * from './components/editor/SettingsEditor';
export * from './components/editor/DiffEditor';
export * from './components/editor/WebView';
export * from './components/editor/ContentAssist';
export * from './components/editor/CustomEditor';
export * from './components/editor/ExtensionEditorView';
export * from './components/editor/ExtensionEditorDetailsSection';
export { Notification, NotificationType } from './components/workbench/Notification';
export * from './components/workbench/NotificationsCenter';
export * from './components/workbench/input/Input';
export * from './components/workbench/input/InputBox';
export * from './components/workbench/input/QuickOpenBox';
export * from './components/workbench/Workbench';
export * from './components/workbench/DebugToolbar';
export * from './components/dialog/ModalDialog';
export * from './conditions/WaitForAttribute';
/**
* Initialize the page objects for your tests
*
* @param currentVersion version of the locators to load
* @param baseVersion base version of the locators if you have multiple versions with diffs, otherwise leave the same as currentVersion
* @param locatorFolder folder that contains locator files
* @param driver WebDriver instance
* @param browserID identifier/name of the browser (i.e. vscode)
*/
export declare function initPageObjects(currentVersion: string, baseVersion: string, locatorFolder: string, driver: WebDriver, browserID: string): void;