k6-cucumber-steps API Reference - v2.0.10-alpha.0
    Preparing search index...

    Function k6TheResponsePropertyShouldContain

    • Asserts a response property contains a substring.

      Parameters

      • propertyPath: string

        JSON path to property

      • expectedText: string

        Substring to search for

      Returns void

      Then the k6 response property "message" should contain "success"