--- tags: nika --- # BUY-2345 - Buyer Advisors don't need to manually input Sales Consultant to book a visit on a Listing - https://casavo.atlassian.net/browse/BUY-2345 - https://github.com/casavo/nika-fe/pull/166 - https://github.com/casavo/nika/pull/108 ### # TODO - FE - [x] add new second-last step with sales consultant dropdown - [x] add validation: required for direct sales pipeline - [x] extend cypress test to use the dropdown and check mandatory validation - [x] test via cypress if the field is sent do backend - [x] in fill-listing-info test - [x] in edit-published-listing-info test - [x] complete formdata-to-api mapping - [x] complete api-to-formdata mapping - [x] TODO BUY-2345 improve cypress test on edit published listing: assert already associated sales consultant before change it - [x] complete dropdown items with definitive emails - BE - [x] read new field and emit association event - [x] validate on publish: if direct, associated sales consultant is mandatory ### # IMPROVEMENTS - [ ] try to make `onSelected` optional with default in FormikSelect - [ ] rename `required` attribute in Label component (`showErrorIcon` ?) - [ ] change cypress test to select SC typing in dropdown instead of simply click