PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Widgets
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
..
Audio test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
Button test: Cypress - arbitrary fix button (#28150) 2023-10-18 10:16:29 +05:30
Camera test: Cypress - Fix Flaky Tests (#26694) 2023-08-28 21:53:25 +05:30
Chart test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
Checkbox test: Cypress | CI Stabilize (Skipped tests fixes) + Cypress upgrade to v13.0.0 (#26583) 2023-08-30 16:24:37 +05:30
CodeScanner test: Cypress | CodeScanner1_spec from js to ts (#27487) 2023-09-20 14:28:22 +05:30
CurrencyInput test: Cypress | CI Stabilize (Skipped tests fixes) + Cypress upgrade to v13.0.0 (#26583) 2023-08-30 16:24:37 +05:30
Datepicker test: Cypress - fix (#27743) 2023-10-02 16:11:09 +05:30
Divider test: Cypress -Divider widget automation (#26748) 2023-08-30 18:26:36 +05:30
DocumentViewer test: cypress - added tests for Document Viewer (#26199) 2023-08-14 18:02:08 +05:30
Dropdown feat: Integrate one click binding to sourceData of select and multi select widget (#25750) 2023-08-10 10:51:19 +05:30
Filepicker updated tests for filePicker regression tests (#27595) 2023-09-27 11:22:25 +05:30
Form test: cypress - updated tests which were flaky in nature (#26577) 2023-08-24 14:10:24 +05:30
Iframe test: updated flaky test for iframe (#28258) 2023-10-23 10:15:26 +05:30
Image test: Cypress | (DI) SMTP & Airtable validations + CI Stabilize (#26991) 2023-09-08 14:42:27 +05:30
Input test: Cypress - Select , Text , Input widget automation (#27009) 2023-09-07 23:48:33 +05:30
JSONForm feat: JSON form widget one click binding integration (#25873) 2023-10-03 13:40:51 +05:30
List test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
ListV2 fix: Check for parent widget existence to render drop target (#28275) 2023-10-23 16:41:40 +05:30
Modal test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
Multiselect test: added tests fo multiTreeSelect Regression tests (#27826) 2023-10-07 20:12:33 +05:30
Others fix: Removes platform functions from autocomplete list in data fields (#28217) 2023-10-24 12:13:37 +05:30
PhoneInput test: cypress - Added regression tests for PhoneInput (#26720) 2023-09-01 21:58:39 +05:30
Radio test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
Rating test: Cypress - rating case fix (#27716) 2023-10-02 16:56:15 +05:30
RTE test: cypress - test added for RTE regression (#27670) 2023-10-01 07:49:51 +05:30
Select test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
Sliders test: updated tests for flaky behaviour (#26395) 2023-08-19 07:06:22 +05:30
Statbox test: Cypress - Statbox regression tests (#27977) 2023-10-16 15:14:31 +05:30
Switch test: cypress - switch group cases - 1 (#26208) 2023-08-16 11:29:22 +05:30
Tab test: cypress - commenting a test in Tab spec (#27916) 2023-10-10 13:51:33 +05:30
TableV1 test: Cypress - json form widget tests (#27210) 2023-09-20 14:55:37 +05:30
TableV2 test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
Text test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
TreeSelect test: cypress - updating listv2 tests for regression (#27181) 2023-09-14 19:52:45 +05:30
Video test: Cypress - Flaky Fix (#27512) 2023-09-21 11:11:18 +05:30
Container_spec.js fix: color picker validation for empty state (#26414) 2023-08-22 12:50:03 +03:00
ContainerTest2_spec.ts test: cypress - added tests for container regression (#27515) 2023-09-22 15:15:59 +05:30
deprecatedWidgets_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Disabled_Widgets_drag_validation_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
ImperativeStoreUpdate_spec.ts feat: show lint error for imperative store update (#27708) 2023-09-29 18:00:23 +05:30
Migration_Spec.js test: Cypress | Flaky fixes (#24508) 2023-06-17 00:10:10 +05:30
Tab_reset_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetCanvas_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetCopyPaste_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetGrouping_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
WidgetPropertySetters_spec.ts feat: show lint error for imperative store update (#27708) 2023-09-29 18:00:23 +05:30
Widgets_Labels_spec.js
WidgetSelection_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30