PromucFlow_constructor/app/client
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
..
.husky
.yarn
cypress fix: fix oracle spec (#38435) 2025-01-01 15:31:30 +05:30
docker/templates chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
generators
packages chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
public chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
src chore: flexible return for test payload extraction func (#38443) 2025-01-02 13:35:05 +05:30
test chore: revert - git mod - integration app (#38431) 2024-12-31 17:46:11 +05:30
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json feat: add react-compiler eslint plugin (#37139) 2024-10-31 16:40:18 +01:00
.eslintrc.js
.fork-ts-checkerrc
.gitignore
.lintstagedrc.json
.nvmrc
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml
build.sh
craco.build.config.js chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
craco.common.config.js
craco.dev.config.js
cypress_ci_custom.config.ts
cypress_ci_hosted.config.ts
cypress_ci.config.ts
cypress-add-tags.js
cypress.config.ts
download-assets.js
jest.config.js chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
knip.json chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
package.json chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
README.md
README.old.md
start-caddy.sh
start-https.sh chore: Find version after backend is ready (#37861) 2024-11-29 18:57:57 +05:30
tailwind.config.js
tsconfig.json
tsconfig.path.json
vercel.json
yarn.lock chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30

Appsmith Client

This project was bootstrapped with Create React App.

For details on setting up your development machine, please refer to the Setup Guide