[
https://issues.jboss.org/browse/ARQGRA-329?page=com.atlassian.jira.plugin...
]
Lukáš Fryč commented on ARQGRA-329:
-----------------------------------
Make sense - it would be pretty trivial to introduce it on a level of element (using
GrapheneElement).
We could create a new page fragment called Form, which would have exactly the methods you
need for handling basic form operations like checking validity all inputs in a form:
{code:java}
class Form {
boolean isValid() { ... }
}
class Page {
@FindBy(css = "form")
Form form;
@Test
test() {
assertTrue(form.isValid());
}
}
{code}
Add support for HTML5 form validation API
-----------------------------------------
Key: ARQGRA-329
URL:
https://issues.jboss.org/browse/ARQGRA-329
Project: Arquillian Graphene
Issue Type: Feature Request
Components: core
Affects Versions: 2.0.0.Alpha4
Reporter: Oliver Kišš
Add support for using HTML5 [form validation
API|http://www.whatwg.org/specs/web-apps/current-work/#the-constraint-val...] from
Graphene, {{checkValidity()}} method in particular.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira