cypress-cucumber-steps
    Preparing search index...

    Function Then_I_see_response_body_contains

    • Then I see response body contains:

      Then I see response body contains {string}
      

      Parameters

      • body: string

      Returns void

      Then I see response body contains "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 contains '{"name":"Mark"}'