Cypress testing multiple urls

Ravikant Tyagi Source

I am trying to test a particular test-cases in multiple URLs. Currently, I am passing the list of URLs from the array variable defined in the file itself. But I have a huge list of URLs which I want to read from the server. I have tried node script, but cypress doesn't seem to work with that. Could someone tell me the optimal way to do it? Screenshot attached

Sample of Code

javascriptnode.jsxcode-ui-testingcypress

Answers

comments powered by Disqus