Commit 26deef4d authored by Houcem Kacem's avatar Houcem Kacem
Browse files

feat: use the temporary added ngsi-ld test suite context

parent 6510ea6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Retrieve the temporal evolution of an entity

    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}

    @{expected_temporal_attributes}=  Create List   fuelLevel   speed
    @{expected_temporal_attributes}=  Create List   https://ngsi-ld-test-suite/context#speed   https://ngsi-ld-test-suite/context#fuelLevel

    Check Response Status Code Set To  200
    Check Response Body Containing EntityTemporal element       ${expected_temporal_attributes}
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ Retrieve the temporal evolution of an entity using a context
    [Documentation]  Check that you can retrieve the temporal evolution of an entity using a context
    [Tags]  mandatory

    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}   context=${fiware_context}
    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}   context=${ngsild_test_suite_context}

    @{expected_temporal_attributes}=  Create List   speed   fuelLevel

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ Retrieve the temporal evolution of certain attributes of an entity
    [Tags]  mandatory

    @{temporal_attributes_to_be_retrieved}=  Create List   fuelLevel
    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}   attrs=${temporal_attributes_to_be_retrieved}    context=${fiware_context}
    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}   attrs=${temporal_attributes_to_be_retrieved}    context=${ngsild_test_suite_context}

    Check Response Status Code Set To  200
    Check Response Body Containing EntityTemporal element       ${temporal_attributes_to_be_retrieved}
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ Retrieve the temporal evolution of an entity with the simplified temporal repres
    [Tags]  mandatory

    @{options}=  Create List   temporalValues
    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}   options=${options}    context=${fiware_context}
    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}   options=${options}    context=${ngsild_test_suite_context}

    Check Response Status Code Set To  200
    Check Response Body Containing simplified temporal representation of EntityTemporal element       ${vehicle_expectation_file}    ${temporal_entity_representation_id}
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
      }
   ],
   "@context":[
      "https://fiware.github.io/data-models/context.jsonld",
      "https://raw.githubusercontent.com/easy-global-market/ngsild-api-data-models/feature/add-json-ld-context-for-ngsi-ld-test-suite/ngsi-ld-test-suite/ngsi-ld-test-suite-context.jsonld",
      "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
   ]
}
 No newline at end of file
Loading