@nice-digital/wdio-cucumber-steps
Version:
Shared step definitions for Cucumber JS BDD tests in WebdriverIO
10 lines • 599 B
TypeScript
/**
* Check if the given elements text is the same as the given text
* @param {String} elementType Element type (element or button)
* @param {String} selector Element selector
* @param {String} falseCase Whether to check if the content equals the
* given text or not
* @param {String} expectedText The text to validate against
*/
export declare function checkEqualsText(elementType: "element" | "button", selector: string, falseCase: string, expectedText: string): Promise<void>;
//# sourceMappingURL=checkEqualsText.d.ts.map