Go to file
David Marby 5af79c7486
Create smoketests for oauth flows (#4511)
* Move basic auth routes to a separate file

* Stop slowing requests down artificially

* Add initial oauth routes

* Mount oidc routes under /oidc

* Enable all forms of oauth that Insomnia supports

* Add oauth request collection fixture

* Update playwright config

* Use 127.0.0.1 instead of localhost

* simple oauth2 test

* Make the playwright extension work

* Move oauth tests to a separate file

* Test all oauth flows

* Mark test as slow

* Wait for load state for new pages

* Use locators consistently

* Add playwright to recommended extensions

* Add instructions for how to use the playwright extension

* update selectors and use fill

* Fix markdown lint

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-02-28 16:28:02 +01:00
.github fix(brew): de-duplicate --open-pr flag in GHA (#4503) 2022-02-24 15:57:17 +00:00
.vscode Create smoketests for oauth flows (#4511) 2022-02-28 16:28:02 +01:00
packages Create smoketests for oauth flows (#4511) 2022-02-28 16:28:02 +01:00
plugins Merge branch 'release/2022.1.0-beta.0' into develop 2022-02-15 09:13:42 -05:00
screenshots [DOCU-2152] refresh screenshot and change title (#4402) 2022-01-25 00:29:15 +00:00
scripts [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
.dockerignore Statically link libcurl on Linux builds (#879) 2018-04-20 18:31:57 -04:00
.eslintignore [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
.eslintrc.js adds explicit react version (#4285) 2021-12-09 01:44:04 +00:00
.gitattributes Add .gitattributes (#506) 2017-10-10 22:55:22 +02:00
.gitignore adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
.markdownlint.yaml adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
.nvmrc Chore/upgrade-electron-12 (#4232) 2021-12-21 13:03:36 -05:00
CODE_OF_CONDUCT.md adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
CONTRIBUTING.md adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
DEVELOPMENT.md Chore: replace spectron with playwright (#4305) 2021-12-17 13:05:14 +01:00
jest-preset.js remove duplication of all jest configs (#3375) 2021-05-13 07:29:02 -04:00
lerna.json version packages lib@2.5.0-beta.1 2022-02-08 11:39:25 -05:00
LICENSE Remove copyright year in MIT license 2019-05-20 11:24:55 -04:00
package-lock.json Update TypeScript version. (#4463) 2022-02-08 20:19:22 +00:00
package.json improve smoke test docs (#4421) 2022-02-18 12:47:41 +00:00
README.md [DOCU-2152] refresh screenshot and change title (#4402) 2022-01-25 00:29:15 +00:00
SECURITY.md docs(SECURITY.md) Adding a simple security policy (#3801) 2021-07-19 00:10:25 +00:00
tsconfig.base.json Update TypeScript version. (#4463) 2022-02-08 20:19:22 +00:00
tsconfig.eslint.json remove duplication of all jest configs (#3375) 2021-05-13 07:29:02 -04:00

Insomnia API Client

Slack Channel license

Insomnia is an open-source, cross-platform API client for GraphQL, REST, and gRPC.

Insomnia API Client

Download

Insomnia is available for Mac, Windows, and Linux and can be downloaded from the website.

https://insomnia.rest/download

Bugs and Feature Requests

Have a bug or a feature request? First, read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

For more generic product questions and feedback, join the Slack Team or email support@insomnia.rest

Contributing

Please read through our contributing guidelines and code of conduct. Included are directions for opening issues, coding standards, and notes on development.

Documentation

Check out our open-source Insomnia Documentation.

Develop Insomnia app

Development on Insomnia can be done on Mac, Windows, or Linux as long as you have Node.js and Git. See the .nvmrc file located in the project for the correct Node version.

Initial Dev Setup

This repository is structured as a monorepo and contains many Node.JS packages. Each package has its own set of commands, but the most common commands are available from the root package.json and can be accessed using the npm run ... command. Here are the only three commands you should need to start developing on the app.

# Install and Link Dependencies
npm run bootstrap

# Run Tests
npm test

# Start App with Live Reload
npm run app-start

Linux

If you are on Linux, you may need to install the following supporting packages:

Ubuntu/Debian
# Update library
sudo apt-get update

# Install font configuration library & support
sudo apt-get install libfontconfig-dev
Fedora
# Install libcurl for node-libcurl
sudo dnf install libcurl-devel

Also on Linux, if Electron is failing during the bootstrap process, run the following

# Clear Electron install conflicts
rm -rf ~/.cache/electron

Windows

If you are on Windows and have problems, you may need to install Windows Build Tools

Editor Requirements

You can use any editor you'd like, but make sure to have support/plugins for the following tools:

  • ESLint For catching syntax problems and common errors
  • JSX Syntax For React components

Develop Inso CLI

  • Bootstrap: npm run bootstrap
  • Start the compiler in watch mode: npm run inso-start
  • Run: ./packages/insomnia-inso/bin/inso -v

Plugins

Search for, discover, and install plugins from the Insomnia Plugin Hub!

Community Projects

License

MIT © Insomnia