PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/BugTests
Aishwarya-U-R a6b8a3440e
test: Cypress | Text_With_Different_Size_spec.ts re-write + Flaky fixes (#30445)
## Description
- This PR re-writes the entire Text_With_Different_Size_spec.ts spec to
fix the master run flakyness and and improves the overall complexity of
the test case format
- cypress/e2e/Regression/ClientSide/Onboarding/StartFromScratch_spec.ts
(agHelper.VisitNAssert improved)
- Master runs pass at
[Run1](https://github.com/appsmithorg/appsmith-ee/pull/3337#issuecomment-1899183181),
[Run2](https://github.com/appsmithorg/appsmith-ee/pull/3337#issuecomment-1899197871)
- cypress/e2e/Regression/ClientSide/BugTests/AbortAction_Spec.ts (1st
test - replace with TED url)
- getConsolidatedDataApi() separated, created new
agHelper.CypressReload()
- Removed cy.log statements from few places
- homePage.LogOutviaAPI() removed static wait
- Replaced homePage.LogOutviaAPI(); with homePage.Signout(); in places
where its flaky
- Split /Onboarding/StartFromScratch_spec.ts to 3 specs to reduce
flakyness
- Split /ClientSide/PartialImportExport/PartialExport_Widgets_spec.ts
with failing test to run the other tests in CI
- /Templates/Fork_Template_To_App_spec.ts - Added dynamic check to fix
CI flakiness
- agHelper.AssertURL(), assertHelper.AssertDocumentReady() improved
- jsEditor.NavigateToNewJSEditor() improved
-
cypress/e2e/Regression/ClientSide/ExplorerTests/JSEditorContextMenu_Spec.ts
- jsEditor.ValidateDefaultJSObjProperties improved
- cypress/e2e/Regression/ServerSide/OnLoadTests/OnLoadActions_Spec.ts -
(3rd case - flaky fix)

#### 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 changes were reviewed

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


## Summary by CodeRabbit

- **Tests**
	- Enhanced test flexibility by dynamically constructing API URLs.
	- Improved test setup and flow in onboarding and regression suites.
- Added new test spec files for dynamic height, onboarding, bug tests,
login failure, and starting from scratch scenarios.
- **Refactor**
- Updated function calls and parameters across various test files for
consistency and efficiency.
	- Removed redundant code and streamlined test actions.
- **Chores**
- Updated intercepted HTTP methods and added new utility functions to
support test operations.
- **Bug Fixes**
- Fixed issues related to element visibility assertions in test scripts.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-08 16:55:58 +05:30
..
AbortAction_Spec.ts test: Cypress | Text_With_Different_Size_spec.ts re-write + Flaky fixes (#30445) 2024-02-08 16:55:58 +05:30
AllWidgets_Reset_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
ApiBug6732_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
ApiBugs_Spec.ts test: Cypress | Replace static waits from Helpers + Flaky fixes (#29856) 2024-01-05 11:42:03 +05:30
Binding_Bug28287_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
Binding_Bug28731_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
Bug14987_spec.js test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
Bug20275_Spec.js test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
Bug22281_WelcomeTour_spec.ts feat: removed welcome tour (#30294) 2024-01-17 10:38:29 +05:30
Bug29566_Spec.ts fix: defer data update for js objects (#29564) 2023-12-14 14:10:32 +05:30
Bug30219_Spect.ts fix: schema plus button for a table is visible after template menu is opened (#30849) 2024-02-02 15:26:26 +05:30
CatchBlock_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DatasourceSchema_spec.ts chore: Show schema as a tab instead of the right pane (#30906) 2024-02-08 13:25:23 +05:30
defaultFilterTextValue_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug18035_Spec.ts test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
DS_Bug19893_spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug21734_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug25148_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug25982_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug26126_spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug26716_Spec.ts test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags (#29790) 2023-12-27 16:50:36 +05:30
DS_Bug26941_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
DS_Bug27817_Spec.ts fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
DS_Bug28750_Spec.ts fix: removed ab_mock_mongo_schema_enabled, ab_gsheet_schema_enabled flag code (#30113) 2024-01-16 14:00:51 +05:30
DS_Bug28985_spec.ts feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
DS_Bugs26410_spec.ts test: Cypress - separated exclude airgap cases and tagged them (#30588) 2024-01-24 16:47:58 +05:30
DSDiscardBugs_spec.ts test: Cypress | Flaky fixes + Replacing static waits (#30067) 2024-01-12 12:00:12 +05:30
formHasChanged_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
GitBugs_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
GraphQL_Binding_Bug16702_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
ImportExport_Bug24486_Spec.ts feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
InputTruncateCheck_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
invalidLintError_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
InvalidURL_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug14002_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug15056_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug15909_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug18369_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug19982_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug20841_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug24194_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug25894_spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug28764_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JS_Bug29131_spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
JSParse_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
Moment_Spec.ts feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
MultipleOnPageLoadConfirmation_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30
SelectWidget_Bug9334_Spec.ts fix: table version changed for crud (#29457) 2023-12-29 17:49:20 +05:30
SortedSchema_Spec.ts fix: sorting schema options alphabetically (#29460) 2023-12-13 13:21:23 +05:30
Widget_Bug27119_Spec.ts test: Cypress - added tags - @tag.Git, @tag.JS, @tag.Binding, @tag.Datasource, @tag.ImportExport (#29516) 2023-12-15 18:28:26 +05:30