Commit Graph

9 Commits

Author SHA1 Message Date
James Gatz
ae45cfd041
upgrade to playwright v1.19 (#4517) 2022-02-24 11:11:46 +01:00
Filipe Freire
e31307c61e
chore: Improvements to playwright smoke checks (#4480)
* Enable playwright parallelism

Plus, move the cancel request test into its own separate test to reduce flakiness.

* Change num of playwright workers on GH actions back to 1

* Change 200 OK assertion

+ Add assertions to PDF canvas

+ Add assertion to Raw Data preview.

* Add assertions to response body elements

* Undo parallel suite for app.test.ts

* Remove parallelism workers from playwright.config.ts

* Code review improvements

Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>

* Code review improvements

Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-02-17 17:27:29 +00:00
Filipe Freire
45d9d4ece5
Add /cookies endpoint to smoke test express server (INS-1342)
* add /cookies endpoint to smoke test mock server

* add smoke test steps for /cookies endpoint

* Update packages/insomnia-smoke-test/tests/app.test.ts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-02-04 12:20:21 +00:00
Filipe Freire
ee04eb0c7d
add test for URL being focused on first time user experience (#4385)
* add test for URL being focused on first time user experience

* fix lint

* rm commented code
2022-01-26 12:31:01 +00:00
Dimitri Mitropoulos
4940348dd9
removes insomnia designer migration code (#4404) 2022-01-25 11:14:24 -05:00
James Gatz
ccf43c260e
Create a base playwright test with fixtures (#4390)
* Create a base playwright test with fixtures

* Remove waiting for 'window' event

It blocks debugging and is not adding extra confidence since .firstWindow allready works like that.

* Remove unused type and manual page close fn

* Update path checks for dev

* Only close the electron app in darwin
2022-01-24 10:26:53 +01:00
Jack Kavanagh
722044ed33
can cancel request (#4366) 2022-01-19 11:35:03 +00:00
Dimitri Mitropoulos
ecbb1ce1eb
create background resources on first launch (#4314)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-12-22 15:13:23 -05: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