PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Git
NandanAnantharamu 9979d241a2
test: fixed failing GitImport test (#34589)
RCA:
Gitimport test was failing at the place of reconnect DS
And also later in 4th test during commit and push

Solution:
replaced some js helper with ts helper
updated commit and push to fix the test

Equivalent EE PR: https://github.com/appsmithorg/appsmith-ee/pull/4683

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

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9936172520>
> Commit: bb039490207a71fa4e411da1fb3ebe222c2ed2de
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9936172520&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 15 Jul 2024 09:03:21 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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

- **Tests**
- Updated Git import flow test scenario to enhance control flow and
method calls.
- Improved commit and push command with additional assertions for
element visibility and input in Git sync tests.
  - Updated spec name for limited tests in Cypress test configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-15 15:34:59 +05:30
..
ExistingApps/v1.9.24 fix: table version changed for crud (#29457) 2023-12-29 17:49:20 +05:30
GitDiscardChange chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
GitImport test: fixed failing GitImport test (#34589) 2024-07-15 15:34:59 +05:30
GitSync feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
GitWithAutoLayout chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
GitWithJSLibrary test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
GitWithTheming test: Remove pause from code (#34798) 2024-07-10 11:54:40 +05:30