PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures
Hetu Nandu cdd33a846f
feat: cURL import now happens via a modal (#34830)
## Description

Adds the cURL import flow to go through a modal instead of editor level
screen. This is done to ensure the IA is correct as per IDE 2.0
standards

Fixes #32942

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]
> 🔴 🔴 🔴 Some tests have failed.
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9869174972>
> Commit: 6143c1c79c0bb7c6a4899fc477985d0ed23699df
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9869174972&attempt=2&selectiontype=test&testsstatus=failed&specsstatus=fail"
target="_blank">Cypress dashboard</a>.
> Tags: @tag.All
> Spec: 
> The following are new failures, please fix them before merging the PR:
<ol>
> <li>cypress/e2e/Regression/ClientSide/OtherUIFeatures/Omnibar_spec.js
>
<li>cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_spec.ts</ol>
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master"
target="_blank">List of identified flaky tests</a>.
> <hr>Wed, 10 Jul 2024 07:56:03 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

- **Refactor**
- Updated test case function calls and refactored imports to improve
code structure and maintainability in multiple files related to CURL
import flows.
- Consolidated and rearranged steps in CURL import flow test cases for
better readability and organization.

- **New Features**
- Introduced `AppCURLImportModal` component to handle CURL command
imports within the API editor.
- Added constants `SET_CURL_MODAL_OPEN` and `SET_CURL_MODAL_CLOSE` for
managing the state of the CURL modal.

- **Style**
- Updated selector formats and added proper commas in the `ApiEditor.js`
file.

- **Chores**
- Removed unused constants and functions related to CURL import page
paths across multiple files for cleaner codebase.
- Streamlined the management of the CURL import modal state in the
reducer and added relevant selectors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-10 14:22:39 +05:30
..
Analytics_spec.js chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
ApiError_spec.ts chore: cypress strings replaced with var names (#33469) 2024-05-15 13:58:49 +05:30
ApplicationURL_spec.js test: Extract pageId with regex to cover more cases (#34521) 2024-07-02 06:31:59 +05:30
DynamicLayout_spec.js feat: New IDE Top Navbar (#31594) 2024-03-12 14:02:58 +05:30
EntityBottomBar_spec.ts chore: cypress strings replaced with var names (#33469) 2024-05-15 13:58:49 +05:30
ErrorMessages_spec.ts refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
ExportApplication_spec.js test: replace LogintoApp with LoginFromAPI (#34040) 2024-06-14 20:52:49 +05:30
GlobalSearch_spec.js test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
Inspect_Element_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
lazyRender_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Logs1_spec.js chore: removed config logs from debugger (#32049) 2024-03-26 14:10:22 +05:30
Logs2_spec.js fix: Debug button opens the Error tab (#33337) 2024-05-10 10:34:53 +05:30
Omnibar_spec.js feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
PageOnLoad_spec.ts feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
PreviewMode_spec.js chore: Add back Preview Mode shortcut (#31602) 2024-03-11 10:02:19 +05:30
ProductUpdates_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
Redirects_spec.js test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
Replay_Editor_spec.js chore: remove cypress hardcoded strings and waits (#33513) 2024-05-16 13:38:43 +05:30
Replay_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
Resize_spec.js test: Cypress | Flaky fixes + Replacing static waits (#30067) 2024-01-12 12:00:12 +05:30
TriggerErrors_spec.js test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
Unique_key_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
UpdateApplication_spec.js fix: cypress flakiness due to focus cypress function (#33106) 2024-05-02 10:10:13 +05:30
ViewMode_spec.js feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
Widget_Error_spec.js refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30