anwesen/tests/hurl/query/eq_scalar.hurl

11 lines
324 B
Text
Raw Normal View History

2026-05-14 19:04:03 +02:00
# Bare equality on a scalar value.
GET {{host}}/query?status=active
HTTP 200
[Asserts]
jsonpath "$.results" count == 1
jsonpath "$.results[0].path" == "Projects/anwesen.md"
jsonpath "$.results[0].frontmatter.status" == "active"
jsonpath "$.results[0].body" not exists
jsonpath "$.total" == 1
jsonpath "$.truncated" == false