cypress-cucumber-steps
Version:
Cypress Cucumber step definitions
99 lines • 2.42 kB
TypeScript
import { DataTable } from '@badeball/cypress-cucumber-preprocessor';
/**
* Then I see text:
*
* ```gherkin
* Then I see text {string}
* ```
*
* Assert text **_exists_** and is **_visible_** in the screen.
*
* @example
*
* ```gherkin
* Then I see text "Text"
* ```
*
* With [options](https://docs.cypress.io/api/commands/contains#Arguments):
*
* ```gherkin
* Then I see text "Text"
* | matchCase | true |
* | log | true |
* | timeout | 4000 |
* | includeShadowDom | false |
* ```
*
* @see
*
* - {@link Then_I_see_button | Then I see button}
* - {@link Then_I_see_heading | Then I see heading}
* - {@link Then_I_see_label | Then I see label}
* - {@link Then_I_see_link | Then I see link}
*/
export declare function Then_I_see_text(text: string, options?: DataTable): void;
/**
* Then I do not see text:
*
* ```gherkin
* Then I do not see text {string}
* ```
*
* Assert text **_does not exist_** in the screen.
*
* @example
*
* ```gherkin
* Then I do not see text "Text"
* ```
*
* With [options](https://docs.cypress.io/api/commands/contains#Arguments):
*
* ```gherkin
* Then I do not see text "Text"
* | matchCase | true |
* | log | true |
* | timeout | 4000 |
* | includeShadowDom | false |
* ```
*
* @see
*
* - {@link Then_I_do_not_see_visible_text | Then I do not see visible text}
* - {@link Then_I_do_not_see_button | Then I do not see button}
* - {@link Then_I_do_not_see_heading | Then I do not see heading}
* - {@link Then_I_do_not_see_label | Then I do not see label}
* - {@link Then_I_do_not_see_link | Then I do not see link}
*/
export declare function Then_I_do_not_see_text(text: string, options?: DataTable): void;
/**
* Then I do not see visible text:
*
* ```gherkin
* Then I do not see visible text {string}
* ```
*
* Assert text **_exists_** in the screen but is **_hidden_**.
*
* @example
*
* ```gherkin
* Then I do not see visible text "Text"
* ```
*
* With [options](https://docs.cypress.io/api/commands/contains#Arguments):
*
* ```gherkin
* Then I do not see visible text "Text"
* | matchCase | true |
* | log | true |
* | timeout | 4000 |
* | includeShadowDom | false |
* ```
*
* @see
*
* - {@link Then_I_do_not_see_text | Then I do not see text}
*/
export declare function Then_I_do_not_see_visible_text(text: string, options?: DataTable): void;
//# sourceMappingURL=text.d.ts.map