PromucFlow_constructor/app/client/cypress/support/Pages
Aishwarya-U-R 4ffc5bb62a
test: Cypress | CI Stabilize + Other test improvements (#28172)
## Description
- **This PR flaky fixes below specs:**
    - GenerateCRUD/MySQL2_Spec.ts script fix
   - ServerSide/ApiTests/API_All_Verb_spec.js
   - Regression/Apps/PromisesApp_spec.js
   - TableV2_Property_ToggleJs_With_Binding_spec.js
   - GSheet cases failures due to EditApponHover method fix
- Radio/Radio2_spec.ts, using `GetHeight` instead of
`GetWidgetCSSHeight`
   - Select/Select3_Spec.ts
   - Widgets/Text/Text_new_feature_spec.js
   - Binding/API_with_List_Widget_spec.js
   - Workspace/LoginFromUIApp_spec.js - removed redundant code
   - QueryPane/DSDocs_Spec.ts
   - ServerSide/QueryPane/GoogleSheets_spec.ts
   - TableV2/Date_column_editing_1_spec.ts
- Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts - script flow
corrected
   - ServerSide/QueryPane/Mongo_Spec.js
- **Added validation for form plugin response data, which addresses the
Empty toast issue**

- **Below specs are fixed for new appName localStorage changes:**
    - /SettingsPane/PageSettings_spec.ts
    - BugTests/Moment_Spec.ts
    - /Fork/ForkAppWithMultipleDS_Spec.ts
    - Fork/ForkApplicationWithinAppEditor_spec.ts
    - Fork/ForkApplication_spec.ts
    - /ClientSide/OtherUIFeatures/Analytics_spec.js
    - OtherUIFeatures/ApplicationURL_spec.js
    - OtherUIFeatures/ExportApplication_spec.js - Duplicate case removed
    - OtherUIFeatures/UpdateApplication_spec.js
    - VisualTests/JSEditorIndent_spec.js
    - Workspace/WorkspaceImportApplication_spec.js
 
- **Improvemnets:**
- deployMode.StubWindowNAssert() improved to validate `getPluginForm`
instead of `getWorkspace`
  - agHelper.AddDsl() improved, removed wait times
  - appSettings.CheckUrl() - appName url updated
  - assertHelper.AssertDocumentReady() -removed wait times
- assertHelper.AssertNetworkResponseData() - added for `getPluginForm`
validation for Page loads
  - deployMode.DeployApp() -removed wait times
- homePage.CreateNewWorkspace() - improved to set localStorage for
workspaceName, workspaceId & create new workspace without new name
- homePage.CreateNewApplication() - - improved to set localStorage for
appName
  - jsEditor.NavigateToNewJSEditor() - improved to remove tooltip
- cy.CreateAppInFirstListedWorkspace() - improved to set localStorage
for appName, removed waitTimes, Removed rename of every app for every
spec, calling AssertNetworkResponseData(getPluginForm)
  - cy.DeleteWorkspaceByApi() added
- e2e.js - removed guid generation for first app, added
cy.DeleteWorkspaceByApi() in after()
  
#### 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-20 07:45:47 +05:30
..
AppSettings test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
AdminSettings.ts feat: Connection pooling CE (#27328) 2023-10-10 14:54:28 +05:30
AggregateHelper.ts test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
ApiPage.ts test: Cypess | Oracle DS validations added (Part 5) + CI Stabilize (#27440) 2023-09-20 00:56:11 +05:30
AssertHelper.ts test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
AutoLayout.ts test: Cypress | (DI) S3 added validations (Cont.,) + CI Stabilize (#26486) 2023-08-21 13:19:28 +05:30
CommunityTemplates.ts feat: community templates UI (#27302) 2023-09-25 11:57:23 +05:30
DataSources.ts test: Cypress | CI Stabilize (#27818) 2023-10-17 20:26:24 +05:30
DebuggerHelper.ts fix: api error update full error object instead of only defined keys (#27316) 2023-09-20 16:12:43 +05:30
DeployModeHelper.ts test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
EntityExplorer.ts chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
FakerHelper.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
GitSync.ts chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
GSheetHelper.ts test: Gsheet Automation (#25255) 2023-07-26 18:56:24 +05:30
HomePage.ts test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
InviteModal.ts feat: community templates UI (#27302) 2023-09-25 11:57:23 +05:30
JSEditor.ts test: Cypress | CI Stabilize + Other test improvements (#28172) 2023-10-20 07:45:47 +05:30
LibraryInstaller.ts feat: Added support for ESM builds of custom JS libraries (#26671) 2023-09-01 13:49:21 +05:30
MultipleEnvironments.ts chore: Multiple Env code split for 1-click (#27275) 2023-09-29 16:16:24 +05:30
Onboarding.ts chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
PeekOverlay.ts feat: peek overlay nested properties + perf improvements (#23414) 2023-05-26 17:12:10 +05:30
PropertyPane.ts test: Map widget automation (#27901) 2023-10-11 13:04:06 +05:30
Table.ts chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
Tabs.ts test: added tests for Tabs (#27765) 2023-10-05 09:34:41 +05:30
Templates.ts fix: Adds analytics event to log search input. (#27477) 2023-10-04 08:07:03 +00:00