Existing Tests:
Test 1: Logs, Summary Page Rendered
Logs of 9 types populated (Fertilizing, Pest Control, Harvest, Seeding, Field Work, Soil Data, Irrigation, Scouting, Other)
Procedure
Login and go to Logs page from menu
Check logs are rendered, and then for Activities, Crops and Fields filters check default filter selection and manipulate each one
Expected Results
after navigating to logs page, check logs for all items are shown
all filters should be set to general selection as default to show all results ('All', ‘All Crops’, ‘All Fields’) and changes in selection to all three of these changes the logs rendered below accurately
Test 2: Logs, Adds Pesticide log - Custom Product
Procedure
from logs page navigate to add a ‘Pest Control’ log
add custom product
Expected Results
can navigate to add a ‘Pest Control’ log and fill add custom product form with name and save
Test 3: Logs, Adds Pesticide log - Target
Procedure
from logs page navigate to add a ‘Pest Control’ log
add custom product - test target group drop down and fill other category
Expected Results
clicking add target groups, renders Add a Disease page with working drop-down and empty name input
Tests to add/update:
Fertilizing log features/cases (changes are coming based on last meeting):
No field, only product selected
custom product
field with crops - crop field appears right now default empty
many crops and many fields versus fields and no crops versus product and no fields or crops
if no product specified in all cases error when saving
Logs, Add Fertilizing Logs - Custom Product & Field without crops
Procedure
from logs page navigate to add a ‘Fertilizing’ log
click add custom product, choose a template product and check values populated - save - check error
fill product name - save
choose field, click drop down to find custom product
Expected Results
all values in custom product should be set to 0 default
selecting product template changes all values and error arises if no name specified
return to original page after save, then find custom product in drop down and save log
this log should now be listed with fields and crops as ‘None’
Logs, Add Fertilizing Logs - Field with crops
Procedure
from logs page navigate to add a ‘Fertilizing’ log
choose farm with crops, and fill in details
fill product name - save
repeat with multiple crops selected and multiple fields
Expected Results
when selecting field with crops, crop field appears
in log- values under field and crop not None - when multiple shows the word Multiple