Playwright Cucumber TS Steps
    Preparing search index...

    Function expectResponseProperty

    • Asserts that a specific property in the JSON response matches a string value. Supports dot notation for nested properties and fixtures for reusable keys/values.

      Parameters

      • page: any
      • jsonPathKey: string
      • valueKey: string

      Returns Promise<void>

      Then I pw expect the response property "user.id" to be "12345"