PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide
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
..
ActionExecution fix: appsmith.URL.queryParams update on same page navigation (#32382) 2024-04-09 16:01:17 +05:30
AdminSettings chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
Anvil chore: Merge wds and anvil feature flags (#32609) 2024-04-12 22:54:04 +05:30
AppNavigation fix: fixing issue with persisting branch name (#32914) 2024-04-24 17:53:07 +05:30
AuditLogs chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
Autocomplete fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
Binding chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
Branding chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
BugTests fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
CodeComment test: Cypress - added tag - @tag.AutoHeight, @tag.IDE (#29670) 2023-12-18 12:45:44 +05:30
CommunityTemplate fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
Debugger fix: property navigation spec (#32782) 2024-04-19 13:09:20 +05:30
DynamicHeight test: Cypress | Text_With_Different_Size_spec.ts re-write + Flaky fixes (#30445) 2024-02-08 16:55:58 +05:30
Editor test: Cypress - separated exclude airgap cases and tagged them (#30588) 2024-01-24 16:47:58 +05:30
EmbedSettings test: Cypress | Added Dynamic checks for Flaky fix + Cypress upgrade (#30840) 2024-02-02 16:01:59 +05:30
ExplorerTests fix: API_Pane_spec - Fixed new messages (#32848) 2024-04-22 19:54:23 +05:30
Fork fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
FormLogin chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
FormNativeToRawTests fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
Git test: Some cleanup for Git Cypress tests (#32836) 2024-04-23 10:01:14 +05:30
Github chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
Google chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
Homepage feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
IDE feat: revamped logic for tabs removal and action/JS deletion (#32690) 2024-04-19 12:19:24 +05:30
JSLibrary feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
JSObject test: fix JsObjectMutation flaky test (#32936) 2024-04-26 18:19:22 +05:30
Linting fix: show linting errors on browser API added (#32732) 2024-04-18 18:49:15 +05:30
MobileResponsiveTests chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
Onboarding chore: removed onboarding flags ab_create_new_apps_enabled , ab_start_with_data_default_enabled (#31384) 2024-03-15 11:13:14 +05:30
OneClickBinding fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
OtherUIFeatures fix: Omnibar_spec - removed external dependency and asserted appropriate elements (#32772) 2024-04-19 12:49:05 +05:30
PartialImportExport test: Cypress | Text_With_Different_Size_spec.ts re-write + Flaky fixes (#30445) 2024-02-08 16:55:58 +05:30
PeekOverlay feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Performance feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
ProductRamps feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
PropertyPane test: Cypress - added tags - @tag.JS, @tag.Perf, @tag.Settings, @tag.PropertyPane, @tag.Theme (#29682) 2023-12-18 17:18:23 +05:30
PublishedApps test: Cypress - added tags - @tag.JS, @tag.Perf, @tag.Settings, @tag.PropertyPane, @tag.Theme (#29682) 2023-12-18 17:18:23 +05:30
Refactoring feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
SetProperty fix: reverting back the context changes (#30899) 2024-02-05 22:03:53 +05:30
SettingsPane test: Fix page name test (#32825) 2024-04-19 17:59:03 +05:30
Templates fix: starter building blocks on canvas removes existing queries and JS objects (#32629) 2024-04-23 16:05:19 +05:30
ThemingTests chore: Remove "Save theme" functionality (#31481) 2024-03-12 18:54:39 +05:30
UserProfile feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
VisualTests test: visual tests to be enabled (#32731) 2024-04-19 17:03:10 +05:30
Widgets test: Tree_Select_2_spec - Added toggle JS assertions before updating trigger functions (#32873) 2024-05-01 10:46:40 +05:30
Workspace chore: Removing partner program callout from invite modal (#31576) 2024-03-07 13:20:51 +05:30