PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide
Abhinav Jha 666493fab9
fix: View mode dimension observer (#29071)
## Description
- The dimension observer in auto layout was not triggering in the viewer
due to the fact that the observed container did not adapt to the child
contents.
- This worked in the editor because the document was not in the default
`position:auto` flow.

- The fix was to change the `position` property to `auto` and make sure
that the observed container has the height which `fit-content`.

Reference:
https://www.joshwcomeau.com/css/understanding-layout-algorithms/

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

#### Media
#### Type of change
- Bug fix (non-breaking change which fixes an issue)

## Testing
#### How Has This Been Tested?
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [x] Cypress

## 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
- [NA] 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/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#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

---------

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-11-28 19:58:58 +05:30
..
ActionExecution chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
AdminSettings test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
AppNavigation chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
AuditLogs chore: Optimising the code for admin settings page (#25404) 2023-07-18 15:18:48 +05:30
Autocomplete chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Binding refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
Branding test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
BugTests chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
CodeComment refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
CommunityTemplate feat: community templates UI (#27302) 2023-09-25 11:57:23 +05:30
Debugger chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
DynamicHeight refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
Editor fix: excluding intercom test cases for airgap (#23974) 2023-06-02 12:10:49 +05:30
EmbedSettings test: Cypess | Oracle DS validations added (Part 4) + CI Stabilize (#27348) 2023-09-19 14:17:30 +05:30
ExplorerTests chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Fork refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
FormLogin test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
FormNativeToRawTests test: Gsheet Automation (#25255) 2023-07-26 18:56:24 +05:30
Git chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Github test: Cypress - Flaky Fix (#26272) 2023-08-17 16:00:37 +05:30
Google test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
IDE chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
JSLibrary chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
JSObject chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Linting chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
MobileResponsiveTests fix: View mode dimension observer (#29071) 2023-11-28 19:58:58 +05:30
Onboarding chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
OneClickBinding chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
OtherUIFeatures chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
PeekOverlay chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Performance feat: Improve Linting performance (#23865) 2023-07-05 14:34:03 +01:00
ProductRamps fix: Ramp selector link to redirect on portal (#28179) 2023-10-18 18:07:26 +05:30
PropertyPane chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
PublishedApps test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
Refactoring chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
SetProperty refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
SettingsPane chore: App Sidebar testing (#28479) 2023-11-15 08:01:12 +05:30
Templates refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
ThemingTests chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
UserProfile test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
VisualTests chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Walkthrough fix: run before walkthrough function to select widget before showing it (#27688) 2023-10-06 15:33:27 +05:30
Widgets chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
Workspace refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30