You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah yes that is indeed a bit confusing @Schachte! hasProperty runs on the entire response object which lets you access a field directly with [0].input, whereas an equals is a generic way to compare and needs a variable reference. Wondering if we can think of a way to make it clearer 🤔
I think an example would help! Was a little confused on how to get the value correctly. Wasn't sure if my variables could also be used here or not from the capture block, but looks like you answered that one!
Does the expect plugin support things like hasSize or any related type of operations? @hassy
I'm trying to parse an array from my response.
The
equals
block is passing, however, thehasProperty
block I can't get working with arrays.This example in the docs doesn't work properly for me:
The text was updated successfully, but these errors were encountered: