Currently form#attributes returns the full label text, which includes the "*" for required fields. This makes writing tests much harder since the field-names change when validations change.
Our required text is contained within the following html: <abbr title="required">*</abbr>
I think we should filter the abbr from the text used in the attributes.
Currently
form#attributes
returns the full label text, which includes the "*" for required fields. This makes writing tests much harder since the field-names change when validations change.Our required text is contained within the following html:
<abbr title="required">*</abbr>
I think we should filter theabbr
from the text used in the attributes.