PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/BugTests
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
..
AbortAction_Spec.ts feat: enable generate CRUD page for MsSQL plugin (#27195) 2023-09-20 14:12:11 +05:30
AllWidgets_Reset_Spec.ts chore: remove feature flag for ramps (#26448) 2023-09-05 15:23:44 +07:00
ApiBugs_Spec.ts fix: converted sniping test cases to support suggested widgets, api binding bug (#26911) 2023-09-08 13:12:48 +05:30
Bug6732_Spec.ts
Bug9334_Spec.ts test: Cypress | CI Stabilize (Skipped tests fixes) + Cypress upgrade to v13.0.0 (#26583) 2023-08-30 16:24:37 +05:30
Bug14002_Spec.ts
Bug14987_spec.js test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Bug15056_Spec.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
Bug15909_Spec.ts test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
Bug16702_Spec.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
Bug18035_Spec.ts chore: Updating strings to sentence case and moving brand colors logic update to tenant reducer (#28219) 2023-10-19 23:42:01 +05:30
Bug18369_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Bug19893_spec.ts test: Cypress | (DI) S3 added validations (Cont.,) + CI Stabilize (#26486) 2023-08-21 13:19:28 +05:30
Bug19982_Spec.ts
Bug20275_Spec.js
Bug20841_Spec.ts test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
Bug21734_Spec.ts chore: code splitting for multiple env feature (#25479) 2023-07-21 12:53:17 +07:00
Bug22281_WelcomeTour_spec.ts test: Cypress - temp fix to workaround flaky CreateNewApp_spec (#24956) 2023-06-30 22:04:12 +05:30
Bug24194_Spec.ts feat: Improve Linting performance (#23865) 2023-07-05 14:34:03 +01:00
Bug24486_Spec.ts test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
Bug25148_Spec.ts fix: edit ds button was disabled due to no user perm in ds object (#25235) 2023-07-11 13:30:32 +05:30
Bug25894_spec.ts feat: assistive binding (#27070) 2023-09-15 21:23:51 +05:30
Bug25982_Spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
Bug26126_spec.ts fix: fix ds required fields (#26940) 2023-09-11 10:54:32 +01:00
Bug26716_Spec.ts test: Cypress | (DI) SMTP & Airtable validations + CI Stabilize (#26991) 2023-09-08 14:42:27 +05:30
Bug26941_Spec.ts fix: api error update full error object instead of only defined keys (#27316) 2023-09-20 16:12:43 +05:30
Bug27817_Spec.ts fix: table selection in schema preview data broken (#27823) 2023-10-06 17:35:19 +05:30
Bugs26410_spec.ts fix: This PR excludes Bug26410 test for airgapped instances (#26619) 2023-08-24 19:54:27 +05:30
CatchBlock_Spec.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
DatasourceSchema_spec.ts test: Cypress | Firestore validations added + CI Stabilize (#27554) 2023-09-25 20:02:54 +05:30
defaultFilterTextValue_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
DSDiscardBugs_spec.ts test: Cypess | Oracle DS validations added (Part 2) + CI Stabilize (#27282) 2023-09-14 16:53:42 +05:30
formHasChanged_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
GitBugs_Spec.ts test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
InputTruncateCheck_Spec.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
invalidLintError_Spec.ts
InvalidURL_Spec.ts test: Cypress | CI Stabilize (#26186) 2023-08-10 12:36:03 +05:30
JSParse_Spec.ts
Moment_Spec.ts test: Cypress | CI Stablize + Other improvements (#28254) 2023-10-25 19:33:07 +05:30
MultipleOnPageLoadConfirmation_Spec.ts