Call this InteractorConstructor to initialize a date-time field Interactor. The date-time field interactor can be used to interact with date
fields on the page and to assert on their state. A date-time field is the date-time type input
tag with a text-like interface.
The date-time field is located by the text of its label.
Call this InteractorConstructor to initialize a date-time field Interactor. The date-time field interactor can be used to interact with date fields on the page and to assert on their state. A date-time field is the date-time type input tag with a text-like interface.
The date-time field is located by the text of its label.
Example
Filters
title
: string – Filter by titleid
: string – Filter by idvisible
: boolean – Filter by visibility. Defaults totrue
. See isVisible.value
: string – Filter by the date-time field's current value in ISO format.timestamp
: number – Filter by the date-time field's current value as timestamp.placeholder
: string – Filter by the date-time field's placeholder attribute.valid
: boolean – Filter by whether the date-time field is valid.disabled
: boolean – Filter by whether the date-time field is disabled. Defaults tofalse
.focused
: boolean – Filter by whether the date-time field is focused. See focused.Actions
click()
: Interaction – Click on the date-time fieldfocus()
: Interaction – Move focus to the date-time fieldblur()
: Interaction – Move focus away from the date-time fieldfillIn(value: string)
: Interaction – Fill in the date-time field with the given value. See fillIn.