ANW-20 hurl HTTP contract-test harness
This commit is contained in:
parent
ec650e6c66
commit
b4a33abd71
50 changed files with 415 additions and 2 deletions
8
tests/hurl/query/anw_path_segment_boundary.hurl
Normal file
8
tests/hurl/query/anw_path_segment_boundary.hurl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# __anw-path=Projects must NOT match Projects-old/legacy.md -- segment-
|
||||
# boundary anchoring per the ANW-22 fix.
|
||||
GET {{host}}/query?__anw-path=Projects
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
jsonpath "$.results[*].path" contains "Projects/anwesen.md"
|
||||
jsonpath "$.results[*].path" contains "Projects/alpha.md"
|
||||
jsonpath "$.results[*].path" not contains "Projects-old/legacy.md"
|
||||
Loading…
Add table
Add a link
Reference in a new issue