PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Binding
Alex e754e48e1f
feat: unified response view component (#37897)
## Description
Common component for response tab view.

Fixes #37759 


## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12242471397>
> Commit: 5263092079ad514d6c949b48d8510536ebeeadac
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12242471397&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 09 Dec 2024 21:00:53 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new `Response` component to handle and display action
responses in the plugin action editor.
- Streamlined response handling by consolidating components and updating
props for better performance and user experience.

- **Bug Fixes**
- Enhanced error handling and response display logic to improve clarity
and user interaction.

- **Documentation**
- Updated import paths and component references to reflect the new
structure and naming conventions.

- **Tests**
- Modified Cypress tests to utilize the new
`runQueryAndVerifyResponseViews` method for improved readability and
maintainability.
- Updated tests to replace direct interactions with UI elements by using
methods from the `BottomTabs` module for selecting response types.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-10 10:06:57 +03:00
..
API_with_List_Widget_spec.js feat: unified response view component (#37897) 2024-12-10 10:06:57 +03:00
Api_withPageload_Input_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
aTobAndbToaBasic_Spec.ts test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Button_Text_WithRecaptcha_spec.js test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
Button_with_API_spec.js feat: unified response view component (#37897) 2024-12-10 10:06:57 +03:00
ButtonGroup_binding_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
ButtonWidgets_NavigateTo_validation_spec.js fix: collapse params & query params in action selector if value is not changed (#35323) 2024-08-02 15:01:18 +05:30
ChartText_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
DatePicker_Text_spec.js test: fixed datepicker skipped tests set 2 (#37126) 2024-11-05 17:11:02 +05:30
Entity_delete_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Input_NavigateTo_validation_spec.js test:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
InputWidget_Table_Sorting_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
InputWidget_TableV2_Sorting_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
Invalid_binding_spec.js fix: improve validation error message for Table widget (#29686) 2024-01-03 19:26:33 +05:30
JS_Toggle_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
JSObject_Postgress_Table_spec.js chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
JSObjectToInput_Spec.ts test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
JSObjectToListWidget_Spec.ts feat: unified response view component (#37897) 2024-12-10 10:06:57 +03:00
LoadashBasic_Spec.ts test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
MomentBasic_Spec.ts test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
MultiSelect_Button_Text_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
NavigateToFeatureValidation_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
No_Binding_Prompt_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Promises_1_Spec.ts chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
Promises_2_Spec.ts test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
SelectWidget_Spec.ts test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
SmartSubstitutionWidgets_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Table_Api_spec.js feat: unified response view component (#37897) 2024-12-10 10:06:57 +03:00
Table_ClientSide_Search_spec.js test: replace togglebarDisable with CheckUncheck (#34069) 2024-06-10 19:55:17 +05:30
Table_DefaultSearch_Input_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
Table_selectedRow_Input_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Table_Style_ToggleJS_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Table_Widget__CondtionalFormatting_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Table_Widget_API_Derived_Column_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Table_Widget_API_Pagination_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TableTextPagination_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TableV2_Api_spec.js feat: unified response view component (#37897) 2024-12-10 10:06:57 +03:00
TableV2_ClientSide_Search_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
TableV2_DefaultSearch_Input_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
TableV2_Property_ToggleJs_With_Binding_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TableV2_Style_ToggleJS_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TableV2_Widget__CondtionalFormatting_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TableV2_Widget_API_Derived_Column_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TableV2_Widget_API_Pagination_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
TableV2TextPagination_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
TableV2Widget_selectedRow_Input_widget_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
TableV2Widgets_NavigateTo_Validation_spec.js test:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
TableWidgets_NavigateTo_Validation_spec.js test:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
TabWidget_Input_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
TextTable_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
TextTableV2_spec.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
Widget_loading_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30
Widgets_Default_data_validation_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
Widgets_Dependancy_validation_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Widgets_form_input_table_default_validation_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
Widgets_form_input_tableV2_default_validation_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
xmlParser_spec.js test: Cypress - Added Tags to test cases - @tag.GSheet, @tag.Datasource, @tag.JS, @tag.IDE, @tag.Settings, @tag.Binding (#29471) 2023-12-11 15:19:44 +05:30