PromucFlow_constructor/app/client/cypress/locators
Keyur Paralkar 7ea7e97fdc fix: change to lodash wrapper (#24610)
## Description
This issue is happening because we are getting lodash library as
`undefined` when we pass it to` derived.value` function here. This is
happening because of the following reason:
* [Bundle optimisation
PR](https://github.com/appsmithorg/appsmith/pull/21667) introduces a new
plugin called: `babel-plugin-lodash`. It helps in transforming the
imports.
* But this plugin doesn't work on the following pattern: `import _ from
"lodash"`. Here it replaces `_` with `undefined`
[ This
file](3bc50d9632/app/client/src/workers/common/JSLibrary/lodash-wrapper.js (L1))
explains the exact scenario that we are facing.
There is also [an open
bug](https://github.com/lodash/babel-plugin-lodash/issues/235) for this
issue on the `babel-plugin-lodash` repository.

This PR imports lodash from the lodash-wrapper instead of directly
importing as follows: `import _ from "lodash"`
>
#### PR fixes following issue(s)
Fixes #23671

#### Type of change
- Bug fix (non-breaking change which fixes an issue)

## Testing
>
#### How Has This Been Tested?

- [x] Manual
- [ ] Jest
- [x] Cypress
- should check that value entered in currency field appears in the
actual field
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### 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
- [x] My code follows the style guidelines of this project
- [x] 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
- [ ] 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

(cherry picked from commit f47b1c896d)
2023-06-20 13:11:29 +05:30
..
AdminsSettings.js fix: move instance-name to tenant config; move update tenant config flow to CE (#24468) 2023-06-16 19:01:00 +05:30
ApiEditor.js fix: casing changes (#23515) 2023-06-09 14:22:27 +05:30
apiWidgetslocator.json fix: casing changes (#23515) 2023-06-09 14:22:27 +05:30
Applications.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
AppNavigation.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
CMSApplocators.js feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
commonlocators.json chore: Conversion and Copy Paste tests for Autolayout (#23702) 2023-06-09 20:10:12 +05:30
DatasourcesEditor.json feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
DynamicInput.json
EnterpriseAdminSettingsLocators.json fix: Cypress tests for admin settings's watermark setting (#15760) 2022-08-11 17:35:08 +02:00
explorerlocators.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
FirstTimeUserOnboarding.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
FormControl.json feat: added trigger for collection property editor, making it dd for mongo (#24213) 2023-06-14 12:16:09 +05:30
FormWidgets.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
GeneratePage.json chore: Create tooltip Component (#23382) 2023-05-22 12:05:21 +03:00
GithubForm.json chore: Add redirect and homepage URL on Github config page (#24395) 2023-06-13 19:23:33 +05:30
gitSyncLocators.js feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
GlobalSearch.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
GoogleForm.json fix: Adding a fix for copy clipboard URL not working on HTTP domain (#21313) 2023-03-14 11:41:52 +05:30
GuidedTour.json chore: Create tooltip Component (#23382) 2023-05-22 12:05:21 +03:00
HelpLocators.json
HomePage.js feat: Adds support for showing navbar in embedded view. (#23725) 2023-06-05 19:37:39 +05:30
jsActionLocators.json
JSEditor.json feat: js object v1 run and settings redesign (#11456) 2022-04-28 17:51:02 +01:00
jsonFormWidget.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Layout.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
LoginPage.json fix: fork app button not opening the fork modal for non-signed in users (#12479) 2022-04-11 10:44:50 +05:30
ModalWidget.json fix: Update title casing for action selector fields (#22270) 2023-05-23 11:17:47 +05:30
Omnibar.json test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Onboarding.json
OneClickBindingLocator.ts chore: [One-click binding] design and QA callouts one click binding (#23997) 2023-06-06 23:05:43 +05:30
Pages.json chore: Create tooltip Component (#23382) 2023-05-22 12:05:21 +03:00
PgAdminlocators.json test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
publishWidgetspage.json feat: Code Scanner Widget (#15990) 2022-09-16 10:25:32 +05:30
QueryEditor.json test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
ReconnectLocators.js chore: Create tooltip Component (#23382) 2023-05-22 12:05:21 +03:00
SignupPage.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
TemplatesLocators.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ThemeLocators.json fix: casing changes (#23515) 2023-06-09 14:22:27 +05:30
ViewWidgets.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
welcomePage.json fix: split button into 2 button components to fix issue in firefox. (#23900) 2023-05-31 14:43:25 +05:30
WidgetLocators.ts fix: change to lodash wrapper (#24610) 2023-06-20 13:11:29 +05:30
Widgets.json fix: Update title casing for action selector fields (#22270) 2023-05-23 11:17:47 +05:30