PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures
NandanAnantharamu 1007c2356d
test: replace LogintoApp with LoginFromAPI (#34040)
This replaces LogintoApp with LoginFromAPI

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

EE PR: https://github.com/appsmithorg/appsmith-ee/pull/4440
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Enhanced login functionality in multiple test scripts by shifting from
user-based login to API-based login.

- **Chores**
- Updated the spec names in the limited Cypress tests to align with new
test locations and names.
- Added new logout API call in the `LoginFromAPI` custom command to
improve test reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai
--><!-- This is an auto-generated comment: Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9517666274>
> Commit: a42a585c062bab201dd18f148981d5a4f4265556
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9517666274&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->
2024-06-14 20:52:49 +05:30
..
Analytics_spec.js
ApiError_spec.ts
ApplicationURL_spec.js
DynamicLayout_spec.js
EntityBottomBar_spec.ts
ErrorMessages_spec.ts
ExportApplication_spec.js
GlobalSearch_spec.js
Inspect_Element_spec.js
lazyRender_spec.js
Logs1_spec.js
Logs2_spec.js
Omnibar_spec.js
PageOnLoad_spec.ts
PreviewMode_spec.js
ProductUpdates_spec.js
Redirects_spec.js
Replay_Editor_spec.js
Replay_spec.js
Resize_spec.js
TriggerErrors_spec.js
Unique_key_spec.js
UpdateApplication_spec.js
ViewMode_spec.js
Widget_Error_spec.js