You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background:
GIVEN I am logged in to The Staking App with my Passport
AND I’ve approved the contract to accept my tokens
Scenario: Enter the amount to stake
WHEN I click the stake button
THEN I see a modal that lets me enter the amount of GTC that I want to stake
Success Path: enough GTC balance
WHEN I put in multiple amounts of GTC
AND I have enough GTC in my balance to match the sum of all the amounts entered
AND I click the “stake” button
THEN I see a second modal confirming the amount of GTC I want to stake
AND a list of addresses/Passports that I am staking on
AND I see important details about how long my staking will be locked
AND I see information about how the smart contract has been audited
Fail Path: insufficient GTC balance
WHEN I give it an amount of GTC
AND I do not have enough GTC in my balance to match the amount I entered
THEN the “stake” button turns to disabled state and reads “insufficient balance”
OR
WHEN I give it an amount of GTC
AND I do not have enough GTC in my balance to match the amount I entered
AND I click the “stake” button
THEN I see a second modal that informs me that wallet balance is insufficient
Scenario: Confirm the staking
Success Path: confirms the staking
WHEN I’ve read the details (amount, locking info, audit info)
AND I click the confirm button (”stake my GTC”?)
THEN I receive a message from my wallet to sign a transaction
AND WHEN I accept the transaction
THEN my GTC is staked and locked
Return Path: return to the staking amount
WHEN I’ve read the details (amount, locking info, audit info)
AND I click “back to the previous step”
THEN I return back to the modal where I enter how much to stake
Scenario: Staking is complete
WHEN my GTC is transaction is confirmed
THEN I see a toast telling me it is complete
AND WHEN I look at the details on the Staking App dashboard
THEN the amount of GTC that I have staked is reflected on the Stake on others option
Notes
The failpath options are for @farque65 to decide based on whichever is faster
The text was updated successfully, but these errors were encountered:
Acceptance
Background:
GIVEN I am logged in to The Staking App with my Passport
AND I’ve approved the contract to accept my tokens
Scenario: Enter the amount to stake
WHEN I click the stake button
THEN I see a modal that lets me enter the amount of GTC that I want to stake
Success Path: enough GTC balance
WHEN I put in multiple amounts of GTC
AND I have enough GTC in my balance to match the sum of all the amounts entered
AND I click the “stake” button
THEN I see a second modal confirming the amount of GTC I want to stake
AND a list of addresses/Passports that I am staking on
AND I see important details about how long my staking will be locked
AND I see information about how the smart contract has been audited
Fail Path: insufficient GTC balance
WHEN I give it an amount of GTC
AND I do not have enough GTC in my balance to match the amount I entered
THEN the “stake” button turns to disabled state and reads “insufficient balance”
OR
WHEN I give it an amount of GTC
AND I do not have enough GTC in my balance to match the amount I entered
AND I click the “stake” button
THEN I see a second modal that informs me that wallet balance is insufficient
Scenario: Confirm the staking
Success Path: confirms the staking
WHEN I’ve read the details (amount, locking info, audit info)
AND I click the confirm button (”stake my GTC”?)
THEN I receive a message from my wallet to sign a transaction
AND WHEN I accept the transaction
THEN my GTC is staked and locked
Return Path: return to the staking amount
WHEN I’ve read the details (amount, locking info, audit info)
AND I click “back to the previous step”
THEN I return back to the modal where I enter how much to stake
Scenario: Staking is complete
WHEN my GTC is transaction is confirmed
THEN I see a toast telling me it is complete
AND WHEN I look at the details on the Staking App dashboard
THEN the amount of GTC that I have staked is reflected on the Stake on others option
Notes
The text was updated successfully, but these errors were encountered: