PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Widgets
Rishabh Rathod b863b39d69
feat: Add linting error for assignment expression (#25140)
## Description


This change adds a linting error for direct mutation of widget property
like `Widget.property = "dsf"` and instead suggests to use setter
methods.


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


#### Type of change

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

## Testing

- [x] Add jest tests as mentioned in the
[comments](https://www.notion.so/appsmith/Widget-Property-Setters-Tech-Spec-2a34730e2e6d4df8ae7637c363b1096c?pvs=4#276554d9875b42d68868aa969e9d7d03)
of the tech spec document for this project.
- [x] Add test to verify linting error for widget assignment
- [x] Add cypress test for autocomplete of more setter methods 
- [x] Add cypress test for currencyInput setValue 

#### How Has This Been Tested?

- [ ] Manual
- [ ] Jest
- [x] Cypress

#### Test Plan

#### Issues raised during DP testing

## 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/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] 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
- [x] Cypress test cases have been added and approved by SDET/manual QA
- [x] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed

---------

Co-authored-by: Druthi Polisetty <druthi@appsmith.com>
2023-07-24 12:23:45 +05:30
..
Audio test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Button feat: activation phase 1 (#25126) 2023-07-12 12:12:16 +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 | Flaky Fixes (#25217) 2023-07-11 10:44:13 +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 chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
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 | Flaky Fixes (#25217) 2023-07-11 10:44:13 +05:30
ListV2 feat: Widget Discoverability (#24934) 2023-07-22 11:27:18 +05:30
Modal feat: Widget Discoverability (#24934) 2023-07-22 11:27:18 +05:30
Multiselect test: Cypress | Flaky Fixes (#25217) 2023-07-11 10:44:13 +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 | Flaky Fixes (#25217) 2023-07-11 10:44:13 +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 fix (#25341) 2023-07-18 18:06:01 +05:30
TableV2 test: Cypress - Flaky fix (#25451) 2023-07-20 18:45:27 +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: Add linting error for assignment expression (#25140) 2023-07-24 12:23:45 +05:30
Widgets_Labels_spec.js
WidgetSelection_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30