PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide
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
..
ActionExecution fix: PostMessage's message field in Action selector doesn't support Objects (#25467) 2023-07-21 17:15:48 +05:30
AdminSettings test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
AppNavigation test: cypress - js to ts migration for AppNavigation (#25188) 2023-07-19 14:35:31 +05:30
AuditLogs chore: Optimising the code for admin settings page (#25404) 2023-07-18 15:18:48 +05:30
Autocomplete feat: Add linting error for assignment expression (#25140) 2023-07-24 12:23:45 +05:30
Binding chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
Branding test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
BugTests fix: Don't show schema for schema-less plugins (#25460) 2023-07-24 12:18:20 +05:30
CodeComment test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
DynamicHeight test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
Editor fix: excluding intercom test cases for airgap (#23974) 2023-06-02 12:10:49 +05:30
EmbedSettings test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
ExplorerTests feat: Widget Discoverability (#24934) 2023-07-22 11:27:18 +05:30
Fork test: Cypress | Changing types of moved test specs (#25225) 2023-07-10 08:39:28 +05:30
FormLogin
FormNativeToRawTests test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Git test: Cypress - Flaky fix (#25451) 2023-07-20 18:45:27 +05:30
Github
Google
IDE chore: Stub /features call in tests (#25104) 2023-07-05 19:39:04 +05:30
JSLibrary chore: Add bcryptjs to list of recommended libraries (#25456) 2023-07-19 19:22:48 +05:30
JSObject test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
Linting chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
MobileResponsiveTests chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
Onboarding test: Cypress - Flaky fix (#25451) 2023-07-20 18:45:27 +05:30
OneClickBinding chore: Miscellaneous one click binding updates (#24957) 2023-07-20 11:52:20 +05:30
OtherUIFeatures chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
PeekOverlay chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
Performance feat: Improve Linting performance (#23865) 2023-07-05 14:34:03 +01:00
ProductRamps feat: in-app ramps for private embed feature (#24507) 2023-06-21 13:39:14 +05:30
PropertyPane test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
PublishedApps chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
Refactoring chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
SettingsPane chore: Refactors hide embed share setting flag. (#25284) 2023-07-12 19:19:49 +05:30
Templates fix: Reset templates filter for templates modal (#24192) 2023-06-29 11:52:05 +05:30
ThemingTests test: Cypress | ThemingTests fixes (#24577) 2023-06-17 20:16:39 +05:30
UserProfile test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
VisualTests test: Cypress | Skipping Visual tests until path is fixed - (without Dashboard run) (#25488) 2023-07-19 16:20:55 +05:30
Widgets feat: Add linting error for assignment expression (#25140) 2023-07-24 12:23:45 +05:30
Workspace test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30