Commit Graph

16 Commits

Author SHA1 Message Date
Jack Kavanagh
b41b13a99d
inso: shim more of the window (#4596) 2022-03-16 12:05:12 +00:00
Jack Kavanagh
4c657d4e5b
remove :smoke (#4597) 2022-03-16 09:36:41 +00:00
Jack Kavanagh
1f05683fad
Chore/upgrade-electron-17 (#4529)
* bump node, electron, libcurl

* bump electron-builder

* stub performance, because inso imports react

* bump @types/node

* match up builder versions

* Disable consent prompts for oidc server

* bump electron and libcurl to latest

* waitForCookies for oauth tests

* Bump NodeJS to 16.13.0

* removes node 14 hack for BufferEncoding

* Replace oidc-provider html interaction pages with a simple html form

* make document cookie wait explicit

Co-authored-by: David Marby <david@dmarby.se>
2022-03-07 13:10:35 +00:00
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
Jack Kavanagh
e768e05bfa
improve smoke test docs (#4421) 2022-02-18 12:47:41 +00:00
Dimitri Mitropoulos
4940348dd9
removes insomnia designer migration code (#4404) 2022-01-25 11:14:24 -05:00
Jack Kavanagh
cfed59e45e
can run playwright against latest changes (#4367) 2022-01-19 11:06:28 +00:00
Jack Kavanagh
8cea5edc26
Chore: replace spectron with playwright (#4305)
* add smoke test fixture

* respect INSOMNIA_DATA_PATH override in CI

* add playwright

* remove spectron

* move CLI tests after app smoke tests in CI

* remove onboarding skip

* random path feedback

* npx feedback

* remove DATA_PATH override

* remove step from import process

* cleanup

* restore readme

* move specs to tests

* feedback on DESIGNER_DATA_PATH

* remove skipLibCheck

* last mention of spectron

* fix windows npm run test:smoke:build

* DATA_PATH override is required

* github CI is slow sometimes
2021-12-17 13:05:14 +01:00
Opender Singh
615287ccfc
Create single inso executable using pkg (#4049)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-06 22:01:43 +00:00
Dimitri Mitropoulos
422d5a809c
adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
Opender Singh
8b011d68cf
Types for DnD, reuse and connect sidebar components to redux (#3853) 2021-07-29 05:12:59 +00:00
Josh Soref
9006babd38
fix spelling (#2976) 2021-05-25 12:16:43 -04:00
Opender Singh
5fa8f0069d
Enable ESLint & TS for smoke tests (#3397)
* remove babel and add configs

* add ts-node

* lint scripts

* eslint override

* remove type module

* add expect errors

* update js files to ts

* fix electron import

* remove errors

* update readme

* add build step

* typesync

* add eslintignore
2021-05-19 07:49:48 -04:00
Mike Ellan
8c724a30ed
Updating readme for single app merge (#3197) 2021-03-17 12:30:21 +13:00
Opender Singh
c46a7c4c4c
Smoke and Unit testing documentation (#2947)
* chore: smoke testing documentation

* chore: unit testing documentation

* chore: address comments and add a section on element selection

* chore: replace screenshot with code block
2020-12-18 00:54:30 +13:00
Opender Singh
3c345d4be1
Mock server for e2e tests using Prism (#2544)
Co-authored-by: David Marby <david@dmarby.se>
2020-08-25 10:13:29 +12:00