Water use calculator https://lite-farm.atlassian.net/browse/LF-2801
Role: N/A
API: N/A
User preferences: Units should display in the user’s preferred measuring system
Dates: N/A
Switching farms:N/A
Input constraints: N/A
Data transformation: Change in units selection for inputs updates the total water user
Cascading effects: N/A
Synchronous/ Asynchronous: N/A
External service: N/A
Test Suite
Test Step # | Description | Test Data | Expected Result | Actual Result | Pass/Fail |
1 | While signed in to LiteFarm as a FW/FO/FM/EO begin the irrigation task creation flow, after the date and location selection and involve crops steps | User arrives at the irrigation task attributes screen. | |||
2 | User selects an irrigation type, selects the volume radio button in the “how do you measure water use” section, and clicks “Calculate water usage” | The volume water use calculator modal is displayed. The UI is formatted as per JIRA ticket | |||
3 | User inputs an estimated flow rate, checks the “set as default flow rate for this location” checkbox, inputs an estimated duration and clicks save | User is returned to the irrigation task attributes screen and the estimated water usage calculated is displayed | |||
4 | selects the depth radio button in the “how do you measure water use” section, and clicks “Calculate water usage” | The depth water use calculator modal is displayed. The UI is formatted as per JIRA ticket | |||
5 | User inputs an estimated application depth, checks the “set as default application depth for this location” checkbox, inputs a % of location to be irrigated and clicks save | User is returned to the irrigation task attributes screen and the estimated water usage calculated is displayed | |||
6 | User clicks “Calculate water usage” | Water use calculator modal is displayed | |||
7 | User clicks “cancel” or outside the modal | Water use calculator modal is dismissed | |||
8 | User changes their preferred measurement system and repeats step 1 through 5 | All units inputs and labels display units in the users preferred measurement | |||
9 | |||||
10 | |||||
11 | |||||
12 | |||||
13 | |||||
14 | |||||