@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) • 943 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 { AdditionalLayerEnum } from "../Commons";
import { ExpectTranslator } from "../translator/expect-translator";
export declare abstract class AbstractComponentService {
expectTranslator: ExpectTranslator;
private buildAdditionalStyle;
addListener(dom: ShadowRoot, elements: HTMLElement[], onSelect: (el: HTMLElement) => void, onReset: () => void): void;
show(dom: ShadowRoot, layer: AdditionalLayerEnum, htmlElements: HTMLElement[], onSelect: (el: HTMLElement) => void, onReset: () => void): void;
abstract buildResultSentence(selectedArray: HTMLElement): Promise<string[]>;
}