Thank you, I believe this doesn't work because we have it used in the same way, it's always taking localhost one. const authorURL = process.env.AEM_AUTHOR_URL || "http://localhost:4502"; We used cypress sample from the Weekend git, config is defined under, cypress.config.js