Plant Layer

Add Planting

  • Description: Add a new Planting to the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant to add to the map
  • Then I can see how many of the same plants are already present on the map, at the current date, in the status panel
  • Then the same plants already present on the map, at the current date, are highlighted with an equality marker
  • When I click on the map
  • Then I can see that a new Planting was added
  • When I select the new Planting
  • Then I can see in the plant attributes that created at, created by, modified at and modified by are correctly set
  • Actual Result:
  • Test Result:
  • Notes: Can be repeated with different plants. Can be repeated in another tab/by another user.

Move Planting

  • Description: Move a Planting around the map.
  • Given I am on the map page with the plant layer active
  • When I drag a planting
  • When I drop the planting
  • Then I can see that the planting was moved
  • When I select the new Planting
  • Then I can see in the plant attributes that modified at and modified by are correctly set
  • Actual Result:
  • Test Result:
  • Notes: Can be repeated with different plants. Can be repeated in another tab/by another user.

Edit Planting

  • Description: Edit an existing Planting on the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant that is already planted
  • Then I can see detailed Information about this plant in the left toolbox
  • When I edit the Notes (or any other field)
  • Then I can see in the plant attributes that I changed are correctly changed
  • Actual Result:
  • Test Result:
  • Notes: Also after reloading the site

Remove Planting

  • Description: Remove a existing Planting on the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant that is already planted
  • Then I can see detailed Information about this plant in the left toolbox
  • When I edit the "Removed on" date to a date in the past
  • Then I can no longer see the plant
  • Actual Result:
  • Test Result:
  • Notes:

Delete Planting

  • Description: Deleting a existing Planting on the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant that is already planted
  • Then I can see detailed Information about this plant in the left toolbox
  • When I click the "Delete planting" Button
  • Then I can no longer see the plant
  • Actual Result:
  • Test Result:
  • Notes:

Diagonally resize single planting

  • Description: Diagonally resize single planting.
  • Given I am on the map page with the plant layer active and a single planting selected
  • When I drag a corner
  • Then I can see that the new plant size has the same ratio of length to width as before
  • Actual Result:
  • Test Result:

Change Size Plant - Change Values

  • Description: Plants are not allowed to have a width of 0 or negative.
  • Given I am on the map page with the plant layer active
  • When I select a plant that is already planted
  • Then I can see detailed Information about this plant in the left toolbox
  • When I edit the Width
  • Then I can see the plant size has changed
  • Then I can see in the plant attributes that the modified at and modified by are correctly set
  • When I set the Width to a non-positive value
  • Then I can see that the input is marked in red and the value was not applied
  • Actual Result:
  • Test Result:
  • Notes:

Planting relations

  • Description: Plants relations show up correctly.
  • Given I am on the map page with the plant layer active
  • When I select a planting that has a companion relation
  • Then I can see green dotted line between selected planting and its companion
  • When I select a planting that has an antagonist relation
  • Then I can see red dashes line between selected planting and its antagonist
  • When I select a planting that has an ambivalent relation
  • Then I can see an orange line with dashes and dots between selected plantings and its ambivalent partner
  • Actual Result:
  • Test Result:
  • Notes: Suggested plant relations for test
    • companion: Allium cepa, Cucurbita maxima
    • ambivalent: Allium cepa, Solanum lycopersicum
    • antagonist: Allium cepa, Vicia faba

Copying plantings

  • Description: Cutting plantings on the map.
  • Given I am on the map page with the plant layer active
  • When I select a planting
  • When I copy that planting using the keybinding CTRL + C
  • Then I can see that the planting can now be placed on the map using the keybinding CTRL + V
  • Actual Result:
  • Test Result:
  • Notes:

Cutting plantings

  • Description: Cutting plantings on the map.
  • Given I am on the map page with the plant layer active
  • When I select a planting
  • When I cut that planting using the keybinding CTRL + X
  • Then I can see that the planting was removed from the map and the planting can now be placed on the map using the keybinding CTRL + V
  • Actual Result:
  • Test Result:
  • Notes:

Placing copied plantings

  • Description: Placing copied plantings on the map.
  • Given I am on the map page with the plant layer active
  • When I select a planting with a companion/antagonist/ambivalent relation
  • When I copy that planting using the keybinding CTRL + C
  • When I enter placing mode using the keybinding CTRL + V
  • Then I can see a preview of the copied planting as well as relation lines linking it to all related plantings on the map
  • Actual Result:
  • Test Result:
  • Notes: