bcgov / bc-wallet-mobile

BC Wallet to hold Verifiable Credentials
Apache License 2.0
62 stars 49 forks source link

Nightly Automated Test of Showcase/BC Wallet #1471

Open cvarjao opened 1 year ago

cvarjao commented 1 year ago

AMTH has separate interfaces for Issuer and Verifier, the Show Case has one site and flow for both so two options are available.

  1. (Preferred)
    • Create an Issuer Agent Interface to the issuing part of the Showcase
    • Create a Verifier Agent Interface to the proof side of the Showcase
    • When the agent interface starts up it will navigate to the beginning of the proof screens, selecting "I have my credential" on the way in. Then waits on that page until the tests want to do the proof request.
    • ignore the Agent interfaces and just call the full flow in the tests.
    • This is slightly more difficult to implement because there are no patterns to follow in the Test Harness for this, unlike the preexisting Agent Interfaces.
    • If we want the full issue and proof flow tested though the same browser session as a user doing a demo would usually do, I could make an Issuer-Verifier Agent that inherits from both separate Issuer and Verifier Interfaces.

Create Page Objects for the Showcase

Create a set of test scenarios that will take the wallet through the Lawyer and Student flows.

Create new Project(s) in Allure

Create new test execution steps in the test pipeline GitHub actions

nodlesh commented 11 months ago

This issue is 98% complete. It is now working occasionally in the test pipeline. However, not that the initial pipeline failure has been fixed, some flakiness is still present in the tests that make then fail sometimes. This sill needs a little work. Moving to blocked until I come back from some AATH tasks.