Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
Description
Test Case 1: Smoke
- Create an Account
- Assert there is a text input for External Reference Code when on the Edit Account screen.
- Edit to any value different from original.
- Save and assert the External Reference Code has new value.
Test Case 2: Using very long External Reference Code:
- Same setup as Test Case 1.
- Type in very long code (around 100 characters)
- Click Save.
- Expected Results: Error/Warning in UI saying "Please enter no more than x characters" like the input for Tax ID.
- Actual Results: No error in UI or indication that input was too long.
Test Case 3: Smoke with Account Groups
- Create a new Account Group.
- Give it an ERC
- Save.
- Assert that ERC is saved and viewable in UI.
Test Case 4: Edit ERC in Account Groups
- Edit the Account Group created in Test Case 3.
- Give it updated ERC.
- Save.
- Assert ERC has new value
Test Case 5: Regular Role (Add Account Group) with permissions
- Create a user
- Create a regular role with permissions to add an account group and access to account groups in the control panel
- Assign that role to the user.
- Sign in as user and create a new account group.
- Enter an ERC
- Save and assert ERC value
- Edit the account group with a different ERC value
- Assert new ERC value
(Note: test other cases as a user with these permissions instead of Test Test user)
Test Case 6: Regular Role (Add Account Entry)
- Create User
- Create regular role with permissions to add an account entry and access to account in the control panel.
- Assign that role to the user.
- Sign in as user and create a new account
- Edit the account to use a different ERC
- Save and assert new ERC value
Test Case 7: No duplicate ERC allowed.
- Create an Account Group with a ERC of "1234"
- Create a 2nd Account Group and attempt saving the same ERC.
- Assert Error:The given external reference code belongs to another account group.
- Assert the 2nd account group is not saved/present in account groups page.