@uuv/assistant
Version:
UUV Helper used to improve the life of testers and developers by generating cucumber phrases from the GUI.
22 lines (21 loc) • 883 B
TypeScript
/**
* Software Name : UUV
*
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT License,
* see the "LICENSE" file for more details
*
* Authors: NJAKO MOLOM Louis Fredice & SERVICAL Stanley
* Software description: Make test writing fast, understandable by any human
* understanding English or French.
*/
import { FocusableElement } from "tabbable";
import { AdditionalLayerEnum, ResultSentence } from "../Commons";
export interface KeyboardNavigation {
current: FocusableElement[];
expected: FocusableElement[];
}
export declare function switchKeyboardLayer(keyboardLayer: ShadowRoot, layer: AdditionalLayerEnum, elements: FocusableElement[]): void;
export declare function getKeyboardNavigation(): Promise<KeyboardNavigation>;
export declare function buildResultSentence(focusableElements: FocusableElement[]): Promise<ResultSentence[]>;