UNPKG

@uuv/assistant

Version:

UUV Helper used to improve the life of testers and developers by generating cucumber phrases from the GUI.

24 lines (23 loc) 874 B
/** * 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 { AbstractComponentService } from "./abstract-component-service"; export declare class FormCompletionService extends AbstractComponentService { private typeTranslator; private clickTranslator; buildResultSentence(selectedForm: HTMLElement): Promise<string[]>; isButton(element: FocusableElement): boolean; isSubmitButton(element: FocusableElement): boolean; isDisabled(element: FocusableElement): boolean; isHidden(element: FocusableElement): boolean; }