Skip to content

Add expectations for testing JSON #4

Description

@emhoracek

Functions like shouldHaveText should include JSON text.

Also add functions that look for fields in JSON.

Example of problem:

  1) should not create an order with invalid data
       Json (RespCode 200) "[[\"error\",\"Invalid form fields\"]]" does not contain: error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions