PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Debugger
shadabbuchh 2e73bfeab9
fix: Fix flakiness of JSObjects_navigation_spec.ts spec (#39269)
## Description
This PR fixes the flakiness of
`cypress/e2e/Regression/ClientSide/Debugger/JSObjects_navigation_spec.ts`
by making the following improvements:

1. Adding an assertion to verify the deletion of a JS Object in the
second test case.
2. Switching to full-screen mode before creating a JS Object in the
third test case.


Fixes https://github.com/appsmithorg/appsmith/issues/39267

## Automation

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

### 🔍 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/13325804763>
> Commit: 1e5af6110108e9694317e6943e487cc03c2edb34
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13325804763&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.JS, @tag.Sanity`
> Spec:
> <hr>Fri, 14 Feb 2025 09:51:57 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

- **Tests**
- Enhanced deletion confirmation checks to ensure users see successful
deletion notifications.
- Improved test stability by enforcing the correct screen mode before
creating new objects.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-14 16:57:13 +05:30
..
Api_pane_navigation_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
JSObjects_navigation_spec.ts fix: Fix flakiness of JSObjects_navigation_spec.ts spec (#39269) 2025-02-14 16:57:13 +05:30
Query_pane_navigation.ts fix: Fall of the error toasts wall (#35839) 2024-09-05 11:06:43 +05:30
Widget_property_navigation_spec.ts chore: skipping cases for mockdb usage (#38888) 2025-01-30 11:47:38 +05:30