To start with cypress automation, users will need the following prerequisites:
Download and Install NodeJS
Download and install Visual Studio Code
Here are the steps you can follow to do the setup for running the automation on different environments:
Now we can run the automation using the below command on different environments:
npx cypress run --config baseUrl="url_of_application[it can be qa, staging, int, production or any other env url]"