morficus / cypress-dotenv

Cypress plugin that enables compatability with dotenv
53 stars 13 forks source link

ensure existing cypress envars are honored #19

Closed fosrias closed 3 years ago

fosrias commented 3 years ago

Fixes: https://github.com/morficus/cypress-dotenv/issues/18

Issue is that dotenv will not add existing environment variables to the process, but will return them as parsed. This library would then override any existing CYPRESS_ variables from the .env file as it uses the parsed values always.

lifeiscontent commented 3 years ago

@morficus can you please take a look at this PR? this just bit me in my CI environment.

morficus commented 2 years ago

@fosrias and @lifeiscontent - this has (finally) been merged. It is included in v1.2.3 and v2.0.0