@uuv/cypress
Version:
A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and cypress
25 lines (24 loc) • 1.56 kB
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.
*/
export declare function assertTextContent<Subject>(response: Subject, expectedTextContent: string): void;
export declare function findWithRoleAndName(role: string, name: string): void;
export declare function findWithRoleAndNameFocused(role: string, name: string): void;
export declare function withinRoleAndName(role: string, name: string): void;
export declare function notFoundWithRoleAndName(role: string, name: string): void;
export declare function findWithRoleAndNameAndContent(expectedRole: string, name: string, expectedTextContent: string): void;
export declare function findWithRoleAndNameAndContentDisabled(expectedRole: string, name: string, expectedTextContent: string): void;
export declare function findWithRoleAndNameDisabled(expectedRole: string, name: string): void;
export declare function findWithRoleAndNameAndContentEnabled(expectedRole: string, name: string, expectedTextContent: string): void;
export declare function findWithRoleAndNameEnabled(expectedRole: string, name: string): void;
export declare function findWithRoleAndNameAndAttribute(expectedRole: string, name: string, attributeName: string, attributeValue: any): void;
export declare function click(role: string, name: string): void;