diff --git a/features/principal-manager/principalManager.feature b/features/principal-manager/principalManager.feature new file mode 100644 index 0000000000000000000000000000000000000000..6a3ce5cebe1b598576723533602abbd9cbae9db6 --- /dev/null +++ b/features/principal-manager/principalManager.feature @@ -0,0 +1,17 @@ +Feature: Offer membership credentials + Offer the membership credentials to the holder when the connection is in complete state + +Scenario: Process connection request when status is complete +Given the connection status as complete +# Controller.ts -> connectionComplete +When I evaluate status as complete +# Nats -> 'ATTESTATION_MANAGER_SERVICE/offerMemberShipCredentials' +Then I called the offer membership credentials (attestation service) +And get a successful response +Then sends the response with message status connection received + +Scenario: Process connection request when status is other than complete +Given the connection status other than complete +# Controller.ts -> connectionComplete +When I evaluate status as not complete +Then sends the response with message connection status should be Complete