Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.51 KB

validate-form-input.md

File metadata and controls

25 lines (17 loc) · 1.51 KB
description
Learn how to use the I.filled command to validate form or field inputs in your UIlicious test.

Validate Form Input

I.filled

Asserts that the form is filled with a specific value

Usage

I.filled(field, value)

Parameters

Parameter Type Remarks
field string

Keyword to identify the field.
The associated label, placeholder, adjacent text, and name can be used to identify a field.
CSS selectors can also be used, but is not recommended as it makes the tests harder to keep up to date.

value string Value that the field is expected to have