cypress-cucumber-steps
Version:
Cypress Cucumber step definitions
25 lines (22 loc) • 374 B
text/typescript
import { When } from '@badeball/cypress-cucumber-preprocessor';
/**
* When I log:
*
* ```gherkin
* When I log {string}
* ```
*
* @example
*
* ```gherkin
* When I log "Hello, world!"
* ```
*
* @remarks
*
* Prints a message to the Cypress Command Log.
*/
export function When_I_log(message: string) {
cy.log(message);
}
When('I log {string}', When_I_log);