Test case Id | Test case description | Steps | Expected Result | Priority | Status | Comments | ||
---|---|---|---|---|---|---|---|---|
1. | Verify that new account is created when we create a new user | Create a user with a unique name. | Verify that a new non-admin account got created. | P3 | pass |
|
|
|
2. | Remove one user from the account | 1. Create an account with 2 users. | 1. Verify that account still exists. | P3 | pass |
|
|
|
3. | Remove last user from the account | 1. Create an account with 2 users. | 1. Verify that account was removed as soon as a last user got removed - execute listAccounts command with account name. | P3 | fail pass |
|
| |
4. | Verify that users can remove VMs belonging to different users from the same account | 1. Create an account with 2 users. | First user should be able to remove a VM belonging to the second user as the user belongs to the same account. | P3 | pass |
|
|
|
5. | Admin UI: update password feature | 1.Login to admin UI with admin/password, create a couple of users. | ROOT admin can update password for himself and for all other admins | P3 | pass |
|
|
|
7. | Admin UI: make sure that non-root admin can't see ROOT admins/users | 1.Login to admin UI, create a domain, assign a new admin for this domain. | non-root admin shouldn't see ROOT users/admin. | P3 | pass |
|
|
|
8. | Remove account when it has VMs in Starting/Stopping state | 1.Create an account, start couple of VMs | 1.Verify that account got removed successfully. | P3 | pass |
|
|
|
9. | Remove account when External Firewall (having a VMs sourceNat rule) is non-accessible | 1.Configure External firewall. | 1.Verify that account got removed successfully. | P3 | pass |
|
|
|
10. | Verify that ROOT domain exists in the system by default, and is should have admin/system users assigned | Deploy management server. | 1.Verify that ROOT domain is present in the system by default. | P3 | pass |
|
|
|
11. | Disable account when it has VMs in Starting state | 1. Create an account. | All VMs belonging to the disabled account should be stopped. | P3 | pass |
|
|
|
12. | Verify that admin can't start VMs for disabled account | 1.Create an account. | Admin shouldn't be able to start VMs belonging to disabled account. | P3 | pass |
|
|
|
13. | Verify that disabled user can't execute any commands | 1.Create an account. | API Should be blocked. | P3 | pass |
|
|
|
14. | Try to assign user to disabled account | 1.Create an account. | API Should be blocked. | P3 | pass |
|
|
|
16. | Service offerings in a domain should be visible to that domain and to all the domains lower in the heirarchy. | 1. create a domain and sub domain like ROOT>domain1>domain2>domain3 | 1.when logged in as a user in account in domain1 , we should be able to see the service offerings in domain2 and domain3 | P3 | pass |
| ||
17. | Service offerings in a domain should NOT be visible to any other domain in the same heirarchy level (sibling domains). | 1. create domains domain1 and domain2 under ROOT | 1.when logged in as a user in account in domain1 , we should not be able to see the service offerings in domain2 | P3 | pass |
| ||
18. | Service offerings from the domains that are lower in the heirarchy level (child domains) should NOT be visible to the parent domain. | 1. create domains domain1 and domain2 under ROOT | 1.when logged in as a user in account in domain1 , we should not be able to see the service offerings in ROOT | P3 | pass |
| ||
19. | Private templates in a domain should be visible to that domain and to all the domains higher in the heirarchy. | 1. create domains domain1 and domain2 under ROOT | templates in the domain1 and domain2 should be visible from ROOT | P3 | pass |
| ||
20. | Private templates in a domain should NOT be visible to any other domain in the same heirarchy level (sibling domains). | 1. create domains domain1 and domain2 under ROOT | templates in the domain1 should NOT be visible from domain2 | P3 | pass |
| ||
21. | Try to edit ROOT domain | Send editDomain command for the ROOT domain (id=1). | You should be denied to do it - error response should be generated. | P3 | pass |
| ||
22. | Try to create a domain with duplicate name | 1) Create a domain "domain1". | You should be denied to do that - domain name is supposed to be unique | P3 | pass |
| ||
23. | Try to create a domain with non-existing parent Id | Send "createDomain" api command with non-existing value for "parentdomainid" | Should get an error response. | P3 | pass |
| ||
24. | Verify "type" return parameter in listAccounts response | 1) Execute listApi command with parameter name=admin. Make sure that accountType=1 was returned. | 1) Execute listApi command with parameter name=admin. Make sure that accountType=1 was returned. | P3 | pass |
| ||
26. | CreateUser and assign it to non-existing domain | Specify domainid=<non existing domainid> parameter in the url for createUser | Verify that you received an error code and no user was created. | P3 | pass |
| ||
27. | CreateUser and assign it to non-existing non-admin account | Specify account=<non existing account> parameter in the url for createUser | User and new account should be successfully created; user should be assigned to this account | P3 | pass |
| ||
28. | Miss some parameters for createUser | Try to miss one of the following parameters during the user creation: | Verify that you received an error response and no user was created | P3 | pass |
| ||
30. | Issue createUser by regular user via 8080 port | Send createUser command via 8080 port | Verify that you received an error response - regular user can't create a user | P3 |
|
| ||
31. | CreateUser without specifying an account | Send createUser command without specifying an account. | Account creation should fail with an error | P3 | pass |
| ||
32. | CreateUser: specify existing account with non-existing domain | 1.Create first user "user1". Account "user1" got created along with domainid=2. | Verify that you get an error response and no user got created. | P3 | pass |
| ||
35. | Create two users with the same username and different accounts specified | Try to create two users with the same username and different accounts specified | second user will fail to create due to username exists in the root domain | P3 | pass |
| ||
36. | Create two users with the same username and no account specified in different domains | Try to create two users with the same username and no account specified in different domains | Account creation should fail with an error in both the cases | P3 | pass |
| ||
37. | DeleteUser for non-existing user | Try to delete non-existing user. | should get an error code | P3 | pass |
| ||
38. | Delete already deleted user | Try to delete an user who is already deleted | should get an error code | P3 | pass |
| ||
39. | GetUser for deleted user | Try to getUser for deleted user | should get an error code | P3 | pass |
| ||
40. | "disableUser" command for reseller admin | 1. Create a non-ROOT admin. | The user should be disabled successfully. | P3 | pass |
| ||
41. | ListAccounts shouldn't show "system" account | Execute listAccounts command and make sure that "system" account is not listed there. | We should hide system account from the end user. | P3 | pass |
| ||
42. | Try to update user with the user name that already exist in the DB | 1) Create user1 and user2 in the ROOT domain. | You should get an error response | P3 | pass |
| ||
43. | User's password stored in the DB should be encrypted | Create a user | Make sure that his password is encrypted in the DB | P3 | pass |
| ||
44. | admin account should be able to change passwords for admins. | 1.login as admin A | 1.For admin A : make sure password is changed and you can login with the new password. | P3 | pass |
| ||
45. | MD5 Hashed Password authentication | 1) Try to bring fresh setup of CS | Login should be successful with hashed password | P1 | pass |
| ||
47. | GetUser for non-existing user | Try to getUser for non-existing user | should get an error code | P3 | pass |
| ||
48. | Update admin user | Try to update admin user | should get an error code | P3 | pass |
| ||
49. | Create a domain with the name that already exists in the system | Try to create a domain with the name of already existing domain | should get an error response | P3 | pass |
| ||
50. | ListDomains shouldn't show removed domains | Create couple of domains and remove them. | Make sure that removed domains weren't returned in the response | P3 | pass |
| ||
51. | Remove domain when it has users assigned to it | Create a non-root domain, assign a couple of users to it. | Make sure that you received error response | P3 | pass |
| ||
52. | "disableUser" command for ROOT admin | 1. Create a Root admin. | Should be blocked. | P3 | pass |
| ||
53. | "disableAccount" command for ROOT admin | 1. Create a Root admin. | Should be blocked. | P3 | pass |
| ||
54. | "disableAccount" command for reseller admin | 1. Create a non-ROOT admin. | The account should be disabled successfully. | P3 | pass |
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|