PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide/ApiTests
Sagar Khalasi 7f556268c3
fix: Fix test case for api (#36083)
## Description
RCA: Toggle button from log tab is not open always. Due to this next
element was not visible.
Fix: Have gone through the test case and found unnecessary steps for
verifying successful log. Update the only required code and fixed the
test case.

Fixes #`36082`  

## Automation

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

### 🔍 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/10714184973>
> Commit: bd850ca5d80f39c544b6953c85cddc43a3e723d0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10714184973&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Thu, 05 Sep 2024 05:42:15 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

## Summary by CodeRabbit

- **New Features**
- Enhanced API testing capabilities with updated test cases for various
HTTP methods.
	- Introduced new properties for improved API debugging in the UI.
	- Added a method to check the visibility of specific elements in tests.

- **Bug Fixes**
- Improved the `validateRequest` command to handle multiple API log
entries more effectively.

- **Chores**
- Updated the test specifications to focus on server-side API tests,
replacing outdated client-side entries.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-06 10:31:32 +05:30
..
API_All_Verb_spec.js fix: Fix test case for api (#36083) 2024-09-06 10:31:32 +05:30
API_Auto_Generated_Header_spec.ts fix: REST API multimedia file upload issue fixed (#32921) 2024-04-29 17:08:33 +05:30
API_Bugs_Spec.js test: updated tests by replacing external APIs (#32718) 2024-04-18 19:01:46 +05:30
API_ContextMenu_spec.js test:replace assertPageSave with AssertAutoSave (#33972) 2024-06-06 13:11:03 +05:30
API_CurlPOSTImport_spec.js feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
API_DefaultContentType_spec.js fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
API_Edit_spec.js test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_EvaluatedValue_spec.ts test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_MultiPart_Spec.ts fix: API multipart spec flakiness (#35927) 2024-08-28 17:47:44 +05:30
API_Mustache_spec.js test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_RequestBody_spec.ts test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_Response_View_spec.js test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_Search_spec.js chore: show suggested widgets in response (#31008) 2024-02-13 13:52:04 +05:30
API_Styles_spec.js test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_TestExecuteWithDynamicBindingInUrl_spec.ts test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
API_Unique_name_spec.js test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
Api_XSS_Vulnerability_spec.ts test: Cypress - tags added - @tag.Workspace, @tag.Datasource, @tag.JS, @tag.PropertyPane (#29704) 2023-12-18 17:41:37 +05:30
CurlImportFlow_spec.js feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30