PromucFlow_constructor/app/client/cypress
Arpit Mohan 286864eb3d
feat: Support body in GET API requests (#7127)
* WIP

* Refactoring HTTP Method & Content Type to be objects instead of arrays

TODO:
1. Set the default content-type for Get request to "None". Currently, it's raw
2. For None content-type, don't send the body field in the API request

* Almost working implementation for the None type

Currently, the body still gets sent in non-GET requests even if the None tab is selected.

* Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM

* WIP: Using enum & const for ts autocomplete

* working implementation for NONE type, apiContentType prop added to API actions

* WIP

* Refactoring HTTP Method & Content Type to be objects instead of arrays

TODO:
1. Set the default content-type for Get request to "None". Currently, it's raw
2. For None content-type, don't send the body field in the API request

* Almost working implementation for the None type

Currently, the body still gets sent in non-GET requests even if the None tab is selected.

* Adding object.freeze to prevent any modifications to HTTP_METHOD_ENUM

* WIP: Using enum & const for ts autocomplete

* working implementation for NONE type, apiContentType prop added to API actions

* adds apiContentType to actionConfiguration.formData object

* Handling apiContentType property in Rest API formData

* change apiContentType when user types content-type value and switches http method

* makes api editor as similar as possible to postman, project postman.

* Correcting the import in ApiEditorConstants

* Resolved all merge conflicts

* replay DSL functtionality

* removes unneccessary files from worker

* Fixes type declarations, naming e.t.c.

* fix server side merge conflicts

* fix client side merge conflicts

* fix failing cypress tests

Co-authored-by: Irongade <adeoluayangade@yahoo.com>
Co-authored-by: Ayangade Adeoluwa <37867493+Irongade@users.noreply.github.com>
2022-02-15 11:13:48 +00:00
..
fixtures feat: Support body in GET API requests (#7127) 2022-02-15 11:13:48 +00:00
integration/Smoke_TestSuite feat: Support body in GET API requests (#7127) 2022-02-15 11:13:48 +00:00
locators feat: Support body in GET API requests (#7127) 2022-02-15 11:13:48 +00:00
manual_TestSuite [Feature #4542] : simple nav unify api/datasource (#4987) 2021-06-30 23:51:52 +05:30
plugins test: Adding visual tests for layout validation (#9857) 2021-12-24 17:47:22 +05:30
sample_airbnb/sample_airbnb test: Automated tests for S3 uploads & Mongo Bugs + Flakiness fixes (#9931) 2021-12-29 11:11:30 +05:30
snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js chore: [ImgBot] Optimize images (#10344) 2022-01-14 23:23:24 +05:30
support refactor: admin settings (#9906) 2022-02-11 23:38:46 +05:30
.eslintrc.json [Feature] Grid Widget (#2389) 2021-04-23 11:13:13 +05:30
cypress-docker-compose.yml Adding Github Action workflow to the client code base (#66) 2020-07-16 11:20:46 +05:30
index.ts test: Automated tests for JSObjects in Typescript (#10223) 2022-01-10 09:51:43 +05:30
init-mysql-dump-for-test.sql chore: Perform perf tests on a large app (#10831) 2022-02-03 00:25:10 +05:30
init-pg-dump-for-test.sql Using local Postgres database instead of remote (#6241) 2021-07-30 11:41:14 +05:30
setup-test.sh test: Automated tests for S3 uploads & Mongo Bugs + Flakiness fixes (#9931) 2021-12-29 11:11:30 +05:30
test.sh Improve Codemirror mount performance (#5497) 2021-07-08 12:34:47 +05:30
tsconfig.json fix: Add meta to eval cycle and update it when default changes (#10401) 2022-01-28 16:40:05 +05:30