* chore: addd analytics test [INS-3919]
* minor fix analytics
* use net.fetch and use network log to check if segment gets called
* better way to capture request logs and body
* fix test
* move it to smoke
* refactor: Improve analytics event tracking in smoke test
---------
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* fix: support generating values with faker.js in scripting
* fix: relax timeout for one case and remove a duplicated case
* fix: test is flaky because of timeout
* fix: incorrect test selector
* fix: waiting before checking
* fix: replace clicking with assertion
* fix: relax the external timeout a bit
* feat: update data model and request-pane to support post-req-script
* fix: unit test failed
* feat: integrate post-request script to the engine - INS-3785,INS-3786 (#7329)
* feat: integrate post-request script to the engine
* refactor: some minor improvements
* fix: lint error
* chore: clean up typings
* refactor: separate transforming into sync and async parts
* use named args
* fix: renaming pre-req vars, functions and 2 minor fixes
* fix: the error message is updated
* feat: add snippets for post-request scripting (#7395)
* feat: enable extended assertion chains on `insomnia.response` (#7396)
* feat: add snippets for post-request scripting
* feat(sdk): support response.to.have assertion for verifying response
* chore: fix lint error
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* test: add tests for post-request scripts and post-request scripts - INS-3786 (#7331)
* test: add some tests for post-req script and script engine
* fix: incorrect script type
* chore: refresh package-lock after merging
* chore: clean up package-lock.json
* fix: failed tests after rebasing
* feat: support importing post-req script from Postman (#7423)
* feat: support importing post-req script from Postman
* fix: introduce post-req script property for merged changes
* test: add a test case for importing scripts
* fix: add missing fixture
* chore: remove row after merging
* chore: rename to after-response-script
* fix test
* refresh lock
* update snapshot
* extract pre request logic to function
* refresh lock again
* throw on base env
* fix: revert the logic which rejects the case of unselected environment
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* fix: init the hidden window when renderers are reloaded
* fix: missing some smoke test stuff after merging
* feedback
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* can navigate to folder
* add docs tab
* can edit pre request script
* refactor authdropdown to support groups
* can input auth in folders
* can concat scripts
* ensure scripts are scoped
* inherit auth from parent folder
* extract to function
* support inherit
* remove console log
* fix inheritance
* fix types
* remove console.log
* skip pre request for now
* hide response pane
* reload on env modified
* fix oauth1 and support undefined auth
* add auth test
* watch sync for updates
* collapse folder only on icon click
* review feedback
* remove pre-req logic
* use the user/files api to fetch the unsynced files in global search
* naming
* fix e2e test
* fail gracefully if pulling a remote project doesn't work out
* fix popover error
* clean up loading and error states ui
* fix e2e test