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
They are path modifiers - mainly for arrays and objects.
For instance, if your response has a data key that returns an array, and you want to see if at least one item in that array is something, you can use data.? as the path. If you want every item in the array to be checked for something, use data.*. Similarly, the ampersand & can be used to check each object key. This does need to be documented though :)
What effect do they have on
.expect()
?I'm trying to check the calls response, but
I get this error:
AssertionError [ERR_ASSERTION]: 'LPweBw-2017' == 'Langwieriger Projekttitel wo etwas Betitelt wird.'
What happens in
utils.withPath(path, response._body, jsonContainsAssertion(jsonChunk))
with the different paths?The text was updated successfully, but these errors were encountered: