Function Then_I_see_response_body

  • Then I see response body:

    Then I see response body {string}
    

    Parameters

    • body: string

    Returns void

    Then I see response body "OK
    

    A preceding step like "When I make a request" is required. For example:

    When I make a "GET" request to "/user.json"
    Then I see response body '{"name":"Mark"}'