diff --git a/code/Test_definitions/click-to-dial-createCall.feature b/code/Test_definitions/click-to-dial-createCall.feature index 1cef225..f13b55f 100644 --- a/code/Test_definitions/click-to-dial-createCall.feature +++ b/code/Test_definitions/click-to-dial-createCall.feature @@ -7,10 +7,13 @@ Feature: CAMARA Click to Dial API, vwip - Operation createCall # References to OAS spec schemas refer to schemas specified in click-to-dial.yaml Background: Common createCall setup - Given an environment at "apiRoot" | + Given an environment at "apiRoot" + And the resource "/click-to-dial/v0.1rc1/calls" And the header "Content-Type" is set to "application/json" And the header "Authorization" is set to a valid access token - # Properties not explicitly overwritten in the Scenarios can take any values compliant with the schema + And the header "x-correlator" is set to a valid UUID + And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator" + # Properties not explicitly overwritten in the Scenarios can take any values compliant with the schema And the request body is set by default to a request body compliant with the schema at "/components/schemas/CreateCallRequest" # Success scenarios diff --git a/code/Test_definitions/click-to-dial-getRecording.feature b/code/Test_definitions/click-to-dial-getRecording.feature index 79b2376..ad37101 100644 --- a/code/Test_definitions/click-to-dial-getRecording.feature +++ b/code/Test_definitions/click-to-dial-getRecording.feature @@ -7,10 +7,13 @@ Feature: CAMARA Click to Dial API, vwip - Operation getRecording # References to OAS spec schemas refer to schemas specified in click-to-dial.yaml Background: Common getRecording setup - Given an environment at "apiRoot" | + Given an environment at "apiRoot" + And the resource "/click-to-dial/v0.1rc1/calls/{callId}/recording" And the header "Content-Type" is set to "application/json" And the header "Authorization" is set to a valid access token - # Path parameters not explicitly overwritten in the Scenarios can take any values compliant with the schema + And the header "x-correlator" is set to a valid UUID + And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator" + # Path parameters not explicitly overwritten in the Scenarios can take any values compliant with the schema # Success scenarios @getrecording_success diff --git a/code/Test_definitions/click-to-dial-terminateCall.feature b/code/Test_definitions/click-to-dial-terminateCall.feature index 9b9e19e..d758e75 100644 --- a/code/Test_definitions/click-to-dial-terminateCall.feature +++ b/code/Test_definitions/click-to-dial-terminateCall.feature @@ -7,10 +7,13 @@ Feature: CAMARA Click to Dial API, vwip - Operation terminateCall # References to OAS spec schemas refer to schemas specified in click-to-dial.yaml Background: Common terminateCall setup - Given an environment at "apiRoot" | + Given an environment at "apiRoot" + And the resource "/click-to-dial/v0.1rc1/calls/{callId}" And the header "Content-Type" is set to "application/json" And the header "Authorization" is set to a valid access token - # Path parameters not explicitly overwritten in the Scenarios can take any values compliant with the schema + And the header "x-correlator" is set to a valid UUID + And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator" + # Path parameters not explicitly overwritten in the Scenarios can take any values compliant with the schema # Success scenarios @terminatecall_success