PromucFlow_constructor/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests
Rishabh Rathod 6b751d914e
fix: improve error message and performance in JS functions (#19137)
## Description


- Added logic to replace async function undefined error with
"{{actionName}} cannot be used in this field".
- This change improves performance for 
  - ParseJSActions
  - Triggers execution
  - Each Appsmith framework action execution.
- This change adds all platform functions to evalContext permanently.

Fixes #12179
Fixes #13273

Internal discussion for error message :-
https://theappsmith.slack.com/archives/C02K0SZQ7V3/p1667457021297869?thread_ts=1667385039.225229&cid=C02K0SZQ7V3

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- Performance improvement


## How Has This Been Tested?

- Manual
- Jest
- Cypress

### Test Plan

- [ ] https://github.com/appsmithorg/TestSmith/issues/2086

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## 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:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-12-23 15:34:39 +05:30
..
ActionExecution fix: update settings pane validations (#18739) 2022-12-12 10:21:14 +05:30
Binding fix: improve error message and performance in JS functions (#19137) 2022-12-23 15:34:39 +05:30
BugTests fix: discard popup for gsheet updates (#18719) 2022-12-22 17:48:45 +05:30
DynamicHeight test: Cypress tests for AST-based entity refactor(WIP) (#18988) 2022-12-23 09:35:54 +05:30
ExplorerTests feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
FormNativeToRawTests feat: Datasource autosave improvements (#17649) 2022-11-30 11:29:45 +05:30
Git test: add common test methods for RBAC (#18968) 2022-12-16 10:45:25 +05:30
IDE fix: set soft focus for property pane inputs (#19009) 2022-12-16 22:52:47 +05:30
JSLibrary feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
Linting feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
Onboarding feat: [Context Switching] Complex widgets and other Phase 2 items (#17046) 2022-12-08 12:51:58 +05:30
OtherUIFeatures chore: Navigation analytics (#18781) 2022-12-15 09:36:13 +05:30
PropertyPane chore: Property pane search input focus (#18858) 2022-12-15 16:25:52 +05:30
SettingsPane fix: update settings pane validations (#18739) 2022-12-12 10:21:14 +05:30
Templates test: fix flaky tests (#18603) 2022-12-09 19:46:51 +00:00
ThemingTests chore: Update Logo/Favicon url + remove EE cypress code for Branding + Update screenshots tests (#18872) 2022-12-15 14:59:26 +05:30
VisualTests chore: Update Logo/Favicon url + remove EE cypress code for Branding + Update screenshots tests (#18872) 2022-12-15 14:59:26 +05:30
Widgets feat: [APPSMTH-29] make step up/down arrows in input Number and Currency widgets optional (#18764) 2022-12-21 22:37:15 +05:30
Workspace fix: Updating error message and placeholders for cloud instance (#19113) 2022-12-22 23:10:56 +05:30