diff --git a/features/policyExport.feature b/features/policyExport.feature index c204fffe6178fffbae17ae1b423b8ffc4336c39a..25027dd166f27a3d0cce9323a6809171686e3817 100644 --- a/features/policyExport.feature +++ b/features/policyExport.feature @@ -2,9 +2,20 @@ As user of an external system I want to have an exported result of the policy in JSON-LD format So I am able to verify the result of policy evaluation +Scenario: Execute task for JSON-LD exporting +Given the environment configured for running policy for export +When I execute the task +And the task contains the actual http url to execute +And the finalizer policy contains a policy signing the data +Then I get successful response +And the response contains task id + Scenario: Export of the policy evaluation result -Given policy configured for being evaluated for export -When I evaluate the policy +Given value exists inside of the cache +And the format of the value is in JSON-LD +When I execute policy export functionality +And the request contains task id Then I get a successful response -And the response is in a JSON-LD format -And the response contains proof section signed by TSA \ No newline at end of file +And the response contains the exported document + +