Status: Open (View Workflow)
Affects Version/s: None
Fix Version/s: None
Similar Issues:Show 10 results
JDF-659 Kitchensink Backbone: Client side form validation does not work in IE9 JDF-540 Kitchensink Spring Validation of uniqueness of email breaks the UI. JDF-591 Form validation failures in kitchensink-angularjs are not reported correctly JDF-654 Quickstarts spring-kitchensink-* - some warnings and errors during deployment on EAP 6.2.0 JDF-771 Update 'kitchensink-angularjs' quickstart to follow RESTful conventions JDF-562 Eclipse error in jboss-kitchensink-rf JDF-526 Arquillian tests in Kitchensink Backbone quickstart fail JDF-465 Kitchensink Quickstart: AngularJS + Bootstrap JDF-789 There's a typo on spring-kitchensink-springmvctest Quickstart JDF-39 Validation of the number of tickets doesn't work properly in Ticket Monster example
I am trying to write some ftests for kitchensink quickstart but I am not able to write my tests. The best thing will be to show it on the example:
The problem is with the third "contains" assert where message of "numeric value out of bounds" is expected. But that message varies completely randomly upon every test, the second version of that message is "size must be between 10 and 12".
First of all, I personally think that there should be only one version of the message. When I hit the register button on the empty form, I do not want to see any "numeric value out of bounds" message, I want to see the second version, "size must be between 10 and 12".
Secondly, it is weird that message is expected to be shown to a user ("size must be between 10 and 12") but when I deploy quickstart and I try it on my own, I have never got that kind of validation message when I write nothing into the phone number field.
This message is the result of the wrong validation or its bad combination. I would removecompletely and I would check that only against some sane regexp in the
It is worth to say that more quickstarts which follow the same validation can be affected as well.
dependencies in pom.xml
arquillian-bom of 1.0.3.Final
arquillian-drone-bom of 1.2.0.Alpha1
graphene-webdriver of 2.0.0.Alpha3
jboss as 7.1.1.Final