diff options
author | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-09-05 09:45:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-09-05 09:45:25 +0000 |
commit | 51d1e862e813110e78072872fc2b7fa15243659e (patch) | |
tree | 5ed845c0db4cf66d8d4d2a2c18c49acc27462b99 /k6-tests/ncmp/common/search-base.js | |
parent | d196932c3ed2edbc3f0a0ce0fb097b40715ad0bb (diff) | |
parent | f2e1e2571fec6fd701df3033641a3e11a8aae62f (diff) |
Merge "[k6] Align tests with updated requirements"
Diffstat (limited to 'k6-tests/ncmp/common/search-base.js')
-rw-r--r-- | k6-tests/ncmp/common/search-base.js | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/k6-tests/ncmp/common/search-base.js b/k6-tests/ncmp/common/search-base.js index a7d0c925c4..beb3aad07c 100644 --- a/k6-tests/ncmp/common/search-base.js +++ b/k6-tests/ncmp/common/search-base.js @@ -22,19 +22,23 @@ import http from 'k6/http'; import { NCMP_BASE_URL, CONTENT_TYPE_JSON_PARAM } from './utils.js'; const SEARCH_PARAMETERS_PER_SCENARIO = { - 'module': { - 'cmHandleQueryParameters': [ + "module-and-properties": { + "cmHandleQueryParameters": [ { - 'conditionName': 'hasAllModules', - 'conditionParameters': [{'moduleName': 'ietf-yang-types'}] + "conditionName": "hasAllModules", + "conditionParameters": [{"moduleName": "ietf-yang-types"}] + }, + { + "conditionName": "hasAllProperties", + "conditionParameters": [{"Color": "yellow"}] } ] }, - 'readyCmHandles': { - 'cmHandleQueryParameters': [ + "readyCmHandles": { + "cmHandleQueryParameters": [ { - 'conditionName': 'cmHandleWithCpsPath', - 'conditionParameters': [{'cpsPath': '//state[@cm-handle-state="READY"]'}] + "conditionName": "cmHandleWithCpsPath", + "conditionParameters": [{"cpsPath": "//state[@cm-handle-state='READY']"}] } ] } |