feat(hidden-window): enable baseEnvironment in the pre-request scripting [INS-3379]#7102
feat(hidden-window): enable baseEnvironment in the pre-request scripting [INS-3379]#7102
Conversation
filfreire
left a comment
There was a problem hiding this comment.
LGTM, only has one problem where maybe base environment should not override what we send on the pre-request
insomnia.baseEnvironment.set("testfilipe", "filipe")
pm.collectionVariables.set("testfilipe", "george")
gatzjames
left a comment
There was a problem hiding this comment.
We should also test environment overrides on the folder level.
If you put a request inside a folder, the folder has an option to add environment overrides that override environment variables
…ment manipulation and overriding
|
Thank you for comments! The overriding issue is fixed. |
…ing (Kong#7102) * feat(hidden-window): enable baseEnvironment in the pre-request scripting * fix: input empty selected environment data to avoid incorrect environment manipulation and overriding * test: add a test for folder environments overriding * fix: smoke tests failed because of env overriding
Changes: