fix: CURL empty command error msg fix
Description
- Changed the error message returned in case of empty input from the user for CURL import
Fixes #12008
Type of change
- Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
- Manual
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
- [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
- [ ] 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
Hi @PiyushPushkar02 , can you please add a JUnit TC for this in
CurImporterServiceTests.javaif possible ?
Done @sumitsum
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4935582637.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23119.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23119&runId=4935582637_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4935582637. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Sliders/RangeSlider_spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4935582637. Commit: ``. All cypress tests have passed 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4935582637. Commit: ``. All cypress tests have passed 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4935582637. Commit: ``. All cypress tests have passed 🎉
/build-deploy-preview
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4944585060.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 23119.
recreate: .
/build-deploy-preview
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4945106978.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 23119.
recreate: .
Deploy-Preview-URL: https://ce-23119.dp.appsmith.com