In E2E I am using some variables for dashboard, Mailosaur and BrowserStack.
This is the relevent part of cypress.config.js
{
projectId: "XXXX", //dashboard project-id
"env": {
MAILOSAUR_API_KEY: "XXXXXX", // Mailosaur email api
SERVERID: 'XXXX',
TESTEMAIL: 'XXX'
},
}
Similarly, for Browserstack.json
these are the variables
{
"auth": {
"username": "XXXXX",
"access_key": "XXXXX"
},
}
How can I define these variables so that I can run my scripts locally and in BitBucket without creating any security issues.