**Positive Scenario Test Suite for Attendance Tracking Feature**
**Part 1: Positive Scenarios**
### Test Case 1: Successful Time In Log
#### Preconditions:
* The user must be logged in to the system.
* The Attendance Tracking feature must be enabled.
#### Steps:
1. Navigate to the Attendance Tracking page.
2. Click the "Time In" button.
3. Enter a valid location (e.g., "Office").
4. Click the "Log Time" button.
#### Expected Outcome:
* A success message is displayed: "Time In logged successfully."
* The Time In log is saved with the current timestamp and location.
### Test Case 2: Successful Time Out Log
#### Preconditions:
* The user must have a previous Time In log.
* The Attendance Tracking feature must be enabled.
#### Steps:
1. Navigate to the Attendance Tracking page.
2. Click the "Time Out" button.
3. Click the "Log Time" button.
#### Expected Outcome:
* A success message is displayed: "Time Out logged successfully."
* The Time Out log is saved with the current timestamp, and the duration is calculated correctly.
### Test Case 3: Multiple Time In/Out Logs
#### Preconditions:
* The user must be logged in to the system.
* The Attendance Tracking feature must be enabled.
#### Steps:
1. Navigate to the Attendance Tracking page.
2. Click the "Time In" button and log time (repeat 3 times).
3. Click the "Time Out" button and log time (repeat 3 times).
#### Expected Outcome:
* All Time In and Time Out logs are saved correctly with their respective timestamps.
* The duration for each log is calculated correctly.
**Part 2: Regression Test Case**
### Test Case 4: Time In/Out Log Retrieval
#### Preconditions:
* The user must have previous Time In and Time Out logs.
* The Attendance Tracking feature must be enabled.
#### Steps:
1. Navigate to the Attendance Tracking page.
2. Click the "View Logs" button.
3. Verify that all previous Time In and Time Out logs are displayed correctly.
#### Expected Outcome:
* All previous Time In and Time Out logs are displayed correctly, including their timestamps and durations.
* No unintended side effects occur, and all logs are accurately retrieved.
By following these test cases, you can ensure that the Attendance Tracking feature functions correctly and provides accurate Time In and Time Out logs for users.