PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures
Aishwarya-U-R 67d20d9858
test: Cypress | Helpers improved + Flaky fixes (#30735)
## Description
- This PR fixes the RenameApplication flakyness in CI with added dynamic
check
- Also replacing js cy.renameApp to TS helper 
- Flaky fixes -
cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts (entire
spec updates for EnableGAC, removed signout from 'it' blocks)
- cypress/e2e/Regression/ClientSide/Workspace/ShareAppTests_Spec.ts (7th
flaky fixed)
-
cypress/e2e/Regression/ClientSide/SetProperty/WidgetPropertySetters2_spec.ts
(5th test)
-
cypress/e2e/Regression/ClientSide/Templates/Fork_Template_Existing_app_spec.js
(2nd - added validation to match the test description, 1st & 3rd -
removed static waits, Added multiple dynamic checks)
-
cypress/e2e/Regression/ClientSide/OtherUIFeatures/ApplicationURL_spec.js
(3rd & 4th flaky tests)
- homePage.AssertViewPageLoad() created
- homePage.LaunchAppFromAppHover() improved
- homePage.Signout() - added dynamic checks
- Added more validation to homePage.Signup() method with Dynamic checks
- homePage.LeaveWorkspace() removed redundant SelectWorkspace call
- admingSettings.EnableGAC() - added dynamic checks
- featureFlagIntercept - removed static sleep, reload check improved
- agHelper.VisitNAssert() - removed static sleep
- homePage.OpenMembersPageForWorkspace() - removed sleep, added dynamic
checks

#### 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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **Refactor**
- Enhanced Cypress test commands across multiple test suites for
improved efficiency and readability.
- Refactored conditional checks and method invocations for better test
scenario handling.
- **Tests**
- Updated testing approaches for application deployment, workspace
management, and error handling.
- Introduced new assertions for UI visibility and functional behavior in
automated tests.
- **Chores**
- Optimized GitHub Actions workflow by adjusting the matrix count for
build processes.
- Added new test specs for limited tests in the client-side regression
suite.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-01 16:42:53 +05:30
..
Analytics_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
ApplicationURL_spec.js test: Cypress | Helpers improved + Flaky fixes (#30735) 2024-02-01 16:42:53 +05:30
DynamicLayout_spec.js test: Cypress | Folder structure correction (#23568) 2023-05-21 02:01:50 +05:30
EmptyCanvas_spec.js refactor: Cypress Entity Explorer Presence functions (#29154) 2023-11-29 16:41:33 +05:30
EntityBottomBar_spec.ts test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
ErrorMessages_spec.ts refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
ExportApplication_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
GlobalSearch_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Inspect_Element_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
lazyRender_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Logs1_spec.js refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
Logs2_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Omnibar_spec.js feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
PageOnLoad_spec.ts feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
PreviewMode_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
ProductUpdates_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
Redirects_spec.js test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
Replay_Editor_spec.js feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
Replay_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
Resize_spec.js test: Cypress | Flaky fixes + Replacing static waits (#30067) 2024-01-12 12:00:12 +05:30
TriggerErrors_spec.js test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Unique_key_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
UpdateApplication_spec.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
ViewMode_spec.js feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
Widget_Error_spec.js refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30