PromucFlow_constructor/app/client/cypress/e2e
NandanAnantharamu 6905d85607
test: Tree_Select_2_spec - Added toggle JS assertions before updating trigger functions (#32873)
## Description

1. Spec has been flaky because when JS toggle is on a property in edit
mode it should remain after entering edit mode from deployed mode. In
this PR, we are going to check if JS mode on for each trigger paths and
if not, toggle JS mode before adding trigger functions in each test.

2. We were asserting external URL(google.com) for `Navigate To`
functionality and navigating back from external URL using
`BrowserNavigation` to app was creating flakiness. Now we will be
stubbing the URL for same window.

Link - **Spec 36**
https://www.notion.so/appsmith/Cypress-tests-analysis-4090efa5e3064a2e87f262d3c399a339
            Phase 1


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

- **Tests**
- Enhanced test scenarios to assert the state of JavaScript toggles in
the Tree Select widget.
- **New Features**
- Introduced a method to toggle and verify JavaScript mode in the
Property Pane.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Apeksha Bhosale <7846888+ApekshaBhosale@users.noreply.github.com>
2024-05-01 10:46:40 +05:30
..
GSheet test: Cypress | GSheet test fixes for HomePage revamp changes (#30697) 2024-01-30 11:01:56 +05:30
Regression test: Tree_Select_2_spec - Added toggle JS assertions before updating trigger functions (#32873) 2024-05-01 10:46:40 +05:30
Sanity/Datasources fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
Smoke feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30