This test case verifies the functionality of the "dnf history" command.
Install the latest version of Fedora on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process. Install some packages and remove some packages from the system.
How to test
- Open a terminal window
- Type "dnf history" and press Enter
- Observe the output
The following must be true to consider this a successful test run:
- The command executes without error
- The output includes a list of all transactions that have been performed on the system using DNF, with the most recent transactions listed first.
- Each transaction should include the transaction ID, the date and time of the transaction, the user who performed the transaction (if applicable), and a summary of the actions taken (such as installing or removing packages).
- The output is readable and formatted correctly.
Optionally, perform exploratory testing by running the command with different options, such as "--info" and "--last", to verify their functionality. Additionally, test the command with the "--verbose" option to verify that it provides additional information about the transactions listed.