Skip to content

Commit ef37e65

Browse files
authored
fix(clients): add e2e tests for analytics API (#2737)
1 parent e7c714e commit ef37e65

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/CTS/requests/analytics/getTopSearches.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,29 @@
4040
"tags": "tag"
4141
}
4242
}
43+
},
44+
{
45+
"testName": "e2e with complex query params",
46+
"parameters": {
47+
"index": "cts_e2e_space in index"
48+
},
49+
"request": {
50+
"path": "/2/searches",
51+
"method": "GET",
52+
"queryParameters": {
53+
"index": "cts_e2e_space%20in%20index"
54+
}
55+
},
56+
"response": {
57+
"statusCode": 200,
58+
"body": {
59+
"searches": [
60+
{
61+
"search": "",
62+
"nbHits": 0
63+
}
64+
]
65+
}
66+
}
4367
}
4468
]

0 commit comments

Comments
 (0)