Release Notes: https://github.com/peerplays-network/peerplays-core-gui/releases/tag/v1.5.3-alpha
{% hint style="info" %} copy of GPOS GUI - Power Up/Power Down : https://peerplays.atlassian.net/wiki/spaces/PROJECTS/pages/328270030/GPOS+GUI+-+Power+Up+Power+Down {% endhint %}
Pres-requisite : new wallet account and existing account with GPOS balance
Description | Expected Result | QA
Testing Notes |
Pass/Fail | Build |
---|---|---|---|---|
Login to PeerPlays Wallet dApp with new wallet account created |
Should login successfully and display home page Validate GPOS Panel exists in right side of the wallet home page |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate content of the GPOS Panel |
GPOS Panel should contain
|
"GET STARTED" Button is not Green |
Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Click on "GET STARTED" button in the GPOS Panel | Peerplays GPOS Wizard will open with Power Up, Power Down and Cancel buttons | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on "GET STARTED" button in the GPOS Panel and then Power Up Add amount 50 TEST to vest |
GPOS Panel should display GPOS Balance 50 TEST | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on CANCEL and Logout | Pass | Peerplays-Core-GUI- 1.5.1-alpha | ||
Login to PeerPlays Wallet dApp with existing account with GPOS balance |
Should login successfully and display home page Validate GPOS Panel exists in right side of the wallet home page |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate content of the GPOS Panel |
GPOS Panel should contain
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on "PARTICIPATE" button in the GPOS Panel | Peerplays GPOS Wizard will open with Power Up, Power Down and Cancel buttons | No Cancel Button. Vote button instead of cancel. | Pass | 1.0.28 |
Click on CANCEL and Logout | Should logout successfully | No Cancel Button. Done button used | Pass | 1.0.28 |
Pre-requisite : two wallet accounts user1 with vesting balance and user2 with zero vesting balance
Description | Expected Result | QA
Testing Notes |
Pass/Fail | Build |
---|---|---|---|---|
Login to PeerPlays Wallet dApp with user2 and password | Should login successfully and display home page | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate GPOS Panel exists in right side of the wallet home page | Pass | Peerplays-Core-GUI- 1.5.1-alpha | ||
Validate content of the GPOS Panel If GPOS Balance <= 0 |
GPOS Panel should contain
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on 'Lean More' will open Help modal displaying GPOS section with Header GAMIFIED PROOF OF STAKE and content: The Peerplays blockchain uses Gamified Proof of Stake (GPOS) as the means to maintaining blockchain security while incorporating the human design element necessary for effective voting mechanics. By participating in GPOS you are staking your PPY for a period of 30 days. After the 30 day time period, you may request to withdraw the staked PPY. During the staking period, you will be capable of participating in the voting of node operators and other important functions within the Peerplays ecosystem. Advisors, Witnesses, new Proposals, SONs, and other types of nodes and providers that make up the Peerplays ecosystem will benefit from your votes. For your contribution in helping secure the blockchain, you will receive
Participation Rewards. These rewards are based on the amount of PPY you
have staked relative to the rest of the network distribution. Participation
Rewards are given out each month and are based on the collective activity
(i.e.: blockchain fees) on the Peerplays blockchain. As more value comes
into the network, this is sent to you as a reward for helping make it happen.
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | ||
Verify GPOS Balance | should be 0 | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Verify Voting Performance | No Rewards in Dark Red | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Verify Quality Reward % | should be 0% | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Verify Estimated rake reward % | should be 0% | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Logout and Login to PeerPlays Wallet dApp with user1 and password | Should login successfully and display home page | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate GPOS Panel exists in right side of the wallet home page | Pass | Peerplays-Core-GUI- 1.5.1-alpha | ||
Validate content of the GPOS Panel If GPOS Balance > 0 |
GPOS Panel should contain
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Verify GPOS Balance | should be total amount vested of type GPOS | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Verify Voting Performance |
Expected values is based on Vesting Factor Please refer to the table in next cell for expected text to display |
Note: This could be text that gives feedback on the user's
voting performance ( vesting_factor ). |
Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Quality Reward % = vesting factor * 100 | Note: if there decimal places it should display only first two decimals | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Verify Estimated rake reward % |
Estimated rake reward % = (b / TB) * p where b = User GPOS balance
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Pre-requisite : new wallet account or account without GPOS vesting balance
Description | Expected Result | QA
Testing Notes |
Pass/Fail | Build |
---|---|---|---|---|
Login to PeerPlays Wallet dApp with a valid username and password and with 0 GPOS balance |
Should login successfully and display home page In GPOS Panel, Only Get Started button should exist |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
In GPOS Panel, Click on Get Started button |
Peerplays GPOS Wizard dialog will open and verify below content. Description: "Join GPOS by transferring your PPY to your GPOS balance. Consistently participate in voting for the best Witnesses, Advisors, Proposals, and SONs. Share the exciting news and DApps available on Peerplays with others. The more value that comes into Peerplays blockchain through its operations, the more those that participate to help make it secure will earn! If you want to increase your participation rewards you can do it two ways:
Together as a Decentralized Autonomous Cooperative (DAC), we can ensure Peerplays remains the most secure provably fair blockchain globally." POWER UP, POWER DOWN , VOTE and CANCEL buttons should exist POWER UP button should be enabled POWER DOWN button should be disabled VOTE button should be disabled CANCEL button should be enabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on POWER UP button |
Power Up screen will open with Description: When you Power Up your PPY on the Peerplays blockchain you are taking your first steps into participating in the Decentralized Autonomous Cooperative (DAC) that is the magic in blockchain tech. This means you will:
Opening GPOS Balance Deposit field New GPOS Balance CANCEL button will be enabled SUBMIT button will be disabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on CANCEL button | returns to previous step - "Getting Started" | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on Get Started button | Getting Started dialog will open | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Opening GPOS Balance | should be 0 PPY | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate New GPOS Balance | same as Opening GPOS Balance | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Deposit input field |
Validate:
|
Comment: |
Fail | Peerplays-Core-GUI- 1.5.1-alpha |
Enter valid PPY amount in Deposit field |
should not throw any error New GPOS Balance should display the amount entered in Deposit field SUBMIT button will be enabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on SUBMIT button |
The content where the form exists will be replaced with a loading animation The "Submit" and "Cancel" buttons will be disabled during this animation. User should not be able to close the modal/dialog during this animation. On Success:
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
On Failure:
|
Comment:
|
|||
If Power Up was success, Click on Next button |
Should take to Peerplays GPOS Wizad which has Power Up, Power Down , Vote and Done buttons. All button should be enabled |
Comment: |
Fail | Peerplays-Core-GUI- 1.5.1-alpha |
Click on Done button |
GPOS Wizard will close. In Wallet Main Page
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Pre-requisite : Peerplays account with GPOS vesting balance
Description | Expected Result | QA
Testing Notes |
Pass/Fail | Build |
---|---|---|---|---|
Login to PeerPlays Wallet dApp with a valid username and password and with GPOS balance > 0 |
Should login successfully and display home page GPOS Panel should contain
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
In GPOS Panel, Click on Participate button |
Peerplays GPOS Wizard dialog will open and verify below content. Description: "Join GPOS by transferring your PPY to your GPOS balance. Consistently participate in voting for the best Witnesses, Advisors, Proposals, and SONs. Share the exciting news and DApps available on Peerplays with others. The more value that comes into Peerplays blockchain through its operations, the more those that participate to help make it secure will earn! If you want to increase your participation rewards you can do it two ways:
Together as a Decentralized Autonomous Cooperative (DAC), we can ensure Peerplays remains the most secure provably fair blockchain globally." POWER UP, POWER DOWN , VOTE and CANCEL buttons should exist POWER UP button should be enabled POWER DOWN button should be enabled VOTE button should be enabled CANCEL button should be enabled |
Comment:
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Click on POWER UP button |
Power Up screen will open with Description: When you Power Up your PPY on the Peerplays blockchain you are taking your first steps into participating in the Decentralized Autonomous Cooperative (DAC) that is the magic in blockchain tech. This means you will:
Opening GPOS Balance Deposit field New GPOS Balance CANCEL button will be enabled SUBMIT button will be disabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Opening GPOS Balance | should be current gpos balance of the user say X PPY/TEST | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Current GPOS Balance | should be same Opening GPOS Balance | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Deposit input field |
Validate:
|
Comment: |
Fail | Peerplays-Core-GUI- 1.5.1-alpha |
Enter valid PPY amount in Deposit input field |
should not throw any error New GPOS Balance = Deposit Amount + Opening GPOS balance(X) SUBMIT button will be enabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on SUBMIT button |
The content where the form exists will be replaced with a loading animation The "Submit" and "Cancel" buttons will be disabled during this animation. User should not be able to close the modal/dialog during this animation. On Success:
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
On Failure:
|
Comment:
|
|||
If Power Up was success, Click on Next button |
Should take to Peerplays GPOS Wizad which has Power Up, Power Down , Vote and Done buttons. All button should be enabled |
Comment: |
Fail | Peerplays-Core-GUI- 1.5.1-alpha |
Click on Done button |
GPOS Wizard will close. In Wallet Main Page
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Pre-requisite : Peerplays account with GPOS vesting balance
Note: This testcase should be executed for the following cases:
- User has made single vesting, it has passed lockin period and available for withdrawal → withdraw partial amount and then remaining amount
- User has made multiple vesting, atleast first vesting has passed lockin period → withdraw first vesting balance
- User has made multiple vesting, two or more vesting have passed lockin period → make a withdraw where withdraw amount = sum of more 2 or more vesting balances
- Note: withdraw transaction fee should be same for all the scenarios mentioned above
Description | Expected Result | QA
Testing Notes |
Pass/Fail | Build |
---|---|---|---|---|
Login to PeerPlays Wallet dApp with a valid username and password and with GPOS balance > 0 |
Should login successfully and display home page GPOS Panel should contain
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
In GPOS Panel, Click on Participate button |
Peerplays GPOS Wizard dialog will open and verify below content. Description: "Join GPOS by transferring your PPY to your GPOS balance. Consistently participate in voting for the best Witnesses, Advisors, Proposals, and SONs. Share the exciting news and DApps available on Peerplays with others. The more value that comes into Peerplays blockchain through its operations, the more those that participate to help make it secure will earn! If you want to increase your participation rewards you can do it two ways:
Together as a Decentralized Autonomous Cooperative (DAC), we can ensure Peerplays remains the most secure provably fair blockchain globally." POWER UP, POWER DOWN , VOTE and CANCEL buttons should exist POWER UP button should be enabled POWER DOWN button should be enabled VOTE button should be enabled CANCEL button should be enabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on POWER DOWN button |
Power Down screen will open with following info Description: When you Power Down it will take 30 days for you to withdraw your PPY balance in full. You will continue to receive participation rewards during that time so long as you have been participating. After Power Down you can then use your PPY like any other cryptocurrency. This means you will:
Opening GPOS Balance Available GPOS Balance Withdraw Field New GPOS Balance CANCEL button will be enabled SUBMIT button will be disabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Opening GPOS Balance | should be current gpos balance of the user say X TEST | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Available GPOS Balance | should be withdrawable gpos balance (Vesting balances which have crossed lock in period) of the user say X TEST | Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Validate Withdraw input field |
Validate:
|
Comment:
|
Fail | Peerplays-Core-GUI- 1.5.1-alpha |
Enter valid PPY/TEST amount in Withdraw input field |
should not throw any error New GPOS Balance = Opening GPOS balance(X) - Withdraw amount SUBMIT button will be enabled |
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
Click on SUBMIT button |
The content where the form exists will be replaced with a loading animation The "Submit" and "Cancel" buttons will be disabled during this animation. User should not be able to close the modal/dialog during this animation. On Success:
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
On Failure:
|
Comment:
|
Pass | Peerplays-Core-GUI- 1.5.1-alpha | |
If Power Down was success, Click on Next button |
Should take to Peerplays GPOS Wizad which has Power Up, Power Down , Vote and Done buttons. If GPOS Balance is 0, then except Power Up and Done button, all others should be disabled If GPOS Balance > 0, then all button should be enabled |
Comment: Failed case When GPOS Balance > 0
|
Fail | Peerplays-Core-GUI- 1.5.1-alpha |
Click on Done button |
GPOS Wizard will close. In Wallet Main Page
|
Note: Network/Total GPOS Balance can be fetched using get_gpos_info api call | Pass | Peerplays-Core-GUI- 1.5.1-alpha |
Logout and Login and then navigate to Power Down Modal | Verify Opening GPOS Balance and Available GPOS balances up to date | Pass | Peerplays-Core-GUI- 1.5.1-alpha |