From 9123845ad431edf9482630e5871f55b66363f4f0 Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Sun, 16 Nov 2025 11:39:40 +0100 Subject: [PATCH] Minor e2e tests fixes --- tests/e2e/features/steps/conversation.py | 4 ++-- tests/e2e/features/steps/llm_query_response.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/features/steps/conversation.py b/tests/e2e/features/steps/conversation.py index efc39db07..488861a4e 100644 --- a/tests/e2e/features/steps/conversation.py +++ b/tests/e2e/features/steps/conversation.py @@ -55,7 +55,7 @@ def access_conversation_endpoint_get_specific( "I use REST API conversation endpoint with conversation_id from above using HTTP DELETE method" ) def access_conversation_endpoint_delete(context: Context) -> None: - """Send GET HTTP request to tested service for conversation/{conversation_id}.""" + """Send DELETE HTTP request to tested service for conversation/{conversation_id}.""" assert ( context.response_data["conversation_id"] is not None ), "conversation id not stored" @@ -79,7 +79,7 @@ def access_conversation_endpoint_delete(context: Context) -> None: def access_conversation_endpoint_delete_specific( context: Context, conversation_id: str ) -> None: - """Send GET HTTP request to tested service for conversation/{conversation_id}.""" + """Send DELETE HTTP request to tested service for conversation/{conversation_id}.""" endpoint = "conversations" base = f"http://{context.hostname}:{context.port}" path = f"{context.api_prefix}/{endpoint}/{conversation_id}".replace("//", "/") diff --git a/tests/e2e/features/steps/llm_query_response.py b/tests/e2e/features/steps/llm_query_response.py index 592c6cff3..14580aa64 100644 --- a/tests/e2e/features/steps/llm_query_response.py +++ b/tests/e2e/features/steps/llm_query_response.py @@ -143,7 +143,7 @@ def check_streamed_fragments_in_response(context: Context) -> None: @then("The streamed response is equal to the full response") def compare_streamed_responses(context: Context) -> None: - """Check that streamed reponse is equal to complete response. + """Check that streamed response is equal to complete response. First checks that the HTTP response exists and contains a "response" field. Do this check also for the complete response