PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide
Rahul Barwal 756d1083ec
feat: Adds support for showing navbar in embedded view. (#23725)
## Description

- Adds support for query param navbar. We will show navbar and user
settings in the embedded view based on this.
- Made sure that user profile settings are not visiblie in embedded view
when navbar=true
- Adds logic to let user decide Template iframe URL. Till now, we forced
`embed=true` flag, moving forward we let this on user(devrel's)
descretion.
- Adds correct url for embed settings tab.

- Adds relevant tests for both embed settings and appview.

#### PR fixes following issue(s)
Fixes #23559

#### Media

| App normal preview | ?embed=true | ?embed=true&navbar=true |
|----------|:-------------:|------:|
| ![Screenshot 2023-05-26 at 3 08 16
PM](https://github.com/appsmithorg/appsmith/assets/6761673/019bbefd-719f-4f18-9373-77abac789fa2)
| ![Screenshot 2023-05-26 at 3 08 39
PM](https://github.com/appsmithorg/appsmith/assets/6761673/292035ec-5a2c-4139-ae86-119a872bae58)
| ![Screenshot 2023-05-26 at 3 08 59
PM](https://github.com/appsmithorg/appsmith/assets/6761673/a0a7fb8d-0f9f-42a7-b909-272e5ac310ad)
|

#### Type of change
- New feature (non-breaking change which adds functionality)

## Testing
- [ ] Cypress
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-06-05 19:37:39 +05:30
..
ActionExecution test: Cypress | Fix PostWindowMessage_spec (#23807) 2023-05-29 16:49:53 +05:30
AdminSettings test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
AppNavigation test: updated Falky test and incorporated ts test review comments (#23905) 2023-06-01 20:54:45 +05:30
AuditLogs test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
Autocomplete fix: SQL keyword style bug (#23929) 2023-06-05 08:25:39 +01:00
Binding test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
Branding test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
BugTests test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
CodeComment test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
DynamicHeight test: updated Falky test and incorporated ts test review comments (#23905) 2023-06-01 20:54:45 +05:30
Editor fix: excluding intercom test cases for airgap (#23974) 2023-06-02 12:10:49 +05:30
EmbedSettings test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
ExplorerTests test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
FormLogin test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
FormNativeToRawTests test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
Git test: Cypress | Handling confirmation dialogs (#23703) 2023-05-25 07:12:51 +05:30
Github test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
Google test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
IDE test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
JSLibrary test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
JSObject test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
Linting feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
MobileResponsiveTests test: Auto dimension scenarios (#23398) 2023-05-30 08:10:13 +05:30
Onboarding test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
OneClickBinding test: Cypress | Skipping tests to unblock CI (#24007) 2023-06-03 05:46:32 +05:30
OtherUIFeatures feat: Adds support for showing navbar in embedded view. (#23725) 2023-06-05 19:37:39 +05:30
PeekOverlay fix: peeking on undefined properties (#23818) 2023-06-05 09:24:10 +05:30
Performance test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
PropertyPane test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
Refactoring test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
SettingsPane feat: Adds support for showing navbar in embedded view. (#23725) 2023-06-05 19:37:39 +05:30
Templates test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
ThemingTests test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
UserProfile test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
VisualTests test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
Widgets test: Cypress - Flaky test fix (#23917) 2023-06-02 17:15:21 +05:30
Workspace feat: in-app ramps for "invite user to an application" and "custom roles" (#23588) 2023-05-30 10:59:01 +05:30