From d0a5bebeac00d235ca3b313f8f843767926b8833 Mon Sep 17 00:00:00 2001 From: Sahil Aggarwal Date: Wed, 3 Apr 2024 15:19:57 +0200 Subject: [PATCH] updated test script --- e2e-tests/aas-registry/common.yaml | 4 ++-- e2e-tests/aas-registry/test_api.tavern.yaml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/e2e-tests/aas-registry/common.yaml b/e2e-tests/aas-registry/common.yaml index c2e444e1..5d37a1e6 100644 --- a/e2e-tests/aas-registry/common.yaml +++ b/e2e-tests/aas-registry/common.yaml @@ -25,5 +25,5 @@ description: variables: aas_registry_api_url: "{tavern.env_vars.AAS_REGISTRY_API_URL}" edc_bpn: "{tavern.env_vars.EDC_BPN}" - decoded_shell_id: 20062250-6b6e-4eba-bf90-7720ddc855e7 - encoded_shell_id: "MjAwNjIyNTAtNmI2ZS00ZWJhLWJmOTAtNzcyMGRkYzg1NWU3" \ No newline at end of file + decoded_shell_id: 20062250-6b6e-4eba-bf90-7720ddc855e6 + encoded_shell_id: "MjAwNjIyNTAtNmI2ZS00ZWJhLWJmOTAtNzcyMGRkYzg1NWU2" \ No newline at end of file diff --git a/e2e-tests/aas-registry/test_api.tavern.yaml b/e2e-tests/aas-registry/test_api.tavern.yaml index 302e4181..6d37cfe0 100644 --- a/e2e-tests/aas-registry/test_api.tavern.yaml +++ b/e2e-tests/aas-registry/test_api.tavern.yaml @@ -72,7 +72,7 @@ stages: idShort: digital twin of a break (Testing) specificAssetIds: [{ "name":"PartInstanceID", - "value":"24975539203421" + "value":"24975539203422" }] response: status_code: 201 @@ -99,7 +99,7 @@ stages: specificAssetIds: [{ "supplementalSemanticIds": [], "name":"PartInstanceID", - "value":"24975539203421" + "value":"24975539203422" }] submodelDescriptors: [] @@ -127,11 +127,12 @@ stages: Edc-Bpn: "{edc_bpn:s}" json: [{ "name": "PartInstanceID", - "value": "24975539203421" + "value": "24975539203422" }] response: status_code: 200 json: + paging_metadata: {}, result: ["{decoded_shell_id:s}"] - name: Delete shell descriptor by id