## Description **Root Cause Analysis (RCA):** In the local environment, the minDate field was consistently cleared as expected, but this behavior was not replicated in the CI pipeline. Updating the existing flow to address this issue could introduce other problems. The minDate text area having js date function in the CI pipeline, leading to repeated test failures. Multiple function attempts to resolve this issue were unsuccessful. **Solution**: I tried using the `agHelper` utility and updated the test flow with adding a new test case. EE PR: https://github.com/appsmithorg/appsmith-ee/pull/5139 Fixes #`36329` ## Automation /ok-to-test tags="@tag.ImportExport" ### 🔍 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/10878662752> > Commit: 0985fc573bbbc678850985babcbc027897c9d59f > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10878662752&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.ImportExport` > Spec: > <hr>Mon, 16 Sep 2024 06:53:39 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** - Enhanced Datepicker widget functionality with new locators for improved user interaction. - **Bug Fixes** - Improved test cases for the Datepicker widget, ensuring accurate validation of display data and date formats. - **Documentation** - Updated test specifications to reflect a shift in focus towards the Datepicker widget. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
83 lines
5.0 KiB
JSON
83 lines
5.0 KiB
JSON
{
|
|
"checkboxWidget": ".t--draggable-checkboxwidget",
|
|
"selectwidget": ".t--draggable-selectwidget",
|
|
"dropdownWidget": ".t--draggable-selectwidget",
|
|
"menuButtonWidget": ".t--draggable-menubuttonwidget",
|
|
"multiselectwidgetv2": ".t--draggable-multiselectwidgetv2",
|
|
"multiselectWidgetv2search": ".multi-select-dropdown .bp3-input",
|
|
"multiselecttreeWidget": ".t--draggable-multiselecttreewidget",
|
|
"singleselecttreeWidget": ".t--draggable-singleselecttreewidget",
|
|
"dropdownSelectionType": ".t--property-control-selectiontype .bp3-popover-target",
|
|
"radioWidget": ".t--draggable-radiogroupwidget",
|
|
"checkboxGroupWidget": ".t--draggable-checkboxgroupwidget",
|
|
"selectAllCheckboxControl": ".bp3-control.bp3-checkbox.whitespace-nowrap",
|
|
"checkboxGroupOptionInputs": ".bp3-control.bp3-checkbox.whitespace-nowrap ~ .bp3-control.bp3-checkbox",
|
|
"switchGroupWidget": ".t--draggable-switchgroupwidget",
|
|
"radioOnSelectionChangeDropdown": ".t--property-control-onselectionchange",
|
|
"nextDayBtn": ".DayPicker-Day[aria-selected='true'] + div.DayPicker-Day",
|
|
"datepickerWidget": ".t--draggable-datepickerwidget",
|
|
"defaultDate": ".t--property-control-defaultdate input",
|
|
"minDate": ".t--property-control-mindate input",
|
|
"maxDate": ".t--property-control-maxdate input",
|
|
"filepickerWidget": ".t--draggable-filepickerwidget",
|
|
"formWidget": ".t--draggable-formwidget",
|
|
"richTextEditorWidget": ".t--draggable-richtexteditorwidget",
|
|
"richEditorOnTextChange": ".t--property-control-ontextchange",
|
|
"optionvalue": ".t--property-control-defaultselectedvalue .kDwnRc",
|
|
"defselected": ".CodeMirror textarea",
|
|
"dropdowninner": ".bp3-button > .bp3-button-text",
|
|
"Textinput": ".t--property-control-options .CodeMirror-code",
|
|
"labelvalue": ".t--draggable-selectwidget label",
|
|
"dropdownInput": ".bp3-tag-input-values",
|
|
"selectButton": ".select-button",
|
|
"multiSelect": ".rc-select-selector",
|
|
"mulitiselectInput": ".rc-select-selection-search-input",
|
|
"treeSelectInput": ".rc-tree-select-selection-search-input",
|
|
"multiTreeSelect": ".rc-tree-select-selector",
|
|
"treeSelect": ".rc-tree-select-selector",
|
|
"treeSelectClearAll": ".rc-tree-select-clear",
|
|
"treeSelectPlaceholder": ".rc-tree-select-single .rc-tree-select-selection-placeholder",
|
|
"treeSelectFilterInput": ".tree-select-dropdown .bp3-input",
|
|
"multiTreeSelectFilterInput": ".tree-multiselect-dropdown .bp3-input",
|
|
"labelradio": ".t--draggable-radiogroupwidget label",
|
|
"labelCheckboxGroup": ".t--draggable-checkboxgroupwidget label",
|
|
"labelSwitchGroup": ".t--draggable-switchgroupwidget label",
|
|
"deleteradiovalue": ".t--property-control-options svg.remixicon-icon ",
|
|
"inputRadio": ".t--draggable-radiogroupwidget input",
|
|
"defaultSelect": ".t--property-control-defaultselectedvalue .CodeMirror-code",
|
|
"defaultSelectValues": ".t--property-control-defaultselectedvalues .CodeMirror-code",
|
|
"formInner": ".t--draggable-formwidget span.t--widget-name",
|
|
"radioInput": ".t--draggable-radiogroupwidget span.t--widget-name",
|
|
"checkboxGroupInput": ".t--draggable-checkboxgroupwidget span.t--widget-name",
|
|
"switchGroupInput": ".t--draggable-switchgroupwidget span.t--widget-name",
|
|
"radioAddButton": ".t--property-control-options button.t--property-control-options-add",
|
|
"formD": ".t--widget-formwidget div.style-container",
|
|
"datepickerFooter": ".bp3-datepicker-footer span",
|
|
"datepickerFooterPublish": ".bp3-datepicker-footer span",
|
|
"disableJs": ".t--property-control-disabled input[type='checkbox']",
|
|
"requiredJs": ".t--property-control-required input[type='checkbox']",
|
|
"switchWidget": ".t--draggable-switchwidget",
|
|
"toggleJsDefaultDate": ".t--property-control-defaultdate .t--js-toggle",
|
|
"toggleJsMinDate": ".t--property-control-mindate .t--js-toggle",
|
|
"toggleJsMaxDate": ".t--property-control-maxdate .t--js-toggle",
|
|
"exploreWidget": "[class$=bp3-panel-stack-view] > div:nth-child(1) > div:nth-child(1) > span:nth-child(4)",
|
|
"widgetRelatedDocument": "div.main > div:nth-child(1) > div:nth-child(1)",
|
|
"dropdowonChevranDown": ".t--widget-selectwidget .bp3-icon-chevron-down",
|
|
"dropdownDefaultButton": ".t--widget-selectwidget .bp3-button",
|
|
"toggleVisible": ".t--property-control-visible .t--js-toggle",
|
|
"inputToggleVisible": "div.t--property-control-visible div.CodeMirror-lines",
|
|
"selectWidget": ".t--widget-selectwidget",
|
|
"multiSelectWidget": ".t--widget-multiselectwidgetv2",
|
|
"multiSelectWidgetSearch": ".multi-select-dropdown .bp3-input",
|
|
"filterCheckbox": ".t--property-control-filterable input[type=checkbox]",
|
|
"searchBoxDropdown": ".select-popover-wrapper div.bp3-input-group",
|
|
"NavHomePage": "[data-testid='t--default-home-icon']",
|
|
"apiCallToast": "div.Toastify__toast-body",
|
|
"toggleOnOptionChange": ".t--property-control-onoptionchange .t--js-toggle",
|
|
"toggleButtonVariant": ".t--property-control-buttonvariant .t--js-toggle",
|
|
"minDateTextArea" : ".t--property-control-mindate .CodeMirror textarea",
|
|
"minDateInput" : ".t--property-control-mindate .ads-v2-input__input-section-input",
|
|
"datePickerInput": ".t--widget-datepickerwidget2 .bp3-input",
|
|
"dayPickerNextButton": ".DayPicker-NavButton--next"
|
|
}
|