How to set different environment variable in Cypress test on LambdaTest?

Need help with setting up different environment variable in Cypress test on LambdaTest. How can I do it?

Hi Rhian,

–ccf flag can be used to pass different env files at run time. Example : npx lambdatest-cypress run --ccf=stage.json

stage.json below example:

{
  "env": {
    "loginUrl": "https://www.google.com"
  }
}