moonshotcollective / id-staking

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

[STORY] As a passport holder, I want the staking modal to include the stakings I have so that I can increase them #84

Closed farque65 closed 2 years ago

farque65 commented 2 years ago

Acceptance Criteria

Background: User has staked on themself and others

#

Scenario: User increases Self Staking

GIVEN I have opened Modify Stake modal WHEN I see my staking THEN I see an updated total amount

WHEN I click decrease the amount THEN nothing happens!!!!!!

WHEN I click increase the amount THEN the total amount increases AND WHEN I click the CTA "Stake" THEN a transaction pops up on my wallet AND WHEN I click confirm transaction THEN the modal closes and a success toast appears when the transaction is complete

#

Scenario: User increases Community Staking

GIVEN I have opened Modify Stake modal WHEN I see a list of all of the people I have staked on THEN I see the total amount staked on each

WHEN I click decrease on the amount of one of my stakings THEN nothing happens!!!!!!

WHEN I click increase on the amount of one of my stakings THEN the total amount increases AND WHEN I click the CTA "Stake" THEN a transaction pops up on my wallet AND WHEN I click confirm transaction THEN the modal closes and a success toast appears when the transaction is complete


Notes