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...