LayoutElementAssertionsProvider


class LayoutElementAssertionsProvider


Provides the main entry point into testing by exposing methods to find a layout element.

Summary

Public functions

LayoutElementAssertion

Finds an element that matches the given condition.

LayoutElementAssertion

Finds the top level element of the element tree added to this LayoutElementAssertionsProvider.

Public constructors

LayoutElementAssertionsProvider

Added in 1.3.0-alpha05
LayoutElementAssertionsProvider(layout: LayoutElementBuilders.Layout)

LayoutElementAssertionsProvider

Added in 1.3.0-alpha05
LayoutElementAssertionsProvider(
    layoutRoot: LayoutElementBuilders.LayoutElement
)

Public functions

onElement

Added in 1.3.0-alpha05
fun onElement(matcher: LayoutElementMatcher): LayoutElementAssertion

Finds an element that matches the given condition.

onRoot

Added in 1.3.0-alpha05
fun onRoot(): LayoutElementAssertion

Finds the top level element of the element tree added to this LayoutElementAssertionsProvider.