PromucFlow_constructor/app/client/src
Ayush Pahwa 0b3e188f06
chore: flexible return for test payload extraction func (#38443)
## Description
The `getTestPayloadFromCollectionData` extracts the `testPayload` from
passed `collectionData` and returns an empty string if no information is
present. This PR updates the function definition to allow different
default value based on the function call.


Fixes #37742 

## Automation

/test sanity

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12572189037>
> Commit: 26ea6e2b17c9a31e836ced4e3787a0723db63680
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12572189037&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 01 Jan 2025 16:34:44 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
  - Enhanced function handling for undefined collection data
  - Improved key iteration in action execution utilities

- **Documentation**
  - Added JSDoc comment to clarify function behavior

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-02 13:35:05 +05:30
..
actions chore: debounce handle action updates (#38396) 2024-12-30 12:18:19 +05:30
api chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
assets feat: update response tab UI (#37640) 2024-11-28 17:01:50 +05:30
ce chore: flexible return for test payload extraction func (#38443) 2025-01-02 13:35:05 +05:30
components chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
constants fix: calendly link on schedule a call click, jira and slack integration premium tag (#38331) 2024-12-25 11:58:07 +05:30
Datasource/components chore: reconnect ds detached from datasource editor part 1 (#35907) 2024-09-02 11:26:34 +05:30
ee fix: split default tab logic (#38414) 2024-12-30 17:47:07 +03:00
enterprise fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
entities chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
git chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
globalStyles fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
icons chore:delete unused files (#36368) 2024-09-19 16:01:03 +03:00
IDE chore: Side by Side exits beta phase (#38347) 2024-12-30 10:41:52 +05:30
instrumentation chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
layoutSystems chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
mockResponses
mocks chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
modules/ui-builder/ui/wds chore: fix wds select widget bugs + refactor (#38304) 2024-12-24 17:28:57 +05:30
navigation fix: API Body format focus retention (#37150) 2024-11-01 11:24:49 +05:30
pages chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
PluginActionEditor fix: split default tab logic (#38414) 2024-12-30 17:47:07 +03:00
plugins/Linting chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
polyfills chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
reducers chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
reflow chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
sagas chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
selectors chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
templates
theme
usagePulse feat: Added analytics for pulse failure (#37781) 2024-11-28 12:20:14 +05:30
utils chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
WidgetProvider chore: chore: add SVGR to appsmith-icon package, add processing for custom icons, update date-fns (#37115) 2024-10-28 14:55:42 +03:00
WidgetQueryGenerators chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
widgets chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
workers chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
App.css
AppErrorBoundry.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
config.d.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
Globals.d.ts fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
index.css chore: Remove google fonts imported from googleapis (#35392) 2024-08-07 08:49:04 +05:30
index.tsx chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
LandingScreen.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
preload-route-chunks.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
react-app-env.d.ts
RouteChangeListener.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
serviceWorker.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
store.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
wdyr.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00