fix flaky API test

The search 'landstr' produces many duplicates so that with
some bad luck 4 or less results may appear. Disable deduplication
to make it more predictable.
This commit is contained in:
Sarah Hoffmann
2022-10-05 15:16:14 +02:00
parent f395054536
commit 5f6dcd36ed

View File

@@ -172,10 +172,12 @@ Feature: Search queries
Scenario: Limit number of search results
When sending json search query "landstr"
| dedupe |
| 0 |
Then more than 4 results are returned
When sending json search query "landstr"
| limit |
| 4 |
| limit | dedupe |
| 4 | 0 |
Then exactly 4 results are returned
Scenario: Limit parameter must be a number