Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add step to assert that the response body is empty #109

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

christeredvartsen
Copy link
Member

This PR adds a new step that can be used to verify that the response body is empty:

Then the response body is empty

Resolves #105

@christeredvartsen christeredvartsen self-assigned this Nov 14, 2021
@christeredvartsen
Copy link
Member Author

@milkovsky Would the step introduced in this PR solve your issue (#105)?

Thinking of perhaps adding a negative version as well:

Then the response body is not empty

What do you think?

@milkovsky
Copy link

@christeredvartsen this PR does not solve my issue. Answered there.

@christeredvartsen
Copy link
Member Author

Merging this anyways as the feature might be usable.

@christeredvartsen christeredvartsen merged commit db2b39c into main Nov 15, 2021
@christeredvartsen christeredvartsen deleted the empty-body-step branch November 15, 2021 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

New step: "Then the response body does not contain JSON"
2 participants