cypress-cucumber-steps
Version:
Cypress Cucumber step definitions
61 lines • 1.28 kB
TypeScript
/**
* When I wait seconds:
*
* ```gherkin
* When I wait {int} seconds
* ```
*
* @example
*
* Plural step:
*
* ```gherkin
* When I wait 3 seconds
* ```
*
* Singular step:
*
* ```gherkin
* When I wait 1 second
* ```
*
* @remarks
*
* Prefer increasing Cypress config's [`defaultCommandTimeout`](https://docs.cypress.io/guides/core-concepts/retry-ability#Timeouts) instead of relying on [`wait`](https://docs.cypress.io/api/commands/wait).
*
* @see
*
* - {@link When_I_wait_milliseconds | When I wait milliseconds}
*/
export declare function When_I_wait_seconds(seconds: number): void;
/**
* When I wait milliseconds:
*
* ```gherkin
* When I wait {int} milliseconds
* ```
*
* @example
*
* Plural step:
*
* ```gherkin
* When I wait 300 milliseconds
* ```
*
* Singular step:
*
* ```gherkin
* When I wait 1 millisecond
* ```
*
* @remarks
*
* Prefer increasing Cypress config's [`defaultCommandTimeout`](https://docs.cypress.io/guides/core-concepts/retry-ability#Timeouts) instead of relying on [`wait`](https://docs.cypress.io/api/commands/wait).
*
* @see
*
* - {@link When_I_wait_seconds | When I wait seconds}
*/
export declare function When_I_wait_milliseconds(milliseconds: number): void;
//# sourceMappingURL=wait.d.ts.map