Credit User - AyannahQA/test GitHub Wiki
Overview
This menu lets both users of the admin account and user account to put credit in their respective accounts.
Steps:
-
Admin
- Click "Users"
- Click "Credit" button of the selected user
- Select Wallet
- Enter Amount
- Click "Top-up" button
-
User
- Click "Users
- Click "Credit" button of the selected user
- Enter users email
- Click the suggested email
- Select Wallet
- Enter Amount
- Click "Top-up" button
Valid Tests
- Admin successfully credit sendah direct wallet of user without entering sponsor
- Admin successfully credit money wallet of user without entering user sponsor
- Credit sendah direct wallet of user using user type wallet
- Credit sendah direct wallet of user using admin type wallet
- Credit money wallet of user using admin type wallet
- Credit sendah direct wallet of admin user without sponsor
- Credit money wallet of admin user without sponsor
- Credit sendah direct wallet of admin user with sponsor
- Credit money wallet of admin user with sponsor
- Credit money wallet of user and change its distributor
- Credit sendah direct wallet with negative amount
- Cancel credit money wallet
- Change the wallet of user to centralize
Invalid Tests
- Credit sendah direct wallet of user using admin type user with no wallet
- Credit sendah direct wallet of user using user type with no wallet
- Credit money wallet of user using admin type user with no wallet
- Credit money wallet of user using user type wallet with no wallet
- Credit sendah direct wallet without entering amount
- Credit money wallet with whitespaces on amount field
- Credit money wallet with whitespaces only on amount field
- Credit sendah direct wallet with multiple decimal points on amount field
- Credit sendah direct wallet with alphanumeric character on amount field
- Credit sendah direct wallet with special character on amount field
- Credit sendah direct wallet of user with insufficient wallet of user type sponsor
- Credit any wallet with negative amount without sponsor