Refactor sensor related tables https://lite-farm.atlassian.net/browse/LF-2811
Role:
FO/FM/EO: Can access “+” Tab which has the add sensor point option under point locations
FW: Cannot view or access “+” Tab
N/A
API: N/A
Dates: N/A
Switching farms:N/A
...
Test Step # | Description | Test Data | Expected Result | Actual Result | Pass/Fail | |
1 | FO/FM/EO navigates to the farm map and clicks on the “+” drawer | Drawer is opened, and “Add Sensor” exists under the points section | ||||
2 | User clicks “Add Sensor” | “+” Add location drawer is closed and sensor bulk upload modal is displayed | ||||
3 | User uploads a .csv file with valid sensor data and timeout set to trigger asynchronous route | Asynchronous upload modal is displayed, and later notification of successful upload is generated | ||||
4 | User clicks navigates to notification centre and clicks on successful sensor upload notification and then clicks “Take me there” | User redirected to farm map and sensors displayed correctly | ||||
5 | User adds temperature reading data for the sensor to the database | |||||
6 | User long clicks sensor icon | Sensor readings modal displayed correctly | ||||
67 | User clicks on a reading type component | User redirected to sensor reading tab of hybrid sensor details view. | Reading types Readings are displayed correctly | |||
78 | User clicks on sensor details tab | Sensor details displayed correctly | ||||
89 | User clicks update | User is redirected to sensor update view | ||||
910 | User changes sensor properties and clicks “update” | Sensor user redirected to sensor details view. Updated details displayed. | ||||
1011 | User logs out and signs back in as FO/EO/FM and navigates to the farm map | Sensors displayed on farm map | ||||
1112 | User clicks on above sensor | User redirected to sensor details tab of hybrid view and details are displayed correctly | ||||
1213 | User retires above sensor | Sensor disappears from farm map | ||||
1314 | User logs out and signs back in as FO/EO/FM and navigates to the farm map | Retired sensor does not appear on farm map | ||||
1415 | With database management tool check the sensors table | Retired sensor exists and is soft deleted |