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:

  1. Admin

    1. Click "Users"
    2. Click "Credit" button of the selected user
    3. Select Wallet
    4. Enter Amount
    5. Click "Top-up" button
  2. User

    1. Click "Users
    2. Click "Credit" button of the selected user
    3. Enter users email
    4. Click the suggested email
    5. Select Wallet
    6. Enter Amount
    7. Click "Top-up" button

Valid Tests

  1. Admin successfully credit sendah direct wallet of user without entering sponsor
  2. Admin successfully credit money wallet of user without entering user sponsor
  3. Credit sendah direct wallet of user using user type wallet
  4. Credit sendah direct wallet of user using admin type wallet
  5. Credit money wallet of user using admin type wallet
  6. Credit sendah direct wallet of admin user without sponsor
  7. Credit money wallet of admin user without sponsor
  8. Credit sendah direct wallet of admin user with sponsor
  9. Credit money wallet of admin user with sponsor
  10. Credit money wallet of user and change its distributor
  11. Credit sendah direct wallet with negative amount
  12. Cancel credit money wallet
  13. Change the wallet of user to centralize

Invalid Tests

  1. Credit sendah direct wallet of user using admin type user with no wallet
  2. Credit sendah direct wallet of user using user type with no wallet
  3. Credit money wallet of user using admin type user with no wallet
  4. Credit money wallet of user using user type wallet with no wallet
  5. Credit sendah direct wallet without entering amount
  6. Credit money wallet with whitespaces on amount field
  7. Credit money wallet with whitespaces only on amount field
  8. Credit sendah direct wallet with multiple decimal points on amount field
  9. Credit sendah direct wallet with alphanumeric character on amount field
  10. Credit sendah direct wallet with special character on amount field
  11. Credit sendah direct wallet of user with insufficient wallet of user type sponsor
  12. Credit any wallet with negative amount without sponsor