Test case for FEA27 - Admin panel
Test Case description | Testing the admin panel (TUI) |
Test Case ID | TC-009 |
Autohor/Designer | Sampsa Tervo |
Date of creation | 20.3.2023 |
Class | Functional |
Test description / objective
This test aims to verify that the admin panel can be used to "CRUD" hashes, import skills to the database and export data from the database to a .csv file.
Links to requirements or other sources
- Requirement: FUNC-REQ-C0001 - 0006
- Use case: FEA27 Use Case
- Feature: FEA27 - Admin panel
Test pre-state
The user has acquired access to the admin panel and is ready to open it.
Test steps
- Enter and log in to the machine that the service is being run on
- Run the command for the admin panel (tuix.py)
- Run the command to dump the answer database to a .csv file
- Verify, that all of the data is intact and readable from the .csv file
- Run the command to add a new hash to the database
- Verify, that the new hash appears in the database
- Run the command to update a hash in the database
- Verify, that the hash is edited
- Run the command to delete a hash from the database¨
- Verify, that the hash is deleted
- Run the command to import the SFIA data into the database
- Verify, that the database has the new imported SFIA data
Test end-state
The user is able to do all of the things mentioned above to manage the system
Test result (Pass/Fail Criteria)
- PASS condition: The user can create, read, update AND delete hashes, export the data to a csv file and import new SFIA data to the database.
- FAIL condition: ANY of the above criteria aren't met.