LF-2804 Test plan

(Manual) irrigation task read-only view https://lite-farm.atlassian.net/browse/LF-2804

Role:

  • Farm workers can only modify assignee if it is blank or they are the assignee (and they want to set it blank).

  • Farmworkers may not modify the “Due date”.

  • Farmworkers may not abandon a task or mark it complete unless they are the assignee. User preferences: Units should display in the user’s preferred measuring system

User preferences:

  • Units should display in the user’s preferred measuring system

  • Labels and inputs should be displayed in the user’s preferred language

API: N/A

Dates: N/A

Switching farms:N/A

Input constraints: N/A

Data transformation: N/A

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 FO/FM/EO create a custom irrigate task, ensure all optional fields have values, leave the task unassigned

 

Task successfully created. Task card appears on tasks view

 

 

2

User clicks the task card for the task created in step 1

 

Task read only view is displayed as per Jira ticket

 

 

3

User clicks the pencil icon next to “Assignee” and assigns the task to themselves

 

Input updated correctly

 

 

4

User clicks the pencil icon next to “Due date” and changes the due date

 

Input updated correctly

 

 

5

In another window the user signs in as FW and navigates to the tasks view

 

A Task card for the irrigate task created in step 1 exists

 

 

6

User clicks on the task card

 

Task read only view is displayed as per Jira ticket. User cannot re-assign task or change the due date

 

 

7

User clicks “<“

 

User os redirected back to the tasks view

 

 

8

User in step one assigns the above task to the FW user in step 7

 

Task successfully re-assigned

 

 

9

User in step 7 clicks on the task card for the task in step 8

 

Task read only view is displayed as per Jira ticket.

 

 

10

User clicks the pencil icon next to “Assignee”

 

Task quick assign modal is displayed

 

 

11

User cancels task quick assign modal and clicks “abandon task”

 

Abandonment details view is displayed

 

 

12

User clicks “<“ on abandonment details view

 

User is returned to readonly view

 

 

13

User clicks “Mark complete”

 

User is redirected to Task completion screen for irrigate tasks

 

 

14

User changes their preferred system of measurement and repeats step 9

 

Task read only view is displayed as per Jira ticket.

 

 

15

User changes their language preference and repeats step 9

 

Task read only view is displayed as per Jira ticket.

 

 

16