PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight
Aishwarya-U-R e9a1f86e22
test: Cypress | CI Stablize + Other improvements (#28254)
## Description
**This PR does the below improvements:**
- Handles initial empty error toast- with cy.LogOut()
- Calling cy.LoginFromAPI() per need only - to improve execution time 
- Update agHelper.UpdateCodeInput()
- Added waitForNetworkCall for AsserHelper methods to only get api call
& validate
- Added gitSync.AuthorizeKeyToGitea() - to validate keyGenerate success
- Adding validationg for 'Unable to import application in workspace'
- cy.CreateNewAppInNewWorkspace() improved
- agHelper.RemoveUIElement() created to handle tooltip, toast,
evaluatedpopup & removed duplicates
- cy.merge() improved to call assertHelper
- assertHelper.AssertNetworkStatus() to handle both array & individual
status checks & return actual responseCode
- createBranch & generatedKey intercepts added to git operation
validations
- homePage.AssertApplication() created
- Removed cy.Logout() & Login improved - brings down total run time to
less than 1 hr from 1+ hrs
- entityExplorer.NavigateToSwitcher() improved to check status
- dataSources.ValidateDSDeletion() improved to handle one of array toast
for array value also
- assertHelper.WaitForNetworkCall() improved to wait & return latest
request
- Private methods processNetworkStatus() & processNetworkResponseData()
created
  
**Also flaky fixes below:**
- ServerSide/QueryPane/S3_2_spec.ts - Adding sleep for CI flaky
behaviour
- Trial fix for
cypress/e2e/Regression/ClientSide/OtherUIFeatures/PageOnLoad_spec.ts
- GitWithJSLibrary/GitwithCustomJSLibrary_spec.js - Handling Import
failure at various points in the flow
- ExplorerTests/Widgets_Copy_Paste_Delete_Undo_Keyboard_Event_spec.js
   - ClientSide/JSLibrary/Library_spec.ts - asserting success import
   - /OtherUIFeatures/ApplicationURL_spec.js - using cy.url()
   - /ClientSide/Templates/Fork_Template_spec.js
- ServerSide/Postgres_DataTypes/Binary_Spec.ts &
/Postgres_DataTypes/Json_Spec.ts - Adding sleep for CI flaky behaviour
   - ClientSide/Widgets/List/List4_2_spec.js
   - /Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts

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

## Testing

#### How Has This Been Tested?
- [X] Cypress CI runs

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after Cypress tests were reviewed
2023-10-25 19:33:07 +05:30
..
Auto_Height_Limit_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
Auto_Height_spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
CanvasHeight_resize_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
Container_collapse_undo_redoSpec.ts test: cypress -updated test for Tablev2 (#25951) 2023-08-08 22:26:57 +05:30
Container_Scroll_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Content_Alignment_spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
DynamicHeight_Visibility_spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
Form_With_SwitchGroup_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
Invisible_Widgets_spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
JsonForm_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
List_Resizing_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
List_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
List_TextWidget_Spec.ts test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
Modal_Widget_spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
Multiple_Container_spec.ts test: Cypress- js to ts migration tests for Dynamic Height feature (#24328) 2023-07-07 12:22:06 +05:30
Overlap_Test_spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
Tab_spec.ts test: cypress - added tests for container regression (#27515) 2023-09-22 15:15:59 +05:30
Text_With_Different_Size_spec.ts test: cypress - updated tests for Tab (#26210) 2023-08-10 19:42:19 +05:30
TextWidget_Spec.ts test: Cypress | Flaky fixes (#25769) 2023-07-27 13:34:11 +05:30