Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add tests for post-request scripts and post-request scripts - INS-3786 #7331

Merged
merged 2 commits into from May 15, 2024

Conversation

ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Apr 29, 2024

Changes

@ihexxa ihexxa self-assigned this Apr 29, 2024
@ihexxa ihexxa changed the title test: add tests for post-request scripts and post-request scripts test: add tests for post-request scripts and post-request scripts - INS-3786 Apr 29, 2024
@ihexxa ihexxa requested a review from a team April 29, 2024 06:17
Base automatically changed from post-script-integration to feature-post-request-script May 15, 2024 02:30
@ihexxa ihexxa merged commit 6743837 into feature-post-request-script May 15, 2024
7 checks passed
@ihexxa ihexxa deleted the post-script-tests branch May 15, 2024 03:45
ihexxa added a commit that referenced this pull request May 15, 2024
…NS-3786 (#7331)

* test: add some tests for post-req script and script engine

* fix: incorrect script type
ihexxa added a commit that referenced this pull request May 20, 2024
…NS-3786 (#7331)

* test: add some tests for post-req script and script engine

* fix: incorrect script type
ihexxa added a commit that referenced this pull request May 22, 2024
…NS-3786 (#7331)

* test: add some tests for post-req script and script engine

* fix: incorrect script type
jackkav pushed a commit that referenced this pull request May 22, 2024
…NS-3786 (#7331)

* test: add some tests for post-req script and script engine

* fix: incorrect script type
ihexxa added a commit that referenced this pull request May 23, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants