You could use cypress tasks to do the environment switching and deal with most of all different variations from env A to env B, for instance. This way you don't need to "overload" cypress with tons of environment variables (which is not the case in the example you provided though). Anyway, is just a thought. What is your thought on this approach of using cypress tasks instead of environment variables?
Awesome Thank you Joan. If I add some other values in these json file as per different env how can i access them in my test. I am using cucumber page object model framework? Any thoughts
🤖DISCORD: discord.gg/2F9E2fRGaU
⭐PREMIUM Cypress + Typescript course: shorturl.at/dcnPn
📣FREE Cypress videos: shorturl.at/h6iEX
This video was a life saver. I watched it and was able to hide all XHR logs in my Cypress v12 run
Thank you Joan! I love your video! Great Explanation
❤ Thanks for the update!!
Nice video master!
Thank you ♥️
so useful, thank you very much!
Super idea. Thx
You could use cypress tasks to do the environment switching and deal with most of all different variations from env A to env B, for instance. This way you don't need to "overload" cypress with tons of environment variables (which is not the case in the example you provided though). Anyway, is just a thought. What is your thought on this approach of using cypress tasks instead of environment variables?
Do you have an example?
Puedes subir un vídeo explicando una conexión MS sql server + Cypress
Awesome Thank you Joan. If I add some other values in these json file as per different env how can i access them in my test. I am using cucumber page object model framework? Any thoughts
Thank U