little-france-10142
09/08/2022, 5:40 PMconfig.ts. If I hard code the string
MAILOSAUR_API_KEY: <"my-api-key"> my tests work just fine. But I need to put all apikeys and such in a separate cypress.env.json. Referencing the mailosaur server ID in test code works just fine. When I hard code the apikey string the tests work just fine.
To be super clear this works:
env: {
MAILOSAUR_API_KEY: "<my-api-key>",
},
I want this to work:
env: {
MAILOSAUR_API_KEY: Cypress.env("mailosaurApiKey"),
},
Or this:
env: {
MAILOSAUR_API_KEY: `${Cypress.env("mailosaurApiKey")}`,
},
But the last two do not work.little-france-10142
09/08/2022, 5:42 PMYour configFile is invalidlittle-france-10142
09/08/2022, 5:43 PMMissing baseUrl in compilerOptions. tsconfig-paths will be skippedlittle-france-10142
09/08/2022, 5:44 PMe2e and env and vice versa.little-france-10142
09/08/2022, 5:44 PM