Plant Markers
Toggle Plant Markers
- Description: Turning off plant markers hides all markers while plant labels remain visible. Turning them back on restores markers.
- Given I am on the map page with the plant layer active and plant markers and plant labels are turned on
- When I turn off plant markers
- Then all plant markers are hidden
- Then plant labels are still visible
- When I turn on plant markers
- Then plant markers are displayed again on plantings that meet the marker criteria
- Actual Result:
- Test Result:
- Notes:
Markers Visibility State Persists
- Description: The plant markers visibility setting is remembered per map and per user.
- Given I am on the map page with the plant layer active
- When I turn off plant markers
- When I reload the page
- Then plant markers are still turned off
- When I turn on plant markers
- When I reload the page
- Then plant markers are still turned on
- When I navigate to a different map
- When I turn off plant markers on that map
- When I navigate back to the original map
- Then the plant markers visibility setting of the original map is unchanged
- Actual Result:
- Test Result:
- Notes:
Marker for Planting Created on Selected Date
- Description: A marker is shown on a planting that was created on the currently selected timeline date.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I select a timeline date on which a planting was created
- Then I can see a marker on that planting indicating it was created on the selected date
- When I select a timeline date on which no planting was created
- Then no created marker is displayed
- Actual Result:
- Test Result:
- Notes:
Created Marker Reacts to Changes of Planting's Added On Date
- Description: The created marker disappears when the planting's "Added on" date is changed so that it no longer matches the selected timeline date, and reappears when reverted.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I select a timeline date on which a planting was created
- Then I can see a marker on that planting indicating it was created on the selected date
- When I select that planting and change its "Added on" date to a different date
- Then the created marker disappears from that planting
- When I revert the "Added on" date back to the initial value
- Then the created marker appears again on that planting
- Actual Result:
- Test Result:
- Notes:
Marker for Planting Removed Day After Selected Date
- Description: A marker is shown on a planting that will be removed one day after the currently selected timeline date.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I select a timeline date that is one day before a planting's removal date
- Then I can see a marker on that planting indicating it will be removed the next day
- When I select a timeline date that is not one day before any planting's removal date
- Then no such removal marker is displayed
- Actual Result:
- Test Result:
- Notes:
Removal Marker Reacts to Changes of Planting's Removed On Date
- Description: The removal marker disappears when the planting's "Removed on" date is changed so it no longer matches the day after the selected timeline date, and reappears when reverted.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I select a timeline date that is one day before a planting's removal date
- Then I can see a marker on that planting indicating it will be removed the next day
- When I select that planting and change its "Removed on" date to a different date
- Then the removal marker disappears from that planting
- When I revert the "Removed on" date back to the initial value
- Then the removal marker appears again on that planting
- Actual Result:
- Test Result:
- Notes:
Highlight Same Plant Type When Planting
- Description: When selecting a plant type to place, all existing plantings of the same type are highlighted with an equality marker and the status panel shows the count.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I select a plant type from the plant database that is already present on the map at the current date
- Then all existing plantings of that plant type are highlighted with an equality marker
- Then the status panel displays the number of plantings and total area of the highlighted plantings
- When I click on a different plant type
- Then the previous markers are removed
- Then plantings of the newly selected plant type are highlighted instead
- When I exit planting mode
- Then all same-type markers are removed
- Actual Result:
- Test Result:
- Notes:
No Highlight When Plant Type Not on Map
- Description: When selecting a plant type with no plantings on the map, no markers are shown and the status panel shows an appropriate message.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I select a plant type from the plant database that has no plantings on the map at the current date
- Then no plantings are highlighted
- Then the status panel displays the message "No plantings of this type at this date on the map."
- Actual Result:
- Test Result:
- Notes:
Click Plant Marker Selects Plant
- Description: Clicking on a plant marker selects the corresponding planting.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I click on a plant marker displayed on a planting or a corresponding plant label
- Then the planting is selected
- Then I can see detailed information about this plant in the left toolbox
- Actual Result:
- Test Result:
- Notes:
Drag Plant Covered by Plant Marker
- Description: Dragging a planting whose area is covered by a plant marker moves the planting correctly.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I drag a planting whose area is covered by a plant marker
- Then the planting moves as expected to the dropped position
- Then the plant marker moves to an updated location after the dragging has ended
- Actual Result:
- Test Result:
- Notes:
Markers Readable on Zoomed Out Map
- Description: Plant markers remain clearly readable when the map is zoomed out.
- Given I am on the map page with the plant layer active and plant markers are turned on
- When I zoom out the map to the maximum level
- Then I can still clearly see all plant markers
- Actual Result:
- Test Result:
- Notes: