diff --git a/features/ocmAuthCommunication.feature b/features/ocmAuthCommunication.feature new file mode 100644 index 0000000000000000000000000000000000000000..a3d42e8292ba608ebcbfda3c7ce036701b7d49a8 --- /dev/null +++ b/features/ocmAuthCommunication.feature @@ -0,0 +1,18 @@ +As policy administrator +I want to evaluate OCM communication feature +So I am able to create policies to control login functionality + +Scenario: Make request for QR code and presentationID +Given the policy to query OCM is uploaded to the system +When I send a request to the OCM service to evaluate policy +Then I get a successful response +And the response contains the link to the QR code +And the response contains the presentationID + +Scenario: Make request for getting claims by presentationID +Given the policy to query OCM is uploaded to the system +Given the request to the OCM service +When I send a request to the OCM service +And the request contains presentationID +Then I get a successful response +And response contains requested claims \ No newline at end of file diff --git a/features/ocmCommunication.feature b/features/ocmCommunication.feature deleted file mode 100644 index 7d06b2b9c22a530b22a6ef9407848360acbef81e..0000000000000000000000000000000000000000 --- a/features/ocmCommunication.feature +++ /dev/null @@ -1,12 +0,0 @@ -As policy administrator -I want to evaluate OCM communication feature -So I am able to create policies to control login functionality - -Scenario: Make OCM requests -Given the policy to query OCM is uploaded to the system -When I make the request to the OCM -And the request contains the path -And the request contains the input JSON object -Then I get successful response -And it contains the output JSON object -