Functions
toBeChecked
- toBeChecked(element: UIElement, expectedState: boolean, options??: Options): Promise<SyncExpectationResult>
-
Parameters
-
element: UIElement
-
expectedState: boolean
-
Optional options: Options = true
Returns Promise<SyncExpectationResult>
Use
toBeChecked
function when you want to check that an element is enabled