As a user
I want to join a battlepass
So that I will be able to participate in events and win rewards
———
Acceptance Criteria
1 When a user clicks the "Join Premium Battlepass" button on the "Guild" page (see Pic.1) and the wallet is connected, then open the "Confirmation" popup.
Pic.1. "Join Premium Battlepass" button on the "Guild" page
2 When a user clicks the "Join Premium Battlepass" in the "Confirmation" popup (see Pic.2), then open the "Transaction" popup.
Pic.2. "Join Premium Battlepass" button in the "Confirmation" popup
3 When a user clicks the "Confirm" button in the "Transaction" popup (see Pic.3), then allow a user to sign a transaction in his wallet and after that do the following actions:
• Close the popup
• Hide the "Join Premium Battlepass!" button
• Display the following toast notification: ”You have successfully joined a battlepass”
• Display a user’s Battlepass points on the “Guild” page
Pic.3. "Confirm" button in the "Transaction" popup
Statement of Value
As a user I want to join a battlepass So that I will be able to participate in events and win rewards
———
Acceptance Criteria
1 When a user clicks the "Join Premium Battlepass" button on the "Guild" page (see Pic.1) and the wallet is connected, then open the "Confirmation" popup.
Pic.1. "Join Premium Battlepass" button on the "Guild" page
2 When a user clicks the "Join Premium Battlepass" in the "Confirmation" popup (see Pic.2), then open the "Transaction" popup.
Pic.2. "Join Premium Battlepass" button in the "Confirmation" popup
3 When a user clicks the "Confirm" button in the "Transaction" popup (see Pic.3), then allow a user to sign a transaction in his wallet and after that do the following actions: • Close the popup • Hide the "Join Premium Battlepass!" button • Display the following toast notification: ”You have successfully joined a battlepass” • Display a user’s Battlepass points on the “Guild” page
Pic.3. "Confirm" button in the "Transaction" popup
———
Additional Information
Join Battlepass user flow
Mockups