PromucFlow_constructor/app/client/cypress/locators/ApiEditor.json

28 lines
1.1 KiB
JSON
Raw Normal View History

{
"curlImage": ".t--curlImage",
"curlImportBtn": ".t--importBtn",
"createBlankApiCard": ".t--createBlankApiCard",
"eachProviderCard": ".t--eachProviderCard",
"nameOfApi": ".t--nameOfApi",
"ApiNameField": ".t--action-name-edit-field",
"addToPageBtn": ".t--addToPageBtn",
"ApiActionMenu": ".t--more-action-menu",
"ApiDeleteBtn": ".t--apiFormDeleteBtn",
"ApiRunBtn": ".t--apiFormRunBtn",
"addToPageBtnsId": ".t--addToPageButtons",
"ApiHomePage": ".t--apiHomePage",
"formActionButtons": ".t--formActionButtons",
2020-05-15 12:20:09 +00:00
"dataSourceField": ".t--dataSourceField",
"responseBody": ".CodeMirror-code span.cm-string.cm-property",
"ApiVerb": ".t--apiFormHttpMethod",
2020-06-10 12:25:16 +00:00
"apiPaginationNextText": ".t--apiFormPaginationNext",
"apiPaginationPrevText": ".t--apiFormPaginationPrev",
"apiPaginationPrevTest": ".t--apiFormPaginationPrevTest",
"apiPaginationNextTest": ".t--apiFormPaginationNextTest",
"apiPaginationTab": ".t--apiFormPaginationType",
2020-08-25 12:22:54 +00:00
"apiTab": ".react-tabs__tab-list li",
"bodyType": ".t--apiFormPostBodyType",
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
"bodyTab": "Body",
"headersTab": "Header"
}