From 776f48028c252d97ebce78ac6c335d9b7f80adc1 Mon Sep 17 00:00:00 2001 From: Alberto Ramos Monagas Date: Fri, 20 Mar 2026 10:20:32 +0100 Subject: [PATCH] Fix incorrect ATP time-range assertions --- .../predictive-connectivity-data.feature | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/code/Test_definitions/predictive-connectivity-data.feature b/code/Test_definitions/predictive-connectivity-data.feature index 49777f3..2c99a5c 100644 --- a/code/Test_definitions/predictive-connectivity-data.feature +++ b/code/Test_definitions/predictive-connectivity-data.feature @@ -40,8 +40,7 @@ Feature: CAMARA Predictive Connectivity Data API, vwip And the response header "x-correlator" has same value as the request header "x-correlator" And the response body complies with the OAS schema at "/components/schemas/ConnectivityDataResponse" And the response property "$.status" value is "SUPPORTED_AREA" - And the response property "$.timedConnectivityData[*].startTime" is equal to or later than request body property "$.startTime" - And the response property "$.timedConnectivityData[*].endTime" is equal to or earlier than request body property "$.endTime" + And the response property "$.timedConnectivityData" intervals fully cover the requested time range from "$.startTime" to "$.endTime" And the response property "$.timedConnectivityData[*].cellConnectivityData[*].geohash" is a valid Geohash inside the request area And all the items in response property "$.timedConnectivityData[*].cellConnectivityData[*].layerConnectivities[*]" are equal to "GC", "MC" or "NC" And the response property "$.timedConnectivityData[*].cellConnectivityData[*].layerSignalStrengths" is not included in the response @@ -57,10 +56,9 @@ Feature: CAMARA Predictive Connectivity Data API, vwip And the response header "x-correlator" has same value as the request header "x-correlator" And the response body complies with the OAS schema at "/components/schemas/ConnectivityDataResponse" And the response property "$.status" value is "PART_OF_AREA_NOT_SUPPORTED" - And the response property "$.timedConnectivityData[*].startTime" is equal to or later than request body property "$.startTime" - And the response property "$.timedConnectivityData[*].endTime" is equal to or earlier than request body property "$.endTime" + And the response property "$.timedConnectivityData" intervals fully cover the requested time range from "$.startTime" to "$.endTime" And there is at least one item in response property "$.timedConnectivityData[*].cellConnectivityData[*]" - And that item has an array property "$.timedConnectivityData[*].cellConnectivityData[*].layerConnectivities[*]" containing only "ND" values + And that item has the array property "$.timedConnectivityData[*].cellConnectivityData[*].layerConnectivities[*]" containing only "ND" values And the response property "$.timedConnectivityData[*].cellConnectivityData[*].layerConnectivities" is not empty And the response property "$.timedConnectivityData[*].cellConnectivityData[*].layerSignalStrengths" is not included in the response @@ -178,8 +176,7 @@ Feature: CAMARA Predictive Connectivity Data API, vwip And the response header "x-correlator" has same value as the request header "x-correlator" And the response body complies with the OAS schema at "/components/schemas/ConnectivityDataResponse" And the response property "$.status" value is "SUPPORTED_AREA" - And the response property "$.timedConnectivityData[*].startTime" is equal to or later than request body property "$.startTime" - And the response property "$.timedConnectivityData[*].endTime" is equal to or earlier than request body property "$.endTime" + And the response property "$.timedConnectivityData" intervals fully cover the requested time range from "$.startTime" to "$.endTime" And the response property "$.timedConnectivityData[*].cellConnectivityData[*].geohash" is a valid Geohash inside the request area And all the items in response property "$.timedConnectivityData[*].cellConnectivityData[*].layerConnectivities[*]" are equal to "GC", "MC" or "NC" And the response property "$.timedConnectivityData[*].cellConnectivityData[*].layerSignalStrengths" is not included in the response