Fix order dependency in gnocchi search gabbit

order of elements in search result is not guaranteed,
and gnocchi API has no server-side sorting we could use
to ensure ordering ourselves.

Stop relying and testing for spesific order of elements
in the response, just test for sub-string presence.

Change-Id: I4eef2ec82b711ca5e57a2f9c0e608b8444a4227e
Closes-Issue: PRODX-48117
(cherry picked from commit 927b407fa248d62afa97b3cc0c99debe4cef0003)
diff --git a/telemetry_tempest_plugin/scenario/gnocchi_gabbits/search-resource.yaml b/telemetry_tempest_plugin/scenario/gnocchi_gabbits/search-resource.yaml
index 8febac6..756e43a 100644
--- a/telemetry_tempest_plugin/scenario/gnocchi_gabbits/search-resource.yaml
+++ b/telemetry_tempest_plugin/scenario/gnocchi_gabbits/search-resource.yaml
@@ -141,11 +141,11 @@
       status: 200
       response_json_paths:
           $.`len`: 2
-      response_json_paths:
-          $.[0].type: instance-like
-          $.[1].type: image-like
-          $.[0].id: c442a47c-eb33-46ce-9665-f3aa0bef54e7
-          $.[1].id: 7ab2f7ae-7af5-4469-bdc8-3c0f6dfab75d
+      response_strings:
+          - '"id": "c442a47c-eb33-46ce-9665-f3aa0bef54e7"'
+          - '"id": "7ab2f7ae-7af5-4469-bdc8-3c0f6dfab75d"'
+          - '"type": "instance-like"'
+          - '"type": "image-like"'
 
     - name: search for all resources of instance-like type create by specific user_id
       desc: all instances created by a specified user
@@ -161,16 +161,13 @@
       status: 200
       response_json_paths:
           $.`len`: 2
+          $.[0].metrics.`len`: 0
+          $.[1].metrics.`len`: 0
+          $.[0].type: instance-like
+          $.[1].type: instance-like
       response_strings:
           - '"id": "a64ca14f-bc7c-45b0-aa85-42cd2179e1e2"'
           - '"id": "7ccccfa0-92ce-4225-80ca-3ac9cb122d6a"'
-      response_json_paths:
-          $.[0].id: a64ca14f-bc7c-45b0-aa85-42cd2179e1e2
-          $.[1].id: 7ccccfa0-92ce-4225-80ca-3ac9cb122d6a
-          $.[0].type: instance-like
-          $.[1].type: instance-like
-          $.[0].metrics.`len`: 0
-          $.[1].metrics.`len`: 0
 
     - name: search for all resources with a specific project_id
       desc: search for all resources in a specific project