Hi
I'm new on the Cucumber journey so I'm currently getting used to the framework that comes with a delivery using Cucumber.
One thing I am feeling a little unsure on at the moment is UI field level validations. The business have specific requirements for field validations i.e. mandatory, field length, data types, date pickers don't show dates in the past.
My initial thoughts are to get such checks implemented as unit tests. Firstly I would like to see if my thinking that this sort of checking is best done at Unit test level.
The other thing I am then thinking about is how I expose these rules to the business. The business facing part is the feature file but field rule level of detail would make them messy and boring to read. So where do people expose these rules to the business and where do devs learn the rules to implement?
Thanks
Matt