PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Widgets
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
..
Audio feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Button feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Camera chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
Chart chore: Remove echarts feature flag (#30201) 2024-01-19 11:38:34 +05:30
Checkbox feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
CodeScanner feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
CurrencyInput fix: refactored currency code data to remove duplication problem (#32242) 2024-03-29 16:12:23 +05:30
Custom chore: Remove FEATURE_FLAG release_custom_widgets_enabled (#31577) 2024-03-08 11:50:35 +05:30
Datepicker feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Divider test: Cypress - added @tag.Checkbox, @tag.Scanner, @tag.Datepicker, @tag.DocumentViewer, @tag.CurrencyInput, @tag.Dropdown (#29687) 2023-12-18 16:59:48 +05:30
DocumentViewer test: Cypress - added @tag.Checkbox, @tag.Scanner, @tag.Datepicker, @tag.DocumentViewer, @tag.CurrencyInput, @tag.Dropdown (#29687) 2023-12-18 16:59:48 +05:30
Dropdown chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
Filepicker fix: file picker widgets removing files causing abnormal content (#31646) 2024-03-11 18:13:12 +05:30
Form chore: fix text editor widget cypress spec (#32271) 2024-04-01 11:25:21 +05:30
Iframe feat: New IDE Top Navbar (#31594) 2024-03-12 14:02:58 +05:30
Image test: Some cleanup for Git Cypress tests (#32836) 2024-04-23 10:01:14 +05:30
Input feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
JSONForm feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
List feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
ListV2 test: updated test for DataIdentifier (#32752) 2024-04-22 10:41:11 +05:30
Modal test: updated tests by replacing external APIs (#32718) 2024-04-18 19:01:46 +05:30
Multiselect test: Cypress | Skip bug test from MultiSelect5_spec.ts (#30871) 2024-02-02 18:01:05 +05:30
Others fix: [map chart widget] create unique instance of map loader per widget to avoi… (#31822) 2024-03-15 13:17:11 +05:30
PhoneInput feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Radio test: Cypress - remove width tests (#30577) 2024-01-24 13:05:49 +05:30
Rating test: Cypress - added tags - @tag.Radio, @tag.Rating, @tag.TextEditor, @tag.PhoneInput, @tag.IconButton, @tag.Maps, @tag.MenuButton, @tag.Progress, @tag.Statbox (#29693) 2023-12-18 17:25:28 +05:30
RTE fix: replaced with different solution (#32820) 2024-04-19 17:20:12 +05:30
Select fix: Select / Multi select widget should retain the selection when the options are server side filtered (#30490) 2024-01-26 17:31:26 +05:30
Sliders fix: number slider + category slider color spec fails (#32935) 2024-04-29 11:31:46 +05:30
Statbox feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Switch feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Tab test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
TableV1 feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
TableV2 fix: [Table Widget] Remove unnecessary scrollbar when page size fits in available height (#32327) 2024-04-15 12:21:08 +05:30
Text feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
TreeSelect test: Tree_Select_2_spec - Added toggle JS assertions before updating trigger functions (#32873) 2024-05-01 10:46:40 +05:30
Video feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Container_spec.js test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
ContainerTest2_spec.ts chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
deprecatedWidgets_spec.js test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
Disabled_Widgets_drag_validation_spec.js test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
ImperativeStoreUpdate_spec.ts test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
Migration_Spec.js test: fix migration spec (#32920) 2024-04-26 18:19:37 +05:30
Tab_reset_spec.js test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
WidgetCanvas_spec.js test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
WidgetCopyPaste_spec.js chore: autoFocus widget search input on load (#32002) 2024-04-03 13:21:53 +05:30
WidgetGrouping_spec.js test: Cypress - @tag.Video, @tag.Container, @tag.Switch, @tag.Slider, @tag.Tab, @tag.Table, @tag.Select (#29698) 2023-12-18 17:05:27 +05:30
Widgets_Labels_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
WidgetSelection_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30