From 3ce5276d15bc4d2cff93532464ec6e8a91041eb2 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 8 Dec 2023 16:40:41 +0100 Subject: [PATCH] change(ui): usability tests use assist service --- api/chalicelib/core/usability_testing/service.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/api/chalicelib/core/usability_testing/service.py b/api/chalicelib/core/usability_testing/service.py index 284595d44..26cece733 100644 --- a/api/chalicelib/core/usability_testing/service.py +++ b/api/chalicelib/core/usability_testing/service.py @@ -9,7 +9,6 @@ from chalicelib.utils.helper import dict_to_camel_case, list_to_camel_case from chalicelib.core import sessions, assist - table_name = "ut_tests" @@ -285,9 +284,16 @@ def get_test_tasks(db_handler, test_id): def ut_tests_sessions_live(project_id: int, test_id: int, page: int, limit: int): body = { - "filter": { - "uxtId": test_id, - }, + "filters": [ + { + "value": [ + test_id + ], + "type": "uxtId", + "operator": "is", + "filters": [] + } + ], "pagination": {"limit": limit, "page": page}, }