Commit Graph

27 Commits

Author SHA1 Message Date
Jack Kavanagh
2e81c5a331 Bump app version to 9.3.0-alpha.7 2024-06-05 15:09:53 +00:00
Jack Kavanagh
ff17ff826c Bump app version to 9.3.0-alpha.5 2024-06-05 11:14:22 +00:00
Hexxa
57e9898bf0
chore: rename variable properties to improve readability (#7480)
* chore: rename variable properties to improve readability

* fix: type check issue
2024-06-05 09:18:12 +00:00
Hexxa
c9b0f3cf8b
fix: add jsonSchema assertion chain (#7481) 2024-06-05 09:02:34 +00:00
Jack Kavanagh
7923f8e70d Bump app version to 9.3.0-alpha.4 2024-06-05 05:29:02 +00:00
Jack Kavanagh
a92ae53208 Bump app version to 9.3.0-alpha.3 2024-06-04 16:15:07 +00:00
Jack Kavanagh
e369528db4 Bump app version to 9.3.0-alpha.2 2024-06-04 15:03:04 +00:00
Hexxa
42cd078b87
fix: add a missing assertion chain for the response entity (#7474) 2024-06-03 09:08:26 +00:00
pimothyxd
109258db41
fix: minor typo in interpolator (#7473) 2024-06-03 10:10:22 +08:00
Hexxa
5d08381be5
fix: support generating values with faker.js in scripting (#7454)
* 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
2024-05-28 15:28:49 +08:00
Curry Yang
437460a4c3 Bump app version to 9.3.0-beta.0 2024-05-23 08:11:42 +00:00
Hexxa
46b6ea811e
feat: enable major features of the after-response script (#7411)
* 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>
2024-05-23 15:25:35 +08:00
Jack Kavanagh
6eb2c953dc Bump app version to 9.2.0 2024-05-15 13:43:57 +00:00
James Gatz
3057e7c5ee Bump app version to 9.2.0-beta.0 2024-05-14 14:27:42 +00:00
Jack Kavanagh
0e49f08850 Bump app version to 9.1.1 2024-05-07 11:20:21 +00:00
Jack Kavanagh
b4642d9b73 Bump app version to 9.1.0 2024-04-30 14:06:20 +00:00
Hexxa
69fb149274
fix(sdk): some of external modules are missing (#7315)
* fix: some external modules are missing

* chore: update @types/tv4

* chore: use map instead of switch-case statement

* test(scripting): check using external libs in the critical test suite
2024-04-26 19:44:01 +08:00
James Gatz
f1a26dd5f2 Bump app version to 9.0.0 2024-04-24 10:07:39 +00:00
Insomnia
dde3fc2c0b
Bump app version to 9.0.0-beta.5 (#7304)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2024-04-24 11:21:07 +02:00
Hexxa
7cfead4452
fix: minor fixes such as multiple registing and gql request body modification (#7299) 2024-04-23 12:18:56 +02:00
Hexxa
ba610daca3
fix: insomnia.environment.name is missing (#7289) 2024-04-22 16:57:36 +08:00
alongdate
78d054b6e1
chore: fix some typos in comments (#7283)
Signed-off-by: alongdate <alongyear@outlook.com>
2024-04-19 12:24:01 +02:00
Hexxa
03c74532c0
feat(hidden-win): try to simulate the existing behavior of handling async tasks (#7281) 2024-04-19 12:23:33 +02:00
Hexxa
dac3401c80
fix: some minor fixes for the pre-request scripting (#7284)
* fix: insomnia.request.name is missing

* feat: enable console.log

* fix: insomnia.info is missing

* fix: lint error
2024-04-19 11:48:05 +02:00
Filipe Freire
040ed4e800 Bump app version to 9.0.0-beta.4 2024-04-17 16:02:22 +00:00
Hexxa
6c63b0d8d3
feat: enable external modules in pre-request script (#7257) 2024-04-15 10:14:00 +02:00
Hexxa
2d9e2da52e
chore(pre-req script): move all sdk files to sdk workspace - INS-3379 (#7255)
* feat: move script sdk to one workspace and update importing paths

* test: add jest config for enabling tests

* fix: failed to build package because of missing .node loader
2024-04-12 22:24:14 +08:00