PromucFlow_constructor/app/client/cypress/locators
Jacques Ikot 8fe96c9c20
fix: isRequired validation property for table select column (#36375)
## Description

**Problem**
The select column of the table widget does not have a validation
property within its property pane to allow users add an isRequired
validation to the table select column.

**Solution**
Added a Validation section to the table select column's property pane,
which includes an isRequired toggle. When enabled, this feature will
trigger a visual indication (error border colour) around the select
widget if a required field is left unselected during "Add new row" or
inline editing.


Fixes #30091 

## Automation

/ok-to-test tags="@tag.Widget, @tag.Table, @tag.Binding, @tag.Sanity,
@tag.Select"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10957896180>
> Commit: d2597e6a26938f2b99f2f997fca7bc110e5c2091
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10957896180&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Widget, @tag.Table, @tag.Binding, @tag.Sanity,
@tag.Select`
> Spec:
> <hr>Fri, 20 Sep 2024 12:23:29 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


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

- **New Features**
- Introduced end-to-end tests for Select column validation in Table
widgets.
- Enhanced validation logic to support Select column types in the Table
widget.
- Added visual feedback for required Select fields during row addition
and inline editing.
- Improved locator for single-select widget button control to enhance UI
interaction.

- **Bug Fixes**
- Improved error handling and visual representation for invalid editable
Select cells.

- **Documentation**
- Updated validation configuration to include Select column types for
better usability.

- **Refactor**
	- Enhanced code clarity for styled components related to Select fields.
- Modified method to improve versatility in handling table interactions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Sai Charan <saicharan.chetpelly@zemosolabs.com>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
2024-09-23 08:44:46 +01:00
..
AdminsSettings.js test: Updating the locator for upgrade button on admin settings (#33872) 2024-05-31 21:07:28 +05:30
ApiEditor.js fix: Fix test case for api (#36083) 2024-09-06 10:31:32 +05:30
apiWidgetslocator.json fix: replaced all edit name with Rename (#34570) 2024-07-17 08:49:44 +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 fix: isRequired validation property for table select column (#36375) 2024-09-23 08:44:46 +01:00
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
explorerlocators.json fix: replaced all edit name with Rename (#34570) 2024-07-17 08:49:44 +05:30
FirstTimeUserOnboarding.json feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
FormControl.json
FormWidgets.json fix: Fix datepicker issue with aghelper (#36325) 2024-09-16 13:33:53 +05:30
GeneratePage.json test: Failing cypress tests due to removal of empty canvas prompts (#34037) 2024-06-07 15:24:07 +05:30
GithubForm.json
gitSyncLocators.js test: updated js methods to refer ts locators for Git Tests (#34577) 2024-06-28 16:34:07 +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 chore: use ads icons (#35633) 2024-08-16 17:23:57 +03:00
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
Onboarding.json
OneClickBindingLocator.ts feat: JSON form widget one click binding integration (#25873) 2023-10-03 13:40:51 +05:30
Pages.json fix: replaced all edit name with Rename (#34570) 2024-07-17 08:49:44 +05:30
PgAdminlocators.json chore: Remove back button (#29312) 2023-12-09 07:17:23 +05:30
publishWidgetspage.json chore: fix map chart spec (#36370) 2024-09-18 11:53:42 +05:30
QueryEditor.json chore: show suggested widgets in response (#31008) 2024-02-13 13:52:04 +05:30
RatingWidgetLocators.ts
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 fix: Theming Selected new Font is reverted whenever Color is removed (#36119) 2024-09-06 12:46:51 +05:30
ViewWidgets.json chore: [map chart widget] update the label counts and snapshot in spec (#31648) 2024-03-11 16:34:34 +05:30
welcomePage.json fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
WidgetLocators.ts fix: Inline editing flaky test fix (#36366) 2024-09-20 12:44:14 +05:30
Widgets.json fix: Inline editing flaky test fix (#36366) 2024-09-20 12:44:14 +05:30