PromucFlow_constructor/app/client/cypress/integration/Regression_TestSuite/ClientSideTests
Hetu Nandu 721767d742
feat: URL Navigation for Widgets (#20202)
## Description

Widget selection is driven by URL changes. This would fix browser
navigation for users as they can use browser back/forward buttons to
travel across older contexts on Appsmith.

> Fixing browser URL navigation for widgets

Fixes #19571


Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video


## Type of change

> Please delete options that are not relevant.

- New feature (non-breaking change which adds functionality)


## How Has This Been Tested?

- Manual
- Jest
- Cypress

### Test Plan
> Add Testsmith [test
cases](https://github.com/appsmithorg/TestSmith/issues/2171) links that
relate to this PR

### Issues raised during DP testing
- [X] When a selected widget is below viewport and user refreshes the
page, then the widget property pane is open but the page does not
navigate to the selected widget
https://loom.com/share/09f1eda2f02d474981a0d48e4a6419ec

- [ ] Drop 2 widgets one at a time > Delete both the widgets > Now click
on back button of the browser > Observe the url it shows the widget id
in the URL but the canvas remains empty
https://loom.com/share/53cae28a5d224e67b783c8ccf53745f5
Dev Response: This issue is valid but not a major inconvenience. We will
try to track it and see if it needed to be addressed. Many other web
tools do not handle such cases


- [X] Canvas scrolls down when all widgets are selected.
https://loom.com/share/c8a68dadcdb040779abd3a73bde2b06c

- [X] Widget is not getting highlighted when added from the API editor
page. Please refer to the attached
video:-https://jiju8jbmwa.vmaker.com/record/IkwiAqFgafK9dVmu



## Checklist:
### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [x] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

---------

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-02-21 19:08:16 +05:30
..
ActionExecution chore: fix imports to resolve EE conflicts (#20576) 2023-02-13 09:19:20 +05:30
AdminSettings
AuditLogs
Autocomplete feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
Binding feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
Branding fix: Brand colors sometimes shows different colors on cloud (#19672) 2023-02-02 11:43:00 +05:30
BugTests fix: User gets an error even when table widget is added from the API … (#20593) 2023-02-20 17:33:54 +05:30
CodeComment
DynamicHeight feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
EmbedSettings
ExplorerTests feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
FormLogin
FormNativeToRawTests
GenerateCRUD
Git feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
Github
Google
IDE feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
JSLibrary fix: JSPDF output API crash (#20544) 2023-02-10 13:13:22 +05:30
Linting test: Fix flaky tests + Add clean up for git repos (#20319) 2023-02-06 13:07:01 +05:30
Onboarding chore: Revert "feat: move the widget creation CTA off the Entity explorer (#… (#20335) 2023-02-03 14:47:01 +06:00
OtherUIFeatures feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
PeekOverlay feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
PropertyPane
Refactoring test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
SettingsPane
Templates test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
ThemingTests test: Flaky test fix (#20667) 2023-02-21 02:21:16 +05:30
VisualTests feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
Widgets feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
Workspace