PromucFlow_constructor/app/client/cypress/support/Pages
Aishwarya-U-R 01b31b3ae3
test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856)
## Description
- This PR removes static waits from below helpers & added dynamic checks
as needed:
         - apiPage.CreateApi(), apiPage.CreateAndFillGraphqlApi()
         - app/client/cypress/support/Pages/AppSettings/ThemeSettings.ts
- cy.CreateNewAppInNewWorkspace() - replaced static wait with dynamic
check
- dataSources.NavigateToDSCreateNew() - removed wait, updated logic
         - agHelper.VerifyEvaluatedValue()
- Flaky fix below specs:
- /Git/GitSync/GitSyncedApps_spec.js (fixed testcase # 2 - 4th onwards
is failing due to childbranch/master change - to be checked further)
- /Git/GitDiscardChange/DiscardChanges_spec.js
(EditorNavigation.NavigateToDatasource(), Sidebar.navigate())
         - /BugTests/ApiBugs_Spec.ts (3rd case)
         - /Dropdown/Dropdown_onOptionChange_spec.js (3rd case)
         - /ServerSide/ApiTests/API_Search_spec.js (3rd case)
- Removed extra Refresh call from before hook in
/BugTests/ApiBugs_Spec.ts
         

#### Type of change
- Script update (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

- **Bug Fixes**
	- Improved the reliability of API creation processes.
- Enhanced the user experience in theme settings by removing unnecessary
delays.
	- Streamlined navigation in the data source creation workflow.

- **Refactor**
- Optimized test automation scripts for better performance and
maintainability.
	- Updated element interaction methods to increase test robustness.
- Refined logic for selecting and asserting UI components within test
cases.

- **Chores**
- Adjusted test suite configurations to include new test cases and
exclude a specific test file.
	- Removed redundant page refresh steps to improve test execution speed.

- **Tests**
- Added new assertions to validate the evaluated values in test
scenarios.
- Simplified data source and query creation in widget test cases for
clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-05 11:42:03 +05:30
..
AppSettings test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +05:30
IDE test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +05:30
AdminSettings.ts feat: Connection pooling CE (#27328) 2023-10-10 14:54:28 +05:30
AggregateHelper.ts test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +05:30
ApiPage.ts test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +05:30
AssertHelper.ts test: Cypress | Replace static with Dynamic waits - Part 1 (#29405) 2023-12-11 14:39:36 +05:30
AutoLayout.ts feat: add layouts and widgets for sections and zones. (#29713) 2023-12-26 09:16:58 -05:00
CommunityTemplates.ts feat: community templates UI (#27302) 2023-09-25 11:57:23 +05:30
DataSources.ts test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +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 (#28403) 2023-10-27 18:43:28 +05:30
EditorNavigation.ts test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +05:30
EntityExplorer.ts fix: Improvements to Sidebar for navigation (#29205) 2023-11-30 06:11:59 +05:30
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 test: Cypress | Replace static with Dynamic checks (#29664) 2023-12-22 17:20:05 +05:30
GSheetHelper.ts test: Gsheet Automation (#25255) 2023-07-26 18:56:24 +05:30
HomePage.ts fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
InviteModal.ts test: Cypress | SetWidget property validations + CI Stabilize (#28626) 2023-11-06 15:18:00 +05:30
JSEditor.ts fix: Improvements to Sidebar for navigation (#29205) 2023-11-30 06:11:59 +05:30
LibraryInstaller.ts chore: App Sidebar testing (#28479) 2023-11-15 08:01:12 +05:30
MultipleEnvironments.ts chore: Multiple Env code split for 1-click (#27275) 2023-09-29 16:16:24 +05:30
Onboarding.ts feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
PageList.ts chore: Remove back button (#29312) 2023-12-09 07:17:23 +05:30
PeekOverlay.ts feat: peek overlay nested properties + perf improvements (#23414) 2023-05-26 17:12:10 +05:30
PropertyPane.ts test: Cypress | Replace static with Dynamic waits - Part 1 (#29405) 2023-12-11 14:39:36 +05:30
Table.ts test: Cypress | Replace static with Dynamic waits - Part 1 (#29405) 2023-12-11 14:39:36 +05:30
Tabs.ts test: added tests for Tabs (#27765) 2023-10-05 09:34:41 +05:30
Templates.ts feat: improve templates listing page in start with templates flow (#29524) 2023-12-22 13:41:35 +05:30