Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 opened this issue Sep 7, 2022 · 0 comments · Fixed by #92
Assignees

Comments

@farque65
Copy link
Contributor

farque65 commented Sep 7, 2022

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

@brentmartin brentmartin changed the title [STORY] As a passport holder, I want to be alerted and prevented from removing a staking so that I know that I can't do so [STORY] As a passport holder, I want the staking modal to include the stakings I have so that I can increase them Sep 14, 2022
@farque65 farque65 self-assigned this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant