Function When_I_find_input_by_display_value

  • When I find input by display value:

    When I find input by display value {string}
    

    Returns the input element that has the matching display value.

    Parameters

    • value: string

    Returns void

    When I find input by display value "Input"
    

    This precedes steps like "When I set value". For example:

    When I find input by display value "Input"
    And I set value "Value"

    Inspired by Testing Library's ByDisplayValue.