You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My app heavily leverages on environment variables for configuration (microservice based app). Some of the values I have to pass in are base64 strings. Setting these values from the command line (without wallaby) works just fine, both in running the app & in running the tests.
However, when running it in Wallaby, it seems that the string is getting malformed... suspect due to the presence of equal signs in the Base64 string. One of the strings I pass in always has two = on the end... but when the tests get the string from the environment variable, they two trailing = are missing... yet when I run it outside of wallaby, it breaks.
Could it be that internally you're splitting the env vars up from name=value on the equals sign? When I replace those two characters with underscores, my test can see those two characters just fine.
Issue description or question
My app heavily leverages on environment variables for configuration (microservice based app). Some of the values I have to pass in are base64 strings. Setting these values from the command line (without wallaby) works just fine, both in running the app & in running the tests.
However, when running it in Wallaby, it seems that the string is getting malformed... suspect due to the presence of equal signs in the Base64 string. One of the strings I pass in always has two
=
on the end... but when the tests get the string from the environment variable, they two trailing=
are missing... yet when I run it outside of wallaby, it breaks.Could it be that internally you're splitting the env vars up from name=value on the equals sign? When I replace those two characters with underscores, my test can see those two characters just fine.
Wallaby.js configuration file
Including only the part for the runner...
Code editor or IDE name and version
Visual Studio Code v1.4.0
OS name and version
OSX v10.11.6
The text was updated successfully, but these errors were encountered: