cy2
is a tiny NPM package that changes cypress API server configuration on-the-fly using environment variable CYPRESS_API_URL
cypress
.cypress
package value.CYPRESS_API_URL
in the CMD shell with set CYPRESS_API_URL=https://sorry.yourdomain.com/
(Don't use quotes ("
) because the Windows CMD takes them literal unlike the Linux shells)