UNPKG

@nice-digital/wdio-cucumber-steps

Version:

Shared step definitions for Cucumber JS BDD tests in WebdriverIO

11 lines 692 B
/*! https://github.com/webdriverio/cucumber-boilerplate/blob/master/src/support/check/checkContainsText.js */ /** * Check if the given elements contains text * @param {String} elementType Element type (element or button) * @param {String} selector Element selector * @param {String} falseCase Whether to check if the content contains * the given text or not * @param {String} expectedText The text to check against */ export declare function checkContainsText(elementType: "element" | "button", selector: string, falseCase: string, expectedText: string): Promise<void>; //# sourceMappingURL=checkContainsText.d.ts.map