Public Environment Variables For Your Tests Using cypress-expose Plugin (opens in new tab)
Recently Cypress announced a change in how it will handle environment variables. Variables were always public and accessible to the application under test in the browser (via calling Cypress.env() met
Read the original article