---
# System prepended metadata

title: Lead QA Engineer Case Study @ LucaNet

---

TC1.
Summary:
It is possible to select any year available to the user

User can select any year available to them on the calendar view.

Prerequisites:
User is logged in. User is on the quarterly financial reports page.

Steps:
1. Click on the calendar button -> The calendar view is opened.
2. Select current year -> The year is successfully selected.



TC10.
Summary:
Missing data is reflected as expected on the report

Prerequites:
A user with data that is missing one of the values.
TC1. TC2.


Steps:
1. Press the button to generate a report -> Download starts
2. Open the downloaded report -> Report is ssuccessfully opened
3. Verify the various sections of the report -> Sections that contain data are displayed correctly. Section with missing data is hidden.

---

Algorithm: FindLargestNumber
Input: A list of numbers (List)
Output: The largest number in the list

1. If List is empty, return "The list is empty" to indicate no numbers are available to compare.
2. Let LargestNumber be the first element of List. // Assume the first number is the largest initially
3. For each Number in List starting from the second element:
   a. If Number is greater than LargestNumber:
      i. Set LargestNumber to Number // Update LargestNumber if a larger number is found
4. Return LargestNumber

---

POST /analytics

Financial data in JSON format accepted by the system
 Input: Data in JSON format
 Output: 200
 
 1. In the request headers
     a. if mandatory field missing - request denied
     b. if all mandatory fields being sent, optional fields missing - 200
 3. Fill the request body with a financial data in a JSON format, matching the endpoint schema.
 4. 


