Skip to content

Commit

Permalink
feat(cts): add e2e test for query-suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluf22 committed Feb 15, 2024
1 parent ffa0049 commit cb23483
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions tests/CTS/requests/query-suggestions/getConfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,43 @@
[
{
"testName": "Retrieve QS config e2e",
"parameters": {
"indexName": "theIndexName"
"indexName": "cts_e2e_browse_query_suggestions"
},
"request": {
"path": "/1/configs/theIndexName",
"path": "/1/configs/cts_e2e_browse_query_suggestions",
"method": "GET"
},
"response": {
"statusCode": 200,
"body": {
"allowSpecialCharacters": true,
"enablePersonalization": false,
"exclude": [
"^cocaines$"
],
"indexName": "cts_e2e_browse_query_suggestions",
"languages": [],
"sourceIndices": [
{
"facets": [
{
"amount": 1,
"attribute": "title"
}
],
"generate": [
[
"year"
]
],
"indexName": "cts_e2e_browse",
"minHits": 5,
"minLetters": 4,
"replicas": false
}
]
}
}
}
]

0 comments on commit cb23483

Please # to comment.