Staking - Test Cases

Design / Requirements: https://fioprotocol.atlassian.net/wiki/spaces/PROD/pages/451477688/Stake+Tokens

Feature

Details

Additional Notes / Parameter testing

Result

Feature

Details

Additional Notes / Parameter testing

Result

Wallet List View

  • Display (Only Relates to Additional Balance and Staking View)

    • Balance in FIO and USDC at the time of display

      • Total

      • If locked > 0, also show:

        • Available

        • Locked

      • If staked > 0, also show:

        • Rewards

        • Staked

      • Obtain using (…)

    • Links

      • Stake

        • On click

          • Display Stake FIO View

      • Unstake

        • On click

          • Display Unstake FIO View

      • View

 

 

Micro view

  • Display (Only Relates to Additional Balance and Staking View)

    • Unlock Date

      • Obtain using (…)

    • Amount

      • Obtain using (…)

    • Links

      • Close

        • On click

          • Close modal and return user to the wallet view

 

 

Staking

FIO Staking

  • Shows wallet(s) name on drop down menu

  • Transaction cost shows on the page

  • Max FIO tokens displays max FIO tokens in the tab to be staked, after click.

  • Staking works smoothly, inserted an invalid pin to see the outcome and an error message appeared to notify the user the pin was incorrect and when user inserted the correct pin the validation went through and a confirmation page appears.

  • Shows FIO address(s) for staking only when the user has 1 or more FIO Available

  • FIO stake amount denominated in FIO and has a side bar that reflects in USDC for user to see the cost in USD.

  • Low FIO balance error message shows when user has a lower balance than they are trying to stake or has no balance at all.

  • Low FIO balance message and no associated addresses notification shows up when user has no address and also no balance or lower balance than what the user is trying to stake

  • No Remaining bundles message shows up when the address selected by the user has no available bundles left.

  • Max FIO and No Remaining bundles message shows up about a small portion of FIO being held to ensure the transaction does not fail.

 

 

Unstaking

FIO Unstaking

  • Shows wallet(s) name on drop down menu

  • Transaction cost shows on the page

  • Reward token locked schedule shows up

  • Max FIO tokens displays max FIO tokens in the tab to be unstaked, after click.

  • UnStaking works smoothly, inserted an invalid pin to see the outcome and an error message appeared to notify the user the pin was incorrect and when user inserted the correct pin the validation went through and a confirmation page appears that the FIO has been unstaked.

  • Shows FIO address(s) for UnStaking only when the user has 1 or more FIO Available to unstake.

  • FIO UnStake amount denominated in FIO and has a side bar that reflects in USDC for user to see the cost in USD.

  • Low FIO balance error message shows when user has a lower balance than they are trying to UnStake or has no balance at all. it also shows and tells the user the amount they are allowed to UnStake that's available.

  • Low FIO balance message and no associated addresses notification shows up when user has no address and also no balance or lower balance than what the user is trying to UnStake.

  • No Remaining bundles message shows up when the address selected by the user has no available bundles left to UnStake.

  • UnStaking Rewards amount message and No Remaining bundles message shows up with a message stating the reward amount of FIO tokens will be locked for 7days before it can be transferred or staked again after UnStaking.