Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End 2 end testing #141

Open
thomas-tran opened this issue Nov 17, 2021 · 7 comments
Open

End 2 end testing #141

thomas-tran opened this issue Nov 17, 2021 · 7 comments

Comments

@thomas-tran
Copy link

Hi @brianorwhatever , do you have an end to end testing example for this?

@brianorwhatever
Copy link
Contributor

hi @thomas-tran we have some cypress tests that run through the full 4 step waci-presentation-exchange flow.

You can find the test file here https://github.com/aviarytech/wacinsteins-monster/blob/main/tests/cypress/integration/waci-pex.spec.js and there is a video demo of it running here https://github.com/aviarytech/wacinsteins-monster/tree/main/frontend/public/assets/videos

I have also allowed anyone to sign in using their email to the demo located here https://aviary.one/ and here https://aviary.vc/ which lets you play around with sending presentations back and forth between domains.

Let me know if you have any troubles or more questions.

@thomas-tran
Copy link
Author

Thanks. I will take a look

@thomas-tran
Copy link
Author

@brianorwhatever I've checked the code and just want to know how does the holder using the mobile wallet to derived the credential using the rest API presentations? Does the Rest API kms hold the private key of the holder?

@brianorwhatever
Copy link
Contributor

yes these are only example credentials and the server acts as the holder. this is just for demonstration purposes

@Vanderscycle
Copy link
Contributor

@thomas-tran this repo, from an outsider perspective, looks as if it fell in a state of disrepair, but we haven't forgotten about it as we are building on top of it on another project.

@Vanderscycle Vanderscycle pinned this issue Nov 24, 2021
@thomas-tran
Copy link
Author

@brianorwhatever One more question, do you have sample how to issue the credential to the wallet holder using the didcomm? I did not see it in any test cases.

@brianorwhatever
Copy link
Contributor

hi @thomas-tran this project was created to implement the waci-pex spec (https://identity.foundation/waci-presentation-exchange/) which at the time did not include issuance so we only use example credentials here. there is no issuance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants