-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add present-proof rejection scenario
- Loading branch information
Anton Baliasnikov
committed
Mar 16, 2023
1 parent
d592d7f
commit 797f82a
Showing
2 changed files
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
tests/e2e-tests/src/test/resources/features/present_proof/present_proof.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
@AIP20 @RFC0037 | ||
Feature: Present Proof Protocol | ||
|
||
@TEST_ATL-3850 | ||
Scenario: Holder presents credential proof to verifier | ||
Given Faber and Bob have an existing connection | ||
And Bob has an issued credential from Acme | ||
When Faber sends a request for proof presentation to Bob | ||
And Bob receives the request | ||
And Bob makes the presentation of the proof to Faber | ||
And Faber acknowledges the proof | ||
Then Faber has the proof verified | ||
|
||
@TEST_ATL-3881 | ||
Scenario: Verifier rejects holder proof | ||
Given Faber and Bob have an existing connection | ||
And Bob has an issued credential from Acme | ||
When Faber sends a request for proof presentation to Bob | ||
And Bob receives the request | ||
And Bob rejects the proof | ||
Then Bob sees the proof is rejected |