SUIT CSS: FormField tests

.FormField

should render a label and input

should render an optional help text

Some text to the user about the input field

should allow different elements to be used

Surname

Some text to the user about the input field

should render horizontally with additional utilities (suitcss-utils-flex)

Some text to the user about the input field

should allow a label element to be used

.FormField-check

should render a checkbox or radio

should not be affected by source order

should render help text

Some text about the choice above

should render multiple options with a help text

Some text about the choices above

.FormField disabled / readonly

should visibly indicate form field is disabled

same styles apply to readonly

.FormField validation

should render an error colour

There was a problem!

should render a warning colour

There was almost a problem!

should render a success colour

There were no problems!