PromucFlow_constructor/app/client/cypress/locators
Ashok Kumar M 6765888eb0
chore: Anvil cypress tests (#30580)
> Pull Request Template
>
> Use this template to quickly create a well written pull request.
Delete all quotes before creating the pull request.
>
## Description
In this pr we are writing tests to validate a few preliminary cases of
the Anvil Editor.
the purpose of the task is to be able to run anvil tests along side the
present suite of test cases.
Things to note for Anvil based test cases
- ANVIL_EDITOR_TEST tag is used for Anvil based tests to make sure
relevant feature flags are set(using featureFlagIntercept) before
creating pages so that Anvil pages are created.
- each test case in a Anvil spec file also use featureFlagIntercept to
set the relevant flags since pages are reloded before running tests.
#### PR fixes following issue(s)
Fixes # (issue number)
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

## Summary by CodeRabbit

- **New Features**
- Enhanced Anvil editor with the ability to test app navigation, drag
and drop functionality, and suggested widgets feature.
- Improved accessibility and interaction capabilities within the Anvil
canvas.
- **Tests**
- Added comprehensive end-to-end tests for new Anvil editor features,
including app navigation settings, widget drag and drop, and suggested
widgets integration.
- **Refactor**
- Introduced new constants and locators for better test structure and
readability.
- **Style**
- Updated components with new attributes for improved accessibility and
testing.
- **Chores**
	- Added new tags for organizing tests related to the Anvil editor.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-31 11:02:38 +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
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
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
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
GuidedTour.json
HelpLocators.json
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
jsonFormWidget.json
Layout.json
LoginPage.json
ModalWidget.json
Omnibar.json test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Onboarding.json
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 feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +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