SelfKeyFoundation / Identity-Wallet

Code for the SelfKey Identity Wallet
https://selfkeyfoundation.github.io/Identity-Wallet/
MIT License
57 stars 26 forks source link

Passports Marketplace #600

Closed rodrigopavezi closed 3 years ago

rodrigopavezi commented 5 years ago

As an individual I want to be able to apply for getting a passport through the Selfkey Identity Wallet so that it facilitates this bureaucratic process

andregoncalves commented 5 years ago

The open and browse features for passports marketplace. Working on the detailed program screen and submit application features

Feature: Open Passports Marketplace

    Background: Given the user has created a SelfKey wallet

    Scenario: Open Passports Marketplace
        Given user has opened SelfKey wallet
        And navigated to the Marketplace screen
        When user clicks the "Learn More" button in Passports & Residencies block
        Then Passports list screen is displayed

Feature: Browse Passports Marketplace

    Background: Given user has opened SelfKey wallet
    And the user has opened the Passports Marketplace Screen

    Scenario: Passports data is loading
        Given passports data has not loaded
        Then user sees a loading animation

    Scenario: Filter programs by Type
        Given passports data has loaded
        When user clicks the a specific "Type" label in "Type" column
        Then Passports list is updated showing only programs with that specific type
        And a message is displayed to indicate the active filter

    Scenario: Remove filter
        Given passports data has loaded
        And a filter is active
        When user clicks "Clear Filter" button
        Then filter is removed and passports program list is updated
        And the filter message is removed

    Scenario: Order programs table
        Given passports data has loaded
        When user clicks a column header
        Then the passports program list should order by that column
        And a visual indication is displayed on the column header

    Scenario: Open Program
        Given passports data has loaded
        When user clicks the "Details" button on the last column
        Then the program detailed screen is displayed

    Scenario: Not Enough Tokens to Apply
        Given passports data has loaded
        When user is browsing the Passports Marketplace screen
        And a specific program requires more KEY tokens than available in the wallet
        Then the Details button in the last column is greyed out
        And a warning message is displayed