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

Refactor VC flow e2e tests #2532

Merged
merged 3 commits into from
Jul 8, 2024
Merged

Conversation

frederikrothenberger
Copy link
Contributor

@frederikrothenberger frederikrothenberger commented Jul 5, 2024

This PR refactors the VC related e2e tests such that the test_app is no longer misused to test alternative origins configurations for the issuer.

And because the issuer can now be configured as needed in tests, the call to the provision script in dfx.json no longer needs to configure the test app as the issuer derivation origin either.

Additionally a new test is added to verify that the VC flow indeed fails on issuer alternative origins misconfiguration.


🟡 Some screens were changed

This PR refactors the VC related e2e tests such that the test_app is no
longer misused to test alternative origins configurations for the issuer.

And because the issuer can now be configured as needed in tests, the call to
the provision script in `dfx.json` no longer needs to configure the
test app as the issuer derivation origin either.

Additionally a new test is added to verify that the VC flow indeed fails
on issuer alternative origins misconfiguration.
@frederikrothenberger frederikrothenberger requested a review from a team as a code owner July 5, 2024 12:54
Copy link
Collaborator

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

demos/vc_issuer/app/index.tsx Show resolved Hide resolved
@frederikrothenberger frederikrothenberger added this pull request to the merge queue Jul 8, 2024
Merged via the queue into main with commit 74ad1ef Jul 8, 2024
65 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/refactor-tests branch July 8, 2024 07:51
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

Successfully merging this pull request may close these issues.

2 participants