PromucFlow_constructor/app/client/cypress/support/Pages
Ravi Kumar Prasad 636d1839c7
fix: this.params shows error in IIFE (#22683)
## Description
This fixes the issue where using `this.params` in an IIFE function in
API query params showed error.

**How does this PR fix the issue?**
The PR adds an empty object as `params` in the global `this` context. So
that `this.params` doesn't evaluate to `undefined`.

Fixes #6732

Media
<img width="1182" alt="Screenshot 2023-04-25 at 12 59 36 AM"
src="https://user-images.githubusercontent.com/13567359/234096780-661be709-d5fc-40ed-800f-d5014c2da062.png">



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


## How Has This Been Tested?
- Cypress

### 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
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] 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
- [x] 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
- [x] Added Test Plan Approved label after reveiwing all Cypress test
2023-05-03 12:38:39 +05:30
..
AppSettings chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
AdminSettings.ts test: Cypress - Added AdminSettings Helper (#21741) 2023-03-27 15:06:03 +05:30
AggregateHelper.ts feat: Open doc links in a new tab (#22613) 2023-04-26 16:03:13 +00:00
ApiPage.ts fix: this.params shows error in IIFE (#22683) 2023-05-03 12:38:39 +05:30
DataSources.ts test: Cypress - Automated Basic tests for Redis datasource (#22734) 2023-04-25 23:54:36 +05:30
DebuggerHelper.ts feat: Error Navigation (#21753) 2023-04-10 18:29:14 +05:30
DeployModeHelper.ts chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
EntityExplorer.ts test: Cypress - Flaky fix (#22263) 2023-04-12 00:34:32 +05:30
FakerHelper.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
GitSync.ts chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
HomePage.ts feat: signposting stickiness (#22088) 2023-05-02 15:22:05 +05:30
InviteModal.ts feat: Updating invite modal & app settings for SSO embedding to introduce private app embedding (#22279) 2023-04-20 17:55:32 +05:30
JSEditor.ts feat: Error Navigation (#21753) 2023-04-10 18:29:14 +05:30
LibraryInstaller.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
Onboarding.ts feat: signposting stickiness (#22088) 2023-05-02 15:22:05 +05:30
PeekOverlay.ts feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
PropertyPane.ts fix: cursor position not between parenthesis for function autocomplete (#22694) 2023-04-28 15:33:12 +05:30
Table.ts test: Cypress - Fix Flaky Tests (#22604) 2023-05-02 23:19:42 +05:30
Templates.ts fix: fork template button not visible on page refresh (#20388) 2023-02-10 11:41:35 +05:30