-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: CFA 2020R3
-
Component/s: OrderGuide
-
Labels:None
-
Sprint:CFAMX 2020R3 Sprint 5
-
SCRUM Team:Brotherhood of Mutants
-
Story Points:1
-
Work Type Classification:Sustaining
Story
As a user when I assign a store name to a rule, I would like that store name field validated when I attempt to save in the same way the start date field is validated. This will help me to understand what I may or may not need to correct.
Details
Search has recently been added to the "Name" field of the "Administration > Assign Vendor Items > %Select Vendor Item% View Rules" page. When the user searches for and selects an option in the "Name" field if they delete the name they selected and save the rule with the name field blank, the rule saves with the last valid user input even if the field is blank. This should not be the case. The "Name" field should highlight in red and the save should fail when this field is blank.
Steps to Reproduce
- From the "Manage Vendor Item Assignment" page, add a new record or select an existing record to edit. (The desired behavior should be the same.)
- For zone or restaurant "RuleType", select a rule from the dropdown to enable the "Name" search.
- Enter a valid name into the "Name" field or search and select a valid name.
- Remove the valid name from the field and navigate to another field in the page
- Save the rule.
You will notice that the user is allowed to save the rule even though the "Name" field is empty. The rule is saved with the last valid name entry.
Desired Functionality
If the user attempts to save a rule with an empty "Name" field the save should fail and the "Name" field should be highlighted in red. The user should only be able to save when the "Name" field (and all other required fields) are intentionally populated.
Acceptance Criteria
Confirm
- The user can not save a rule unless the "Name" field is populated with valid information
- If the user attempts to save with invalid "Name" information or the "Name" field is blank, the save fails and the "Name" field is highlighted red. (See "Start Date" field validation for reference)
- The user can successfully save with valid name field information populated.
- implements
-
CFAMX-8190 Order Guide - Manage Vendor Item Assignments: Search
- Closed
1.
|
Review Test Scripts | Done | Gareth Leibbrandt (Inactive) |
|
|||||||||
2.
|
Deploy | Done | Soma Dixon (Inactive) |
|
|||||||||
3.
|
Functional Review with QA | Done | David Nayyar (Inactive) |
|
|||||||||
4.
|
DIT | Done | David Nayyar (Inactive) |
|
|||||||||
5.
|
Create Test Cases | Done | Soma Dixon (Inactive) |
|
|||||||||
6.
|
Execute Test Cases | Done | Soma Dixon (Inactive) |
|
|||||||||
7.
|
Modify field validation behavior | Done | David Nayyar (Inactive) |
|