Can't read json_path syntax in AssertBody
Closed this issue · 2 comments
ChebaKuvaldos commented
code:
OptionalAssertBody( json.Equal("$.entries[?(@.role == 'HR-партнер')].event", "Анкета согласована"), ).
error:
test.go:178: [OPTIONAL ERROR] evaluating '$.entries[?(@.role == 'Сторонняя система проверки СБ')].event' resulted in error: 'parsing error: $.entries[?(@.role == 'Сторонняя система проверки СБ')].event :1:23 - 1:54 could not parse string: invalid syntax'
This syntax is corresponds to the library JsonPath, but using this in 0.1.8 make error
siller174 commented