MOTIVATION: register the wallet to the session, will be useful to sign transactions
SCENARII:
Feature: Home page / Login / logout
Scenario: Home page
Given user U is not connected
When user U is at home page
Then "Connect Wallet" button is displayed
Scenario: Connect Wallet
Given user U is not connected
When user U clicks on "Connect Wallet" button
Then Beacon "Select wallet" popup is displayed
When user U clicks on "Temple" wallet
Then Beacon "Select account" popup is displayed
When user U clicks on "Account1"
Then banner user icon is displayed
When user U clicks on banner user icon
Then user address, balance, ctez token balance and "Disconnect Wallet" is displayed
Scenario: Disconnect Wallet
Given user U is connected
When user U clicks on banner user icon
Then banner user icon is displayed
When user U clicks on "Disconnect Wallet" button
Then "Connect Wallet" button is displayed
DETAILED DESIGN:
The home page should normally display available rollups, but for the moment wwe can leave a blanck component on the middle
The banner has a title "TzPortal" and a button "Connect Wallet" by default
Once connected, a user icon replaces the connection button. If we click on the icon, popover displays the address of connected user and Tz balance also other tokens if available on the storage (ex : CTEZ). On the bottom of the popover we have a "Disconnect Wallet" button
MOTIVATION: register the wallet to the session, will be useful to sign transactions
SCENARII:
DETAILED DESIGN: