PromucFlow_constructor/app/client/cypress/locators
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
..
AdminsSettings.js feat: Connection pooling CE (#27328) 2023-10-10 14:54:28 +05:30
ApiEditor.js test: Cypress - Flaky Fix (#25979) 2023-08-03 23:54:36 +05:30
apiWidgetslocator.json chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
Applications.json fix: Fork button text color/hover, and fork=true query param fix (#27336) 2023-09-26 07:38:05 +05:30
AppNavigation.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
CMSApplocators.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
commonlocators.json refactor: Cypress SelectEntityByName (#29012) 2023-11-23 15:46:13 +05:30
DatasourcesEditor.json fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
DynamicInput.json feat: keyboard accessible multi-select dropdown, action selector and text input (#10622) 2022-02-10 16:42:44 +05:30
EnterpriseAdminSettingsLocators.json feat: code split branding helpers, add auth locators in CE (#26379) 2023-08-16 18:08:10 +05:30
explorerlocators.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
FirstTimeUserOnboarding.json feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
FormControl.json feat: added trigger for collection property editor, making it dd for mongo (#24213) 2023-06-14 12:16:09 +05:30
FormWidgets.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
GeneratePage.json fix: table version changed for crud (#29457) 2023-12-29 17:49:20 +05:30
GithubForm.json chore: Add redirect and homepage URL on Github config page (#24395) 2023-06-13 19:23:33 +05:30
gitSyncLocators.js chore: Updating strings to sentence case and moving brand colors logic update to tenant reducer (#28219) 2023-10-19 23:42:01 +05:30
GlobalSearch.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
GoogleForm.json fix: Adding a fix for copy clipboard URL not working on HTTP domain (#21313) 2023-03-14 11:41:52 +05:30
GuidedTour.json chore: Create tooltip Component (#23382) 2023-05-22 12:05:21 +03:00
HelpLocators.json Fix/help modal fab button toggle issue 1681 (#1692) 2020-11-12 16:56:54 +05:30
HomePage.js feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
jsActionLocators.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
JSEditor.json feat: js object v1 run and settings redesign (#11456) 2022-04-28 17:51:02 +01:00
jsonFormWidget.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Layout.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
LoginPage.json fix: fork app button not opening the fork modal for non-signed in users (#12479) 2022-04-11 10:44:50 +05:30
ModalWidget.json fix: Update title casing for action selector fields (#22270) 2023-05-23 11:17:47 +05:30
Omnibar.json test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Onboarding.json Onboarding flow (#2311) 2020-12-30 13:01:20 +05:30
OneClickBindingLocator.ts feat: JSON form widget one click binding integration (#25873) 2023-10-03 13:40:51 +05:30
Pages.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
PgAdminlocators.json chore: Remove back button (#29312) 2023-12-09 07:17:23 +05:30
publishWidgetspage.json feat/Replace fusion charts with Echarts (#24249) 2023-07-28 18:59:16 +05:30
QueryEditor.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
RatingWidgetLocators.ts test: Cypress - Rating widget (#25944) 2023-08-08 12:16:48 +05:30
ReconnectLocators.js feat: extend datasource reconnect modal tooltip to include title (#28696) 2023-11-15 07:39:29 +05:30
SignupPage.json fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
TemplatesLocators.json test: Cypress | Helpers improved + Flaky fixes (#30735) 2024-02-01 16:42:53 +05:30
ThemeLocators.json chore: add color validation + native color picker (#25355) 2023-08-07 11:55:10 +03:00
ViewWidgets.json feat/Replace fusion charts with Echarts (#24249) 2023-07-28 18:59:16 +05:30
welcomePage.json fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
WidgetLocators.ts chore: Anvil cypress tests (#30580) 2024-01-31 11:02:38 +05:30
Widgets.json feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30