Hview test cases
User Management
Admin Role
Test Case 1: Admin Can Add Users
- Description: Verify that an Admin can add new users to the system.
- Steps:
- Log in as an Admin.
- Navigate to the "User Management" section.
- Add a new user with valid information.
- Verify that the user is added successfully.
Test Case 2: Admin Can Reset User Password
- Description: Ensure that an Admin can reset the password of any user.
- Steps:
- Log in as an Admin.
- Navigate to the user profile of the target user.
- Reset the user's password.
- Verify that the user receives an email with a temporary password.
- Verify that the user can log in using the temporary password.
Test Case 11: Admin Can Delete Users
- Description: Verify that an Admin can delete users from the system.
- Steps:
- Log in as an Admin.
- Navigate to the "User Management" section.
- Select a user for deletion.
- Confirm the deletion.
- Verify that the user is removed from the system.
Test Case 12: Admin Can Lock User Accounts
- Description: Verify that an Admin can lock user accounts.
- Steps:
- Log in as an Admin.
- Navigate to the user profile of the target user.
- Lock the user's account.
- Verify that the user is unable to log in.
Engineer Role
Test Case 3: Engineer Cannot Add Users
- Description: Confirm that Engineers do not have permission to add new users.
- Steps:
- Log in as an Engineer.
- Attempt to navigate to the "User Management" section.
- Verify that the "Add User" option is not available.
Test Case 4: Engineer Can Reset Their Own Password
- Description: Ensure that Engineers can reset their own passwords.
- Steps:
- Log in as an Engineer.
- Navigate to the user profile.
- Reset the Engineer's own password.
- Verify that the Engineer receives an email with a temporary password.
- Verify that the Engineer can log in using the temporary password.
Test Case 13: Engineer Can Access Overview of Linked Grids
- Description: Verify that Engineers can access the overview of linked grids.
- Steps:
- Log in as an Engineer.
- Navigate to the "Linked Grids" section.
- Verify that the overview is accessible.
Test Case 14: Engineer Can Access Grid Dashboard (Read Only)
- Description: Ensure that Engineers can access the Grid Dashboard in read-only mode.
- Steps:
- Log in as an Engineer.
- Navigate to the "Grid Dashboard."
- Verify that the Grid Dashboard is accessible in read-only mode.
Test Case 15: Engineer Can Access Job Dashboard (Read Only)
- Description: Confirm that Engineers can access the Job Dashboard in read-only mode.
- Steps:
- Log in as an Engineer.
- Navigate to the "Job Dashboard."
- Verify that the Job Dashboard is accessible in read-only mode.
Test Case 16: Engineer Can Provide Feedback
- Description: Ensure that Engineers can provide feedback.
- Steps:
- Log in as an Engineer.
- Navigate to the "Feedback" section.
- Provide feedback.
- Verify that the feedback is submitted successfully.
Test Case 17: Engineer Can View System Report
- Description: Verify that Engineers can view the system report.
- Steps:
- Log in as an Engineer.
- Navigate to the "System Report" section.
- View the system report.
- Verify that the system report is accessible.
Test Case 18: Engineer Can Reset Their Password
- Description: Ensure that Engineers can reset their own passwords.
- Steps:
- Log in as an Engineer.
- Navigate to the user profile.
- Reset the Engineer's own password.
- Verify that the Engineer receives an email with a temporary password.
- Verify that the Engineer can log in using the temporary password.
Sales Role
Test Case 5: Sales Can Add Customers
- Description: Confirm that Sales representatives can add new customers to the system.
- Steps:
- Log in as a Sales representative.
- Navigate to the "Customer Management" section.
- Add a new customer with valid information.
- Verify that the customer is added successfully.
Test Case 6: Sales Cannot Reset User Passwords
- Description: Ensure that Sales representatives do not have permission to reset user passwords.
- Steps:
- Log in as a Sales representative.
- Attempt to reset a user's password.
- Verify that the option to reset passwords is not available.
Test Case 19: Sales Can Access Overview of Linked Grids
- Description: Verify that Sales representatives can access the overview of linked grids.
- Steps:
- Log in as a Sales representative.
- Navigate to the "Linked Grids" section.
- Verify that the overview is accessible.
Test Case 20: Sales Can Access Dashboard
- Description: Confirm that Sales representatives can access the dashboard.
- Steps:
- Log in as a Sales representative.
- Navigate to the "Dashboard" section.
- Verify that the dashboard is accessible.
Customer Role
Test Case 21: Customer Can Access Overview of Linked Grids
- Description: Verify that Customers can access the overview of linked grids.
- Steps:
- Log in as a Customer.
- Navigate to the "Linked Grids" section.
- Verify that the overview is accessible.
Test Case 22: Customer Can Access Dashboard
- Description: Confirm that Customers can access the dashboard.
- Steps:
- Log in as a Customer.
- Navigate to the "Dashboard" section.
- Verify that the dashboard is accessible.
Monitoring Features
Alarm Management
Test Case 7: Admin Can Configure Alarms
- Description: Verify that an Admin can configure alarms for servers.
- Steps:
- Log in as an Admin.
- Navigate to the "Alarm Management" section.
- Configure a new alarm with valid parameters.
- Verify that the alarm is active and working correctly.
Test Case 8: Engineers Can Acknowledge Alarms
- Description: Ensure that Engineers can acknowledge alarms.
- Steps:
- Log in as an Engineer.
- Navigate to the "Alarm Management" section.
-
View a
-
View a list of active alarms.
- Acknowledge an alarm.
- Verify that the alarm status changes to "Acknowledged."
Test Case 23: Engineers Can View Metrics
- Description: Confirm that Engineers can view server metrics.
- Steps:
- Log in as an Engineer.
- Navigate to the "Metrics Dashboard."
- Verify that Engineers can access and view server metrics.
Test Case 24: Sales Can View Metrics
- Description: Confirm that Sales representatives can view server metrics.
- Steps:
- Log in as a Sales representative.
- Navigate to the "Metrics Dashboard."
- Verify that Sales representatives can access and view server metrics.
Test Case 25: Customer Can View Metrics
- Description: Confirm that Customers can view server metrics.
- Steps:
- Log in as a Customer.
- Navigate to the "Metrics Dashboard."
- Verify that Customers can access and view server metrics.
Test Case 26: Developer Can View Metrics
- Description: Confirm that Developers can view server metrics.
- Steps:
- Log in as a Developer.
- Navigate to the "Metrics Dashboard."
- Verify that Developers can access and view server metrics.
Test Case 27: Metrics Are Up-to-Date
- Description: Ensure that server metrics are updated in real-time.
- Steps:
- Log in as a user.
- Monitor the metrics dashboard for updates.
- Verify that metrics data refreshes at regular intervals.
Additional Test Cases
Test Case 28: Dev Button (Level 5) Access
- Description: Confirm that users with Level 5 permissions can access the "Dev Button."
- Steps:
- Log in as a user with Level 5 permissions.
- Locate and click on the "Dev Button."
- Verify that the user can access the Dev features.
Test Case 29: Admin Can Link Grids
- Description: Verify that an Admin can link grids in the Grid Dashboard.
- Steps:
- Log in as an Admin.
- Navigate to the "Grid Dashboard."
- Link grids together.
- Verify that the grids are successfully linked.
Test Case 30: Admin Can Delete Grids
- Description: Confirm that an Admin can delete grids in the Grid Dashboard.
- Steps:
- Log in as an Admin.
- Navigate to the "Grid Dashboard."
- Select a grid for deletion.
- Confirm the deletion.
- Verify that the grid is removed from the system.
Test Case 31: Admin Can Add Grids
- Description: Verify that an Admin can add grids in the Grid Dashboard.
- Steps:
- Log in as an Admin.
- Navigate to the "Grid Dashboard."
- Add a new grid with valid information.
- Verify that the grid is added successfully.
Test Case 32: Admin Can View Grid Dashboard
- Description: Confirm that an Admin can view the Grid Dashboard.
- Steps:
- Log in as an Admin.
- Navigate to the "Grid Dashboard."
- Verify that the Grid Dashboard is accessible.
Test Case 33: Developer Can Access Dev Features
- Description: Verify that Developers can access specific development features.
- Steps:
- Log in as a Developer.
- Access and interact with the designated development features.
- Verify that Developers can use these features as expected.