PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/MobileResponsiveTests
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
..
AutoDimension_1_spec.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
AutoDimension_2_spec.ts test: Cypress | Flaky fixes (#24508) 2023-06-17 00:10:10 +05:30
AutoFillWidgets_Basic_2_spec.js chore: App Sidebar testing (#28479) 2023-11-15 08:01:12 +05:30
AutoFillWidgets_Basic_spec.js chore: App Sidebar testing (#28479) 2023-11-15 08:01:12 +05:30
AutoFillWidgets_Reflow_spec.ts test: Cypress - Unskip & Fix Flaky Tests (#26542) 2023-08-25 16:11:45 +05:30
AutoHeight_Container_spec.ts chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
AutoHeight_Form_spec.ts chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
AutoHeight_Modal_spec.ts chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
AutoHeight_Tabs_spec.ts chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
AutoLayout_Widgets_Copy_Paste_spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
AutoLayoutAutoHeight_spec.ts fix: View mode dimension observer (#29071) 2023-11-28 19:58:58 +05:30
AutoScroll_Validation_spec.js test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
ConversionAlgorithm_AutoLayout_Validation_BasicSpec.js refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
ConversionAlgorithm_FixedLayout_Mobile_Validation_Spec.js test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
ConversionAlgorithm_FixedLayout_Validation_Desktop.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
ConversionFlow_Corner_Cases_spec.ts refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
ConversionFlow_Generated_App_spec.ts chore: Exclude failing auto-layout test cases for air gapped instances (#24329) 2023-06-11 20:59:30 +05:30
FillwidgetResizingSpec.js test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
HugWidgetValidationSpec.js test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
ResizingSpec.ts test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Row_Gap_spec.ts chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
Snipping_mode_Basic_test.js chore: Refactor switching segments in Entity Explorer (#29130) 2023-11-28 16:41:54 +05:30
SuggestedWidgets_spec.js test: Cypress | Firestore validations added + CI Stabilize (#27554) 2023-09-25 20:02:54 +05:30
TableWidget_height_spec.ts fix: Makes use of mobile positioning properties in Table Widget (#24729) 2023-07-17 11:12:52 +05:30
ValidateAutoFillContainerWidgets_spec.js refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
ValidateAutoFillContainerWithInput_spec.js refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30