@goncalo-frade-iohk @antonbaliasnikov this is the draft of the e2e framework. few things are not ready yet and others could be improved
but the main points are the junit and html reports that create the output files that we are going to use for the releases. they are created using the targetDirectory folder -- which should point to the source code folder (E2E/e2etests/Target)
Executed 4 features
Feature: Receive anonymous credential
Scenario: Receive one anonymous credential
(✔) Cloud Agent is connected to Edge Agent
Cloud Agent create a connection using OEA API
Cloud Agent remembers [invitation]
Cloud Agent remembers [connectionId]
Cloud Agent recalls [invitation]
Edge Agent remembers [invitation]
Edge Agent recalls [invitation]
Edge Agent parses an OOB invitation using Swift SDK
Edge Agent accepts an invitation using Swift SDK
Cloud Agent recalls [connectionId]
Cloud Agent waits until connection state to be ConnectionResponseSent using OEA API
(✔) Cloud Agent offers an anonymous credential
Cloud Agent recalls [connectionId]
Cloud Agent offers an anonymous credential to 7f1fb47b-524e-4a6f-8cde-72d9ed6a13f7 using OEA API
Cloud Agent remembers [recordId]
(✔) Edge Agent should receive the credential
Edge Agent waits until credential offer count to be 1 using Swift SDK
(✔) Edge Agent accepts the credential
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
(✔) Cloud Agent should see the credential was accepted
Cloud Agent recalls [recordId]
Cloud Agent waits until credential state is CredentialSent using OEA API
(✔) Edge Agent wait to receive 1 issued credentials
Edge Agent waits until wait for issued credentials to be 1 using Swift SDK
(✔) Edge Agent process 1 issued credentials
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Status: SUCCESS
Feature: Create connection
Scenario: Create connection between Cloud and Edge agents
(✔) Cloud Agent has a connection invitation
Cloud Agent create a connection using OEA API
Cloud Agent remembers [invitation]
Cloud Agent remembers [connectionId]
(✔) Cloud Agent shares invitation to Edge Agent
Cloud Agent recalls [invitation]
Edge Agent remembers [invitation]
(✔) Edge Agent connects through the invite
Edge Agent recalls [invitation]
Edge Agent parses an OOB invitation using Swift SDK
Edge Agent accepts an invitation using Swift SDK
(✔) Cloud Agent should have the connection status updated to 'ConnectionResponseSent'
Cloud Agent recalls [connectionId]
Cloud Agent waits until connection state to be ConnectionResponseSent using OEA API
Status: SUCCESS
Feature: Receive verifiable credential
Scenario: Receive multiple verifiable credentials at once
(✔) Cloud Agent is connected to Edge Agent
Cloud Agent create a connection using OEA API
Cloud Agent remembers [invitation]
Cloud Agent remembers [connectionId]
Cloud Agent recalls [invitation]
Edge Agent remembers [invitation]
Edge Agent recalls [invitation]
Edge Agent parses an OOB invitation using Swift SDK
Edge Agent accepts an invitation using Swift SDK
Cloud Agent recalls [connectionId]
Cloud Agent waits until connection state to be ConnectionResponseSent using OEA API
(✔) Edge Agent accepts 3 credentials offer at once from Cloud Agent
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to 5bbfdb03-6ddf-47cc-bb1f-68d97d40b28d using OEA API
Cloud Agent remembers [recordId]
Cloud Agent recalls [recordId]
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to 5bbfdb03-6ddf-47cc-bb1f-68d97d40b28d using OEA API
Cloud Agent remembers [recordId]
Cloud Agent recalls [recordId]
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to 5bbfdb03-6ddf-47cc-bb1f-68d97d40b28d using OEA API
Cloud Agent remembers [recordId]
Cloud Agent recalls [recordId]
Cloud Agent remembers [recordIdList]
Edge Agent waits until credential offer count to be 3 using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
(✔) Cloud Agent should see all credentials were accepted
Cloud Agent recalls [recordIdList]
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent waits until credential state is CredentialSent using OEA API
(✔) Edge Agent wait to receive 3 issued credentials
Edge Agent waits until wait for issued credentials to be 3 using Swift SDK
(✔) Edge Agent process 3 issued credentials
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Status: SUCCESS
Scenario: Receive multiple verifiable credentials sequentially
(✔) Cloud Agent is connected to Edge Agent
Cloud Agent create a connection using OEA API
Cloud Agent remembers [invitation]
Cloud Agent remembers [connectionId]
Cloud Agent recalls [invitation]
Edge Agent remembers [invitation]
Edge Agent recalls [invitation]
Edge Agent parses an OOB invitation using Swift SDK
Edge Agent accepts an invitation using Swift SDK
Cloud Agent recalls [connectionId]
Cloud Agent waits until connection state to be ConnectionResponseSent using OEA API
(✔) Edge Agent accepts 3 credential offer sequentially from Cloud Agent
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to e30c83dd-81e2-4e9a-ba8d-b2d22a13def3 using OEA API
Cloud Agent remembers [recordId]
Edge Agent waits until credential offer count to be 1 using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
Cloud Agent recalls [recordId]
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to e30c83dd-81e2-4e9a-ba8d-b2d22a13def3 using OEA API
Cloud Agent remembers [recordId]
Edge Agent waits until credential offer count to be 1 using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
Cloud Agent recalls [recordId]
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to e30c83dd-81e2-4e9a-ba8d-b2d22a13def3 using OEA API
Cloud Agent remembers [recordId]
Edge Agent waits until credential offer count to be 1 using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
Cloud Agent recalls [recordId]
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent remembers [recordIdList]
(✔) Cloud Agent should see all credentials were accepted
Cloud Agent recalls [recordIdList]
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent waits until credential state is CredentialSent using OEA API
Cloud Agent waits until credential state is CredentialSent using OEA API
(✔) Edge Agent wait to receive 3 issued credentials
Edge Agent waits until wait for issued credentials to be 3 using Swift SDK
(✔) Edge Agent process 3 issued credentials
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Status: SUCCESS
Scenario: Receive one verifiable credential
(✔) Cloud Agent is connected to Edge Agent
Cloud Agent create a connection using OEA API
Cloud Agent remembers [invitation]
Cloud Agent remembers [connectionId]
Cloud Agent recalls [invitation]
Edge Agent remembers [invitation]
Edge Agent recalls [invitation]
Edge Agent parses an OOB invitation using Swift SDK
Edge Agent accepts an invitation using Swift SDK
Cloud Agent recalls [connectionId]
Cloud Agent waits until connection state to be ConnectionResponseSent using OEA API
(✔) Cloud Agent offers a credential
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to 77dd2fd9-29e3-43dc-86cc-da0101bcf232 using OEA API
Cloud Agent remembers [recordId]
(✔) Edge Agent should receive the credential
Edge Agent waits until credential offer count to be 1 using Swift SDK
(✔) Edge Agent accepts the credential
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
(✔) Cloud Agent should see the credential was accepted
Cloud Agent recalls [recordId]
Cloud Agent waits until credential state is CredentialSent using OEA API
(✔) Edge Agent wait to receive 1 issued credentials
Edge Agent waits until wait for issued credentials to be 1 using Swift SDK
(✔) Edge Agent process 1 issued credentials
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
Status: SUCCESS
Feature: Provide proof of request
Scenario: Respond to request proof
(✔) Cloud Agent is connected to Edge Agent
Cloud Agent create a connection using OEA API
Cloud Agent remembers [invitation]
Cloud Agent remembers [connectionId]
Cloud Agent recalls [invitation]
Edge Agent remembers [invitation]
Edge Agent recalls [invitation]
Edge Agent parses an OOB invitation using Swift SDK
Edge Agent accepts an invitation using Swift SDK
Cloud Agent recalls [connectionId]
Cloud Agent waits until connection state to be ConnectionResponseSent using OEA API
(✔) Edge Agent has 1 credentials issued by Cloud Agent
Cloud Agent recalls [connectionId]
Cloud Agent offers a credential to d04f6cf3-f67a-4519-8f8a-48fbf779b3a3 using OEA API
Cloud Agent remembers [recordId]
Edge Agent waits until credential offer count to be 1 using Swift SDK
Edge Agent gets the first credential offer using Swift SDK
Edge Agent removes it from list using Swift SDK
Edge Agent create a new prism DID using Swift SDK
Edge Agent request a credential using Swift SDK
Edge Agent send a message using Swift SDK
Cloud Agent recalls [recordId]
Cloud Agent waits until credential state is CredentialSent using OEA API
Edge Agent waits until wait for issued credentials to be 1 using Swift SDK
Edge Agent get an issued credential using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent process the credential using Swift SDK
(✔) Cloud Agent asks for present-proof
Cloud Agent recalls [connectionId]
Cloud Agent ask a presentation proof to d04f6cf3-f67a-4519-8f8a-48fbf779b3a3 using OEA API
Cloud Agent remembers [presentationId]
(✔) Edge Agent sends the present-proof
Edge Agent waits until wait for present proof request using Swift SDK
Edge Agent get a verifiable credential using Swift SDK
Edge Agent get proof request using Swift SDK
Edge Agent remove it from list using Swift SDK
Edge Agent make message using Swift SDK
Edge Agent send message using Swift SDK
(✔) Cloud Agent should see the present-proof is verified
Cloud Agent recalls [presentationId]
Cloud Agent waits until present proof state is PresentationVerified using OEA API
Status: SUCCESS
Results running in xcode
Fixes #
Checklist
My PR contains...
[ ] No code changes (changes to documentation, CI, metadata, etc.)
[ ] Bug fixes (non-breaking change which fixes an issue)
[ ] Improvements (misc. changes to existing features)
[ ] Features (non-breaking change which adds functionality)
My changes...
[ ] are breaking changes
[ ] are not breaking changes
[ ] If yes to the above: I have updated the documentation accordingly
Documentation
[ ] My changes do not require a change to the project documentation
[ ] My changes require a change to the project documentation
[ ] If yes to the above: I have updated the documentation accordingly
Tests
[ ] My changes can not or do not need to be tested
[ ] My changes can and should be tested by unit and/or integration tests
[ ] If yes to the above: I have added tests to cover my changes
[ ] If yes to the above: I have taken care to cover edge cases in my tests
Overview
@goncalo-frade-iohk @antonbaliasnikov this is the draft of the e2e framework. few things are not ready yet and others could be improved
but the main points are the
junit
andhtml
reports that create the output files that we are going to use for the releases. they are created using thetargetDirectory
folder -- which should point to the source code folder (E2E/e2etests/Target
)XML example:
(checkout the output using online parser like this: https://lotterfriends.github.io/online-junit-parser)
"HTML" example (it's a txt file for now):
Results running in xcode
Fixes #
Checklist
My PR contains...
My changes...
Documentation
Tests