Skip to content

Commit

Permalink
fix(clients): add e2e tests for analytics API (#2737)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Feb 19, 2024
1 parent e7c714e commit ef37e65
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/CTS/requests/analytics/getTopSearches.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,29 @@
"tags": "tag"
}
}
},
{
"testName": "e2e with complex query params",
"parameters": {
"index": "cts_e2e_space in index"
},
"request": {
"path": "/2/searches",
"method": "GET",
"queryParameters": {
"index": "cts_e2e_space%20in%20index"
}
},
"response": {
"statusCode": 200,
"body": {
"searches": [
{
"search": "",
"nbHits": 0
}
]
}
}
}
]

0 comments on commit ef37e65

Please sign in to comment.