PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Widgets
Druthi Polisetty 2fc20cfe8e
feat: widget property setters (#23441)
## Description


- This PR adds setter methods to update widget property
programmatically.

Example:-

`Input1.setText("setter methods are cool!");`

Docs link : 
https://docs.appsmith.com/reference/widgets
For any selected widget check the `Methods` section

#### PR fixes following issue(s)
Fixes 


#### Type of change

- New feature (non-breaking change which adds functionality)

## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [x] Jest
- [x] Cypress
>
>
#### Test Plan
https://github.com/appsmithorg/TestSmith/issues/2409

#### Issues raised during DP testing
- [x] [Errors are not logged in the
debugger](https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1564017346)
separate GitHub issue
https://github.com/appsmithorg/appsmith/issues/24609
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1564155545
( `setVisibility("false")` )
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1580525843
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1576582825
- Blocker for testing
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1577956441
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1577930108
- Not a issue (lint error query)
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1593471791
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1591440488
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1586747864
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1596738201
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1598541537
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1611413076
- [x]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1612621567
- [ ]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1619654507
- [ ]
https://github.com/appsmithorg/appsmith/pull/23441#issuecomment-1621256722

>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [x] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
- [x] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed

---------

Co-authored-by: Rishabh Rathod <rishabh.rathod@appsmith.com>
2023-07-08 19:37:26 +05:30
..
Audio test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Button test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Chart test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Checkbox test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
CodeScanner test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
CurrencyInput test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Datepicker test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
DocumentViewer test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Dropdown test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Filepicker test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Form test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Iframe test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Image test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Input test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
JSONForm test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
List test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
ListV2 test: Cypress | Flaky fixes (#25143) 2023-07-07 01:40:02 +05:30
Modal test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Multiselect test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Others feat: widget property setters (#23441) 2023-07-08 19:37:26 +05:30
PhoneInput test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Radio test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
RTE test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Select test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Sliders test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Switch test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Tab test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
TableV1 test: Cypress | Flaky fixes (#25143) 2023-07-07 01:40:02 +05:30
TableV2 test: Cypress | Flaky fix (#25179) 2023-07-07 23:28:16 +05:30
Text test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Container_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
deprecatedWidgets_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Disabled_Widgets_drag_validation_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Migration_Spec.js test: Cypress | Flaky fixes (#24508) 2023-06-17 00:10:10 +05:30
Tab_reset_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetCanvas_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetCopyPaste_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetGrouping_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetPropertySetters_spec.ts feat: widget property setters (#23441) 2023-07-08 19:37:26 +05:30
Widgets_Labels_spec.js
WidgetSelection_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30