Cypress Random Data And Custom Commands Example

Published: 06 July 2023
on channel: gleb bahmutov
1,302
30

In this video, I show using NPM module "Chance" to generate random sentences to use during Cypress end-to-end tests. The video shows the difference between generating random data inside a custom command vs passing the generated text as an argument. Find the source code in the repo https://github.com/bahmutov/cypress-r...