* Add unit tests to git-repo fixture
* Add to nedb fixture
* Can read suites and tests from git repo and nedb
* Prompt for test suite
* Prompt for env
* sub envs
* Add noenv to env prompt
* Add --ci flag to disable prompts
* Hook up --keep-file
* WIP
* WIP
* WIP
* Update
* Fix unit tests
* Update webpack config
* Fix
* fix
* Package lock
* Disable console.log when running unit tests
* no-log wrap
* Console log test
* Console log test
* Tests
* Add tests for cli
* Update
* WIP
* More tests
* fix
* Prompt test suite tests
* env prompt tests
* Update
* Update
* Extract workspace model
* Extract apiSpec model
* Extract unitTestSuite model
* Extract environment model
* Move types and prompts
* Rename
* Updated code editor to support toggling of beautify in editor.
Added a button to toggle beautify. When toggled text is 'beautified' immediately and when text is pasted into the editor or when the editor is blurred.
Removed _prettify method because it is no longer used.
* Changed toggle of auto beautify to dropdown selection.
The toggle has been replaced by a dropdown selection, the text in the beautify button will change accordingly. In manual mode, the button can still be clicked.
* Updated label of the beautify button.
* Changed caret up to cog icon + minor change to button label
* Changed cog icon to wrench icon.
Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
* Start working on insomnia-testing package to generate Mocha code
* Moved some things around
* Integration tests and ability to run multiple files
* Fix integration tests
* Rename runSuite to runMochaTests
* Add types for test results
* Fix lint errors
* Play with Chia assertions
* insomnia and chai globals, plus a bunch of improvements
* Stub chai and axios Flow types
* Ability to reference requests by ID
* Fix chai flow-typed location
* Address PR comments (small tweaks)
* Basic UI going
* Lots and lots and lots
* Pretty-much done with the unit test UI
* Minor CSS tweak
* Activity bar triple toggle and more
* Minor tweak
* Unit Test and Suite deletion
* Bump Designer version
* Fix eslint stuff
* Fix insomnia-testing tests
* Fix tests
* lib@2.2.9
* Remove tests tab from response pane
* Hook up Insomnia networking
* Fix linting
* Bump version for alpha
* Remove extra ActivityToggleSwitch
* Remove unused import
* Add test:pre-release script that excludes CLI tests
* Less repetition
* Clean some things up
* Tweaks after self-cr
* Undo request ID tag
* Swap out switch for new activity toggle component
* Extra check
* Remove dead code
* Delete dead test
* Oops, revert example code
* PR feedback
* Unit test UI tweaks
* More PR comment addresses
* Change test name
* Start working on insomnia-testing package to generate Mocha code
* Moved some things around
* Integration tests and ability to run multiple files
* Fix integration tests
* Rename runSuite to runMochaTests
* Add types for test results
* Fix lint errors
* Play with Chia assertions
* insomnia and chai globals, plus a bunch of improvements
* Stub chai and axios Flow types
* Ability to reference requests by ID
* Fix chai flow-typed location
* Address PR comments (small tweaks)
* Basic UI going
* Lots and lots and lots
* Pretty-much done with the unit test UI
* Minor CSS tweak
* Activity bar triple toggle and more
* Minor tweak
* Unit Test and Suite deletion
* Bump Designer version
* Fix eslint stuff
* Fix insomnia-testing tests
* Fix tests
* lib@2.2.9
* Remove tests tab from response pane
* Hook up Insomnia networking
* Fix linting
* Bump version for alpha
* Remove extra ActivityToggleSwitch
* Remove unused import
* Add test:pre-release script that excludes CLI tests
* Less repetition
* Clean some things up
* Tweaks after self-cr
* Undo request ID tag
* Swap out switch for new activity toggle component
* Extra check
* Remove dead code
* Delete dead test
* Oops, revert example code
* PR feedback
* More PR comment addresses
* Hacked insomnia lib package to get Insomnia's networking in tests
* Some small tweaks
* Got it mostly working
* Tweak
* Fix
* Fix pkg
* Fix some things
* Add comment
* Comment out log
* Some tweaks after doing a self code review
* Fix test
* Update app name for `insomnia-send-request`
* Update package-lock
* Update package-locks
* Fix tests
* Add gitignore
* Fix tests hopefully
* Fix accidental dep deletions
* Fix tests again
* Mock for all tests
* Update tests again
* Don't compile for Electron for tests
* Update release scripts to disable tests
* add key combinations for dev tools hotkey
* add Dev Tools accelerator to View menu remove from Develop menu
* remove changes from hotkey.js
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
* Update test fixtures and allow sendRequest() callback for testing
* Change runTests() to take in test src instead of a file
* Fix looping
* Fix tests and write temp test files into folder
* Fix Flow type for mocha
* Add multi-switch component, refactor radio group, and add succeess icon
* Fix dark theme for storybook
Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
* Add
* Update
* Remove extra peer dep
* Remove extra peer dep undo
* Undo stuff
* Convert two components (validation)
* Undo packed dep change
* Fix for react-dom alias to @hot-loader/react-dom (#2292)
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
* deps: bump node-libcurl to latest prerelease version
* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild
* Minor tweaks
* package locks
* Bump version
* Switch to font-manager and fix fsevents rimraf
* Try generating npmrc inside build/
* Try uninstall of fsevents instead
* Bump
* Try npm env vars
* Extra .npmrc
* Try npm env vars in all CI
* Fix insomnia-cookies dependencies
* Fix typo
* Loosen nvmrc version
* Remove npm uninstalls
* Build outside of Docker
* Remove Docker, build all on GH Actions
* Bump Core version
* Disable Snapcraft for now
* Bump
* Disable snap for Designer too
* Update product name for Core
* Update test.yml
* Remove Travis file
* Make userData folder explicit and add Curl types
* Remove old Kong icon
* Remove curl.js adapter
* Revert productName
* Fix release date
* Try remove windows build tools from CI
* Add comment about Snap deploys
* Remove the pane border on Windows (no longer necessary)
Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
* component migration to new SB instance
Migrating help tooltip to new SB instance at /insomnia-components/ also styling component directly via styled components
* Adding stories for positions and info vs. question
* lint fix
* Pulling left positioning out of delay story
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
* Initial commit
* WIP
* Fix lint
* Fix tests
* Add test for workspace migration
* Rename title to use fileName instead of workspace name for designer
* Linting
* Expose more request body for plugins
Support the following api for plugins:
- get/set the content type of the request;
- get/add/set the form parameters of the reuqest body;
adding file form item will be ignored if the mime type is not
multipath form.
- get/set the uploaded filename of the request;
setting uploading file name will be ignored if the mime type is not
octet stream.
* Add some test cases
* Add simple request body api for plugins
* Mark (get|set)BodyText() as deprecated
* New dialog() method to show generic dialogs from Plugins
* Clarified deprecated api method
* Body now required in dialog()
* Made options arg optional too
* Fix tests
* allow checkboxes input fields in prompt dialog
* return booleans as strings from prompt
* align label with checkbox for boolean prompt
* set css classes based on html input type
* add support for live display names in template tags
* add setting to (de)activate live display names in template tags
* Revert "add setting to (de)activate live display names in template tags"
This reverts commit 8cd70b87b5.
* remove liveDisplayName from the Prompt plugin
* use liveDisplayName over 1st arg if it's an enum
* Add breaking test
* Remove preferential ordering of tags over variables in nunjucks
* Remove preferential ordering of tags over variables in nunjucks
* simplify nunjucks sort
* Add breaking test for incorrect order
* Update json-order and consume
* Refine test with dataPropertyOrder
* Tests
* add note
* Add to test
* Missed the await