moonshotcollective / id-staking

https://staking.passport.gitcoin.co
MIT License
5 stars 1 forks source link

[STORY] As a passport holder, I want to unstake when the round is over so that I can get my tokens back #91

Open brentmartin opened 2 years ago

brentmartin commented 2 years ago

Acceptance Criteria:

Background: The Grants Round associated with Identity Staking has ended

Scenario: Self Staking Dashboard GIVEN I have a staking on myself WHEN I'm logged into staking.passport.gitcoin.co THEN I see a red button with CTA "Unstake All"

AND WHEN I click "Unstake All" THEN I see a transaction in my wallet to sign that will unstake my GTC balance

AND WHEN I click confirm on my wallet THEN I will see a confirmation once the transaction is completed AND THEN I will see that the red "Unstake All" CTA has turned to "Stake" in a gray disabled state.

Scenario: Community Staking Dashboard GIVEN I have staked on other people WHEN I'm logged into staking.passport.gitcoin.co THEN I see a red button with CTA "Unstake All"

AND WHEN I click "Unstake All" THEN I see a transaction in my wallet to sign that will unstake all of my GTC staked on all accounts

AND WHEN I click confirm on my wallet THEN I will see a confirmation once the transaction is completed AND THEN I will see that the red "Unstake All" CTA has turned to "Stake" in a gray disabled state.

Notes: