Skip to content

Commit

Permalink
test: fix e2e tests after updating the branch from the main
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed Nov 28, 2024
1 parent a649376 commit 67a5326
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ Feature: Issue JWT credential
Given Issuer and Holder have an existing connection
And Holder creates unpublished DID for 'JWT'
When Issuer prepares a custom PRISM DID
And Issuer has published 'STUDENT_SCHEMA' schema
And Issuer adds a '<assertionMethod>' key for 'assertionMethod' purpose with '<assertionName>' name to the custom PRISM DID
And Issuer creates the custom PRISM DID
And Issuer publishes DID to ledger
When Issuer offers a jwt credential to Holder with 'short' form DID using issuingKid '<assertionName>'
When Issuer offers a jwt credential to Holder with 'short' form DID using issuingKid '<assertionName>' and STUDENT_SCHEMA schema
And Holder receives the credential offer
And Holder accepts jwt credential offer using 'auth-1' key id
And Issuer issues the credential
Expand All @@ -27,6 +28,7 @@ Feature: Issue JWT credential
Scenario: Issuing jwt credential with published PRISM DID
Given Issuer and Holder have an existing connection
And Issuer has a published DID for 'JWT'
And Issuer has published 'STUDENT_SCHEMA' schema
And Holder has an unpublished DID for 'JWT'
When Issuer offers a jwt credential to Holder with 'short' form DID
And Holder receives the credential offer
Expand Down Expand Up @@ -56,6 +58,7 @@ Feature: Issue JWT credential
Scenario: Issuing jwt credential with unpublished PRISM DID
Given Issuer and Holder have an existing connection
And Issuer has an unpublished DID for 'JWT'
And Issuer has published 'STUDENT_SCHEMA' schema
And Holder has an unpublished DID for 'JWT'
And Issuer offers a jwt credential to Holder with 'long' form DID
And Holder receives the credential offer
Expand All @@ -65,8 +68,9 @@ Feature: Issue JWT credential

Scenario: Connectionless issuance of JWT credential using OOB invitation
Given Issuer has a published DID for 'JWT'
And Issuer has published 'STUDENT_SCHEMA' schema
And Holder has an unpublished DID for 'JWT'
When Issuer creates a 'JWT' credential offer invitation with 'short' form DID
When Issuer creates a 'JWT' credential offer invitation with 'short' form DID and STUDENT_SCHEMA schema
And Holder accepts the credential offer invitation from Issuer
And Holder accepts jwt credential offer using 'auth-1' key id
And Issuer issues the credential
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Feature: Present Proof Protocol
When Issuer prepares a custom PRISM DID
And Issuer adds a '<assertionMethod>' key for 'assertionMethod' purpose with '<assertionName>' name to the custom PRISM DID
And Issuer creates the custom PRISM DID
When Issuer offers a jwt credential to Holder with 'long' form DID using issuingKid '<assertionName>'
When Issuer offers a jwt credential to Holder with 'long' form DID using issuingKid '<assertionName>' and STUDENT_SCHEMA schema
And Holder receives the credential offer
And Holder accepts jwt credential offer using 'auth-1' key id
And Issuer issues the credential
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Feature: Issue SD-JWT credential
And Issuer adds a '<authentication>' key for 'authentication' purpose with '<authenticationName>' name to the custom PRISM DID
And Issuer creates the custom PRISM DID
And Issuer publishes DID to ledger
And Issuer has published 'ID_SCHEMA' schema
When Issuer offers a sd-jwt credential to Holder
And Holder receives the credential offer
And Holder accepts credential offer for sd-jwt
Expand All @@ -22,6 +23,7 @@ Feature: Issue SD-JWT credential
Scenario: Issuing sd-jwt credential with holder binding
Given Issuer and Holder have an existing connection
And Issuer has a published DID for 'SD_JWT'
And Issuer has published 'ID_SCHEMA' schema
And Holder has an unpublished DID for 'SD_JWT'
When Issuer offers a sd-jwt credential to Holder
And Holder receives the credential offer
Expand All @@ -32,8 +34,9 @@ Feature: Issue SD-JWT credential

Scenario: Connectionless issuance of sd-jwt credential with holder binding
And Issuer has a published DID for 'SD_JWT'
And Issuer has published 'ID_SCHEMA' schema
And Holder has an unpublished DID for 'SD_JWT'
When Issuer creates a 'SDJWT' credential offer invitation with 'short' form DID
When Issuer creates a 'SDJWT' credential offer invitation with 'short' form DID and ID_SCHEMA schema
And Holder accepts the credential offer invitation from Issuer
And Holder accepts credential offer for sd-jwt with 'auth-1' key binding
And Issuer issues the credential
Expand Down

0 comments on commit 67a5326

Please sign in to comment.