@@ -108,7 +108,7 @@ Feature: feedback endpoint API tests
108108 And The body of the response is the following
109109 """
110110 {
111- "detail": "Forbidden: User is not authorized to access this resource "
111+ "detail": "Forbidden: Feedback is disabled "
112112 }
113113 """
114114
@@ -247,25 +247,9 @@ Feature: feedback endpoint API tests
247247 Given The system is in default state
248248 And A new conversation is initialized
249249 And I remove the auth header
250- When I submit the following feedback for the conversation created before
251- """
252250 {
253- "llm_response": "Sample Response",
254- "sentiment": -1,
255- "user_feedback": "Not satisfied with the response quality",
256- "user_question": "Sample Question"
251+ "detail" : "No Authorization header found"
257252 }
258- """
259- Then The status code of the response is 401
260- And The body of the response is the following
261- """
262- {
263- "detail": {
264- "cause": "Missing or invalid credentials provided by client",
265- "response": "Unauthorized"
266- }
267- }
268- """
269253
270254 Scenario : Check if update feedback status endpoint is not working when not authorized
271255 Given The system is in default state
@@ -275,10 +259,7 @@ Feature: feedback endpoint API tests
275259 And The body of the response is the following
276260 """
277261 {
278- "detail": {
279- "cause": "Missing or invalid credentials provided by client",
280- "response": "Unauthorized"
281- }
262+ "detail": "No Authorization header found"
282263 }
283264 """
284265
0 commit comments