General

  • Tester: Alfons Mueller
  • Date/Time: 05.12.2025
  • Duration:
  • Commit/Tag: e62f690a8bce6fe8251f0b61b72da6d1036d1163
  • Setup: master.permaplant
  • Planned tests: -117
  • Executed tests: -117
  • ✅ Passed tests: -109
  • ⚠️ Problematic tests: -4
  • ❌ Failed tests: -4

Test Status Legend

  • Passed: Test executed successfully, no issues found
  • ⚠️ Problematic: Test has blocking dependencies or minor issues
  • Failed: Test failed due to software defects

See Manual Testing Guidelines for detailed definitions and usage rules.

Error Analysis

Archive seed

  • Description: After archiving a seed, it should be removed from the overview or marked as archived
  • Actual Result: The seed isn't removed from the list immediately but is gone when returning to inventory.
  • Test Result: ⚠️
  • Notes: Toast giving the option to restore appears correctly. Issue #2375

Restore an archived seed

  • Description: After restoring an archived seed, it should be added to the overview again
  • Actual Result: The seed is never removed from the list (#2375) but clicking restore makes it so it is still there when reloading/entering the inventory again, though sorting seems random.
  • Test Result: ⚠️
  • Notes: Issue #2164

Clear "Removed on"/"Added on" date

  • Description: Clear the "Removed on"/"Added on" of an existing planting on the map.
  • Actual Result: Clearing "Added on" instantly puts the current date
  • Test Result: ⚠️
  • Notes: Changes should still persist/be cleared after
    • Reloading the site
    • Switching from and to the selected planting Issue #2377

Map Editor Guided Tour

  • Description: Check whether the Guided Tour leaves the Map Editor in its original state.
  • Actual Result: A second guided tour opens while I'm still doing the first stopping me from making any progress. This always happens on the step where the user has to change the date. Tested in multiple browsers.
  • Test Result: ❌
  • Notes: Issue #2364

Negative temporal relation exactly at min duration

  • Description: Verify heatmap colors for temporal relation between two plantings of "Allium cepa"
  • Actual Result: I can't get the orange heatmap color to show up. 364 days after removal showes green and 365 days no color.
  • Test Result: ❌
  • Notes: Issue #2056

Negative temporal relation between min and max duration

  • Description: Verify heatmap colors for temporal relation between two plantings of "Allium cepa"
  • Actual Result: No heatmap color is shown
  • Test Result: ❌
  • Notes: Issue #2056

Negative temporal relation within min duration

  • Description: Verify heatmap colors for temporal relation between "Allium fistulosum" and "Allium cepa"
  • Actual Result: Does not show any heatmap
  • Test Result: ❌
  • Notes: Issue #2056

Closing Remarks

  • How is the current state of the software? Current state is good, only guided tour is really broken. Archiving is not perfect but this was already known.

  • Have the quality objectives been achieved?

  • What are the consequences drawn from the current state, including: how can future errors be avoided, how can the development process be improved? Some testcases (temporal relations) have to be updated.

Guided Tour

⚠️ IMPORTANT: This test must always be executed first and requires a local build (cannot be tested on dev.permaplant.net). If you exit the tour during testing, you must reset your local database to take it again.

Map Editor Guided Tour

  • Description: Check whether the Guided Tour leaves the Map Editor in its original state.
  • Given I am on a map page
  • When I do the Guided Tour
  • Then after I have done the Guided Tour the map is the same as before
  • Actual Result: A second guided tour opens while I'm still doing the first stopping me from making any progress. This always happens on the step where the user has to change the date. Tested in multiple browsers.
  • Test Result: ❌
  • Notes: Issue #2364

Area of Plantings

Add Planting Area

  • Description: Add a new area of 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
  • When I click and drag an area on the map
  • Then I can see information about the sizes in a tooltip hovering next to the area of plantings
  • Then I can see that a new planting area has been added
  • When I select the new area of plantings
  • Then I can see in the plant attributes that there is an area of plantings
  • Then I can see that the values for Individual Plant Size, Plants per Row, Number of Rows, Total Plants, Length, and Width in "Area of Plantings" are equal to the information shown in the tooltip
  • Actual Result:
  • Test Result: ✅
  • Notes:

Move Planting Area

  • Description: Move a Planting area around the map.
  • Given I am on the map page with the plant layer active
  • When I drag a planting area
  • When I drop the planting area
  • Then I can see that the planting area was moved
  • When I select the Planting area
  • Then I can see in the plant area attributes that modified at and modified by are correctly set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Change Size Planting Area - Drag & Drop

  • Description: Edit an existing Planting Area on the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant area that is already planted
  • When I select a corner/edge and drag it around
  • Then I can see information about the new sizes as a tooltip hovering next to the area of plantings
  • When I stop holding the mousebutton down
  • Then I can see that the planting area size has changed
  • Then I can see in the plant area attributes that modified at and modified by are correctly set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Change Size Planting Area - Change Values

  • Description: Edit an existing Planting Area on the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant area that is already planted
  • Then I can see detailed Information about this plant area in the left toolbox
  • When I edit the Length or Width
  • Then I can see that the planting area size has changed
  • Then I can see in the plant area attributes that modified at and modified by are correctly set
  • When I set the Length or 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:

Base Layer

Move map border point

  • Description: Move map border point.
  • Given I am on the map page with the base layer active
  • When I click on the 'Edit Map Bounds' button
  • Then I can see that the 'Edit Map Bounds' button is shown as active
  • Then I can see that a hint is shown at the bottom center of the map
  • When I drag a map border point
  • Then I can see that the map border point was moved
  • When I click on the 'Edit Map Bounds' button again
  • Then I can see that the 'Edit Map Bounds' button is shown as inactive
  • Then I can see that the hint at the bottom center of the map is not shown anymore
  • When I drag a map border point
  • Then I can see that the map border point was not moved
  • Actual Result:
  • Test Result: ✅
  • Notes: Shift + M can be used instead of clicking the 'Edit Map Bounds' button Escape can be used instead of clicking the 'Edit Map Bounds' button again

Add map border point

  • Description: Add map border point.
  • Given I am on the map page with the base layer active
  • When I click on the 'Pencil Plus' button
  • Then I can see that the 'Pencil Plus' button is shown as active
  • Then I can see that a hint is shown at the bottom center of the map
  • When I click on the map border
  • Then I can see that a new map border point was added
  • When I click on the 'Pencil Plus' button again
  • Then I can see that the 'Pencil Plus' button is shown as inactive
  • Then I can see that the hint at the bottom center of the map is not shown anymore
  • When I click on the map border
  • Then I can see that no new map border point was added
  • Actual Result:
  • Test Result: ✅
  • Notes: Shift + A can be used instead of clicking the 'Pencil Plus' button Escape can be used instead of clicking the 'Pencil Plus' button again

Remove map border point

  • Description: Remove map border point.
  • Given I am on the map page with the base layer active
  • When I click on the 'Eraser' button
  • Then I can see that the 'Eraser' button is shown as active
  • Then I can see that a hint is shown at the bottom center of the map
  • When I click on a map border point
  • Then I can see that the map border point was removed
  • When I click on the 'Eraser' button again
  • Then I can see that the 'Eraser' button is shown as inactive
  • Then I can see that the hint at the bottom center of the map is not shown anymore
  • When I click on a map border point
  • Then I can see that the map border point was not removed
  • Actual Result:
  • Test Result: ✅
  • Notes: Shift + D can be used instead of clicking the 'Eraser' button Escape can be used instead of clicking the 'Eraser' button again

Select Background Image

  • Description: Check whether the maps background image is displayed.
  • Given I am on a map page with the base layer active
  • When I select a base layer image
  • Then I can see the base layer image on the canvas
  • Actual Result:
  • Test Result: ✅
  • Notes:

Background Image default placing

  • Description: Check whether the maps background image is placed correctly by default.
  • Given I am on a map page with the base layer active
  • When I select a base layer image
  • When I can see the base layer image on the canvas
  • Then the image is centered on the center of the map
  • Actual Result:
  • Test Result: ✅
  • Notes:

Move Background Image

  • Description: Check whether the maps background image is displayed correctly after moving.
  • Given I am on a map page with the base layer active
  • When I select a base layer image
  • When I increase the base layers x position in steps of
  • Then I can see the base layer image is moved to the right
  • When I decrease the base layers x position in steps of negative (-)
  • Then I can see the base layer image is moved to the left
  • When I increase the base layers y position in steps of
  • Then I can see the base layer image is moved up
  • When I decrease the base layers y position in steps of negative (-)
  • Then I can see the base layer image is moved down
  • Actual Result:
  • Test Result: ✅
  • Notes: This testcas could be improved to better fit the actual UI.

Examples: | step | | 1 | | 1.1 | | 1.11 | | 2.5 | | 5 | | 5.55 |

Autoscaling Background Image

  • Description: Check whether the maps background image is scaled according to distance entered.
  • Given I am on a map page with the base layer active
  • When I click on the autoscaling button
  • Then I am prompted to select two points with a known distance
  • When I click anywhere on the map inside the map bounds
  • Then a red dot indicating the selected position appears
  • When I select the end of the known distance
  • Then a second red dot indicating the second selected position appears and additionally a line connecting the dots appears
  • Then a window asking me to enter the selected real-life distance in meters and centimeters appears
  • When I enter the value(s) for the distance and click the ok button
  • Then the background image is correctly re-scaled to the distance shown in the grid
  • Actual Result:
  • Test Result: ✅
  • Notes: Use /Photos/Birdie.jpg for testing. All test users should have access to it.

Rotate Background Image

  • Description: Check whether the map's background image can be rotated correctly.
  • Given I am on a map page with the base layer active
  • When I select a base layer image
  • When I change the rotation to following degree:
  • Then the background image is rotated to match the entered orientation.
  • Actual Result:
  • Test Result: ✅
  • Notes:

Examples: | step | | 15 | | 45 | | 90 | | 180 | | -90 |

Copy & Paste

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: Repeat this test using only the corresponding toolbox buttons

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: Repeat this test using only the corresponding toolbox buttons

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 spatial relation with another planting on the same map
  • 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: Repeat this test using only the corresponding toolbox buttons

Placing copied plantings on different map

  • Description: Placing copied plantings on different map.
  • Given I am on the map page with the plant layer active
  • When I select a planting with a spatial relation with another planting on two maps A and B
  • When I copy that planting using the keybinding CTRL + C
  • When I navigate to the map overview
  • When I navigate to a different map page
  • 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: Repeat this test using only the corresponding toolbox buttons

Drawing Layer

Switch between drawing layers

  • Description: Switch between drawing layers
  • Given I am on the map page with a drawing layer active
  • Given I can select another drawing layer
  • When I click on a rectangle of the current layer
  • Then I can see that the rectangle is selected
  • When I switch to another drawing layer
  • When I click on a rectangle of the previous layer
  • Then I can see that the rectangle is not selected
  • When I click on a rectangle of the current layer
  • Then I can see that the rectangle is selected
  • Actual Result:
  • Test Result:✅
  • Notes: Can be repeated for all types of drawings

Diagonally resize shape

  • Description: Diagonally resize shape.
  • Given I am on the map page with the drawing layer active and a shape selected
  • When I drag a corner
  • Then I can see that the new shape size has a different ratio of length to width as before
  • Actual Result:
  • Test Result: ✅
  • Notes: Repeat this test for all Shape types

Entry and List Seeds

Seed creation

  • Description: Adding more entries to the inventory overview.
  • Given I am logged in and have already added entries
  • When I submit the form for seed creation
  • Then I see my newly added entry in the overview
  • Actual Result:
  • Test Result: ✅
  • Notes:

Seed creation with more than 30 objects

  • Description: After creating 30 seeds, everything should be shown correctly on the overview page.
  • Given I am logged in and add 30 valid seeds
  • When I go to my inventory
  • Then I see all my newly added seeds in the overview
  • Actual Result:
  • Test Result: ✅
  • Notes:

Seed editing - Name

  • Description: After renaming a seed, the new name should be visible in the seed overview.
  • Given I am logged in and edit a seed name
  • When I go to my inventory
  • Then I see the new name of the edited seed
  • Actual Result:
  • Test Result: ✅
  • Notes:
  • Description: Verify that searching for an existing seed returns the correct results.
  • Given I am logged in and have seeds in my inventory
  • When I enter the name of an existing seed in the search bar
  • Then I see the matching seed(s) listed in the search results
  • Actual Result:
  • Test Result: ✅
  • Notes: Seeds not including the exact search term also shown. Might be desired behaviour.

Searching seed that does not exist

  • Description: Verify that searching for a non-existent seed returns no results.
  • Given I am logged in and have seeds in my inventory
  • When I enter a name (eg. ----) that does not match any seed in the search bar
  • Then I see a message indicating that no seeds were found, or the search results are empty
  • Actual Result:
  • Test Result: ✅
  • Notes:

Archive seed

  • Description: After archiving a seed, it should be removed from the overview or marked as archived
  • Given I am logged in and archive a seed
  • When I go to my inventory
  • Then I don't see the archived seed anymore, or it is marked as archived
  • Actual Result: The seed isn't removed from the list immediately but is gone when returning to inventory.
  • Test Result: ⚠️
  • Notes: Toast giving the option to restore appears correctly. Issue #2375

Restore an archived seed

  • Description: After restoring an archived seed, it should be added to the overview again
  • Given I am logged in and visited the inventory page
  • When I archive a seed and then restore it
  • Then I see the restored seed again.
  • Actual Result: The seed is never removed from the list (#2375) but clicking restore makes it so it is still there when reloading/entering the inventory again, though sorting seems random.
  • Test Result: ⚠️
  • Notes: Issue #2164

Temporal relationships consider hierarchy

  • Description: Verify that temporal relationship entries also includes all plants in ranks below than those specified
  • Given I am on a map where Onion (Allium cepa) and Shallot (Allium cepa ascalonicum) have existed 4 months ago (remove_date = current date - 4 Months)
  • When I place Solanum lycopersicum on the map
  • Then I see a green heatmap where both "Allium cepa" plants used to be
  • When I place Solanum lycopersicum 'Rosa' on the map
  • Then I see a green heatmap where both "Allium cepa" plants used to be
  • Actual Result: Selecting Solanum lycopersicum 'Rosa' shows no heatmap at all but other tomato subtypes (e.g. Solanum lycopersicum 'Raf') work as expected.
  • Test Result: ⚠️
  • Notes: Issue #2164

Additional name on map: plant labels

  • Description: Test additional names being displayed properly.
  • Given I am on the map page with the plants layer active
  • When I create a new plant from the inventory
  • Then I can see the additional name on the label when hovering over the plant
  • Actual Result:
  • Test Result: ✅
  • Notes: The additional name must also be visible when a different account views the same map in parallel.

Additional name on map: left toolbar

  • Description: Test additional names being displayed properly.
  • Given I am on the map page with the plants layer active
  • When I create a new plant from the inventory
  • When I click on the new plant icon.
  • Then I can see the additional name in the left toolbars heading
  • Actual Result:
  • Test Result: ✅
  • Notes: The additional name must also be visible when a different account views the same map in parallel.

Additional name on map: updates

  • Description: Test additional names being displayed properly.
  • Given I am on the map page with the plants layer active
  • When I create a new plant from the inventory
  • When I go to the inventory page and change the seeds name
  • Then I can see the changes in the plant label and left toolbar
  • Actual Result:
  • Test Result: ✅
  • Notes: The additional name must also be visible when a different account views the same map.

Grid

Grid is Changed on Zoom

  • Description: Display a point grid on the screen.
  • Given I am on a map page
  • When I Zoom in or out
  • Then the grid spacing is changing
  • Actual Result:
  • Test Result: ✅
  • Notes:

Heatmap

Plant layer should be above heatmap

  • Description: Verify that the Plant Layer is above the Heatmap Layer
  • Given I am on a map page
  • When I place some tomatoes on the map
  • When I select a potato and try to place it near the tomatoes so that heatmap is shown
  • Then I can see that the heatmap is below the plants
  • Actual Result:
  • Test Result: ✅
  • Notes:

Change position of plant layer

  • Description: Verify that the heatmap changes its position when the plant layer is moved in priority
  • Given I am on a map page where plant layer is above an drawing layer
  • When I place some tomatoes on the plant layer
  • When I draw a filled rectangle on the drawing layer so that it overlaps with the tomatoes
  • When I select a potato and try to place it near the tomatoes so that heatmap is shown
  • Then I can see that the heatmap is below the plants and above the rectangle
  • When I move the plant layer below the drawing layer
  • Then I can see that the heatmap is below the rectangle and below the plants
  • Actual Result:
  • Test Result: ✅
  • Notes:

All Shade types and Allium ursinum

  • Description: Verify heatmap colors for all three shade types for the plant named Wild garlic (Allium ursinum)
  • Given I am on a map where three shades are drawn with one being a light shade, one being a partial shade and one being a permanent shade
  • When I select the plant with the name "Allium ursinum" for planting in the plant layer
  • Then I can see that the heatmap shows green areas for all three shades
  • Actual Result:
  • Test Result:✅
  • Notes:

All Shade types and Allium pendulinum

  • Description: Verify heatmap colors for all three shade types for the plant named Allium pendulinum (Allium pendulinum)
  • Given I am on a map where three shades are drawn with one being a light shade, one being a partial shade and one being a permanent shade
  • When I select the plant with the name "Allium pendulinum" for planting in the plant layer
  • Then I can see that the heatmap shows two green areas for light and partial shades and red for the permanent shade
  • Actual Result:
  • Test Result: ✅
  • Notes:

All Shade types and Malus domestica

  • Description: Verify heatmap colors for all three shade types for the plant named Apple (Malus domestica)
  • Given I am on a map where three shades are drawn with one being a light shade, one being a partial shade and one being a permanent shade
  • When I select the plant with the name "Malus domestica" for planting in the plant layer
  • Then I can see that the heatmap shows one green area for the light shade, orange for the partial shade and red for the permanent shade
  • Actual Result:
  • Test Result: ✅
  • Notes:

All Shade types and Tomato

  • Description: Verify heatmap colors for all three shade types for the plant named Tomato
  • Given I am on a map where three shades are drawn with one being a light shade, one being a partial shade and one being a permanent shade
  • When I select the plant with the name "Tomato" for planting in the plant layer
  • Then I can see that the heatmap shows red areas for all three shades
  • Actual Result:
  • Test Result: ✅
  • Notes:

Positive temporal relation within min duration

  • Description: Verify heatmap colors for temporal relation between two plantings of "Allium cepa"
  • Given I am on a map where a planting of "Allium cepa" has existed 6 months ago (remove_date = current date - 6 Months)
  • When I select the plant with the name "Allium cepa" for planting in the plant layer
  • Then I can see that the heatmap shows a green indication on the spot the previous planting of "Allium cepa" has been
  • Actual Result:
  • Test Result: ✅
  • Notes:

Negative temporal relation exactly at min duration

  • Description: Verify heatmap colors for temporal relation between two plantings of "Allium cepa"
  • Given I am on a map where a planting of "Allium cepa" has existed 1 year ago (remove_date = current date - 1 year)
  • When I select the plant with the name "Allium cepa" for planting in the plant layer
  • Then I can see that the heatmap shows an orange indication on the spot the previous planting of "Allium cepa" has been
  • Actual Result: I can't get the orange heatmap color to show up. 364 days after removal showes green and 365 days no color.
  • Test Result: ❌
  • Notes: Issue #2056

Negative temporal relation between min and max duration

  • Description: Verify heatmap colors for temporal relation between two plantings of "Allium cepa"
  • Given I am on a map where a planting of "Allium cepa" has existed 2 years ago (remove_date = current date - 2 years)
  • When I select the plant with the name "Allium cepa" for planting in the plant layer
  • Then I can see that the heatmap shows an orange indication on the spot the previous planting of "Allium cepa" has been
  • Actual Result: No heatmap color is shown
  • Test Result: ❌
  • Notes: Issue #2056

Negative temporal relation within min duration

  • Description: Verify heatmap colors for temporal relation between "Allium fistulosum" and "Allium cepa"
  • Given I am on a map where a planting of "Allium fistulosum" has existed 5 months ago (remove_date = current date - 5 months)
  • When I select the plant with the name "Allium cepa" for planting in the plant layer
  • Then I can see that the heatmap shows a red indication on the spot the previous planting of "Allium fistulosum" has been
  • Actual Result: Does not show any heatmap
  • Test Result: ❌
  • Notes: Issue #2056

Positive temporal relation within min duration

  • Description: Verify heatmap colors for temporal relation between plantings of "Allium sativum" and "Lactuca sativa"
  • Given I am on a map where a planting of "Allium sativum" has existed 6 months ago (remove_date = current date - 6 months)
  • When I select the plant with the name "Lactuca sativa" for planting in the plant layer
  • Then I can see that the heatmap shows a green indication on the spot the previous planting of "Allium sativum" has been
  • Actual Result:
  • Test Result: ✅
  • Notes: Shows green heatmap spot

Hydrology wet area and Great Water Dock

  • Description: Verify heatmap color for hydrology type wet for the plant named Great Water Dock (Rumex hydrolapathum)
  • Given I am on a map where a hydrology area is drawn with the type wet
  • When I select the plant with the name "Rumex hydrolapathum" for planting in the plant layer
  • Then I can see that the heatmap shows a green area for the hydrology area
  • Actual Result:
  • Test Result: ✅
  • Notes:

Hydrology wet area and Tomato

  • Description: Verify heatmap color for hydrology type wet for the plant named Tomato (Solanum lycopersicum)
  • Given I am on a map where a hydrology area is drawn with the type wet
  • When I select the plant with the name "Solanum lycopersicum" for planting in the plant layer
  • Then I can see that the heatmap shows a red area for the hydrology area
  • Actual Result:
  • Test Result: ✅
  • Notes: The soil has to contain enough nutrients and be watered properly.

Soil texture sandy area and Tomato

  • Description: Verify heatmap color for soil texture type sandy for the plant named Tomato (Solanum lycopersicum)
  • Given I am on a map where a soil texture area is drawn with the type sandy
  • When I select the plant with the name "Solanum lycopersicum" for planting in the plant layer
  • Then I can see that the heatmap shows a green area for the soil texture area
  • Actual Result:
  • Test Result: ✅
  • Notes:

Soil texture clay area and Watermelon

  • Description: Verify heatmap color for soil texture type clay for the plant named Watermelon (Citrullus lanatus)
  • Given I am on a map where a soil texture area is drawn with the type clay
  • When I select the plant with the name "Citrullus lanatus" for planting in the plant layer
  • Then I can see that the heatmap shows a red area for the soil texture area
  • Actual Result:
  • Test Result: ✅
  • Notes:

Soil texture clay area and Cauliflower

  • Description: Verify heatmap color for soil texture type clay for the plant named Cauliflower (Brassica oleracea botrytis)
  • Given I am on a map where a soil texture area is drawn with the type clay
  • When I select the plant with the name "Brassica oleracea botrytis" for planting in the plant layer
  • Then I can see that the heatmap shows a green area for the soil texture area
  • Actual Result:
  • Test Result: ✅
  • Notes:

Occupied space with plants in the future

  • Description: Verify that the heatmap indicates an occupied space with black
  • Given I am on a map where any plant and an area of plants is planted
  • When I go into the past one day before these exist and select any plant for planting in the plant layer
  • Then I can see that the heatmap shows a black area on the spot these plants will be in the future
  • Actual Result:
  • Test Result: ✅
  • Notes:

Spatial relation

  • Description: Verify heatmap colors for spatial relations
  • Given I am on a map with the plant layer active and a planting of "Allium cepa" exists
  • When I select the plant with the name "Cucurbita maxima" for planting
  • Then I can see that the heatmap shows a green indication around the existing planting of "Allium cepa"
  • When I select the plant with the name "Solanum lycopersicum" for planting
  • Then I can see that the heatmap shows an orange indication around the existing planting of "Allium cepa"
  • When I select the plant with the name "Vicia faba" for planting
  • Then I can see that the heatmap shows a red indication around the existing planting of "Allium cepa"
  • Actual Result:
  • Test Result: ✅
  • Notes:

Hierarchy Test Cases

Antagonist relationships consider hierarchy

  • Description: Verify that antagonist relationship entries also includes all plants in ranks below than those specified
  • Given I am on a map page with the plant layer active
  • When I place Common Bean (Phaseolus vulgaris) and Tendergreen (Phaseolus vulgaris 'Tendergreen') on the map
  • When I place Onion (Allium cepa) on the map
  • Then I can see a red heatmap below both "Phaseolus vulgaris" plants and red lines between them and Onion (Allium cepa)
  • When I place Shallot (Allium cepa ascalonicum) on the map
  • Then I can see a red heatmap below both "Phaseolus vulgaris" plants and red lines between them and Shallot (Allium cepa ascalonicum)
  • Actual Result:
  • Test Result: ✅
  • Notes:

Companion relationships consider hierarchy

  • Description: Verify that companion relationship entries also includes all plants in ranks below than those specified
  • Given I am on a map page with the plant layer active
  • When I place Chili (Capsicum annuum) and Capsicum annuum 'Leon' on the map
  • When I place Onion (Allium cepa) on the map
  • Then I can see a green heatmap below both "Capsicum annuum" plants and green lines between them and Onion (Allium cepa)
  • When I place Shallot (Allium cepa ascalonicum) on the map
  • Then I can see a green heatmap below both "Capsicum annuum" plants and green lines between them and Shallot (Allium cepa ascalonicum)
  • Actual Result:
  • Test Result: ✅
  • Notes:

Temporal relationships consider hierarchy

  • Description: Verify that temporal relationship entries also includes all plants in ranks below than those specified
  • Given I am on a map where Onion (Allium cepa) and Shallot (Allium cepa ascalonicum) have existed 4 months ago (remove_date = current date - 4 Months)
  • When I place Solanum lycopersicum on the map
  • Then I see a green heatmap where both "Allium cepa" plants used to be
  • When I place Solanum lycopersicum 'Rosa' on the map
  • Then I see a green heatmap where both "Allium cepa" plants used to be
  • Actual Result: Selecting Solanum lycopersicum 'Rosa' shows no heatmap at all but other tomato subtypes (e.g. Solanum lycopersicum 'Raf') work as expected.
  • Test Result: ⚠️
  • Notes: Issue #2164

Attribute inheritance

  • Description: Verify that attributes are inherited to lower ranks
  • Given that an icon has been set for Allium cepa via an override file and I am on a map with the plant layer active
  • When I place Allium cepa, Allium cepa aggregatum and Allium cepa 'Shakespeare'
  • Then I see that all three plants have an onion icon
  • Actual Result:
  • Test Result: ✅
  • Notes:

Inventory

Change Language While Creating a Seed

  • Description: Change language while creating a seed
  • Given I have selected the English language
  • Given I am on the seed entry page
  • When I select a plant
  • When I change the language to German
  • Then the plant name is translated to German
  • Actual Result:
  • Test Result: ✅
  • Notes: Should also work when switching from German to English

Layer Management

Initial Order of Layers

  • Description: Test initial order of layers.
  • When I create a new map
  • Then Base Layer is at bottom of layer list and Plant Layer is on top of layer list
  • Actual Result:
  • Test Result: ✅
  • Notes:

Correct konva rendering of layer order on new map

  • Description: Test correct rendering order of konva layers.
  • Given I am on a new map
  • When I add a background image in Base Layer
  • When I add an overlapping rectangle in Drawing Layer
  • When I add an overlapping plant in plant layer
  • Then Plant in is front of rectangle and rectangle is in front of background image
  • Actual Result:
  • Test Result: ✅
  • Notes:

Renaming of layer

  • Description: Test if Drawing Layer can be renamed.
  • Given I am on a new map
  • When I rename the Drawing Layer
  • Then The new name is visible in the layer list
  • Actual Result:
  • Test Result: ✅
  • Notes:

Creation of new layer

  • Description: Test if new layer can be created.
  • Given I am on a new map
  • When I select a layer and create a new one
  • Then The new layer is visible above currently selected layer
  • Actual Result:
  • Test Result: ✅
  • Notes:

Change order of layers

  • Description: Test if the order of layers can be updated correctly.
  • Given I am on a map with 2 drawing layers with overlapping rectangles
  • When I select the upper Drawing Layer and move it below the other one
  • Then The order in the layer list is updated and the rectangle of the new upper drawing layer is shown in front of the lower one on the map
  • Actual Result:
  • Test Result: ✅
  • Notes:

Delete Drawing Layer

  • Description: Test if Drawing Layer can be deleted.
  • Given I am on a map with some drawing on a Drawing Layer
  • When I delete the Drawing Layer
  • Then The layer disappears from layer list and drawings are deleted from map
  • Actual Result:
  • Test Result: ✅
  • Notes:

Deletion of Plant Layer not possible

  • Description: Test if deletion of Plant layer is disabled.
  • Given I am on a new map
  • When I select the Plant Layer
  • Then Button to delete layer is disabled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Deletion of Base Layer not possible

  • Description: Test if Deletion of Base layer is disabled.
  • Given I am on a new map
  • When I select the Base Layer
  • Then Button to delete layer is disabled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Top layer cannot be moved up

  • Description: Test if the top layer cannot be moved up.
  • Given I am on a new map
  • When I select the top layer
  • Then Button to to move layer up is disabled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Bottom layer cannot be moved down

  • Description: Test if the bottom layer cannot be moved down.
  • Given I am on a new map
  • When I select the bottom layer
  • Then Button to to move layer down is disabled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Renaming of Plant Layer not possible

  • Description: Test if Renaming of Plant layer is not possible.
  • Given I am on a new map
  • When I select the Plant Layer
  • Then Button to rename layer is disabled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Renaming of Base Layer not possible

  • Description: Test if Renaming of Base layer is not possible.
  • Given I am on a new map
  • When I select the Base Layer
  • Then Button to rename layer is disabled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Layer Visibility

Layer Opacity

  • Description: Check whether the opacity of a layer changes.
  • Given I am on a map page with a base layer image configured
  • When dragging the slider for the base layer in the layer section of the toolbar to 50%
  • Then I can see the change in opacity of the base layer image
  • When I change the size of the toolbar
  • Then I can see the slider and the filling change in size proportionally. Therefore 50% of the slider should be filled
  • Actual Result:
  • Test Result: ✅
  • Notes:

Login

Successful Login

  • Description: Verify that a user can log in with valid credentials.
  • Given I am on the landing page
  • When I click on the "Log In" Button
  • When I enter valid username and password
  • Then I am redirected to the landing page
  • And there is "logout" Button now
  • Actual Result:
  • Test Result: ✅
  • Notes:

Successful Logout

  • Description: Verify that a logged-in user can log out successfully.
  • Given I am logged in and on the landing page
  • When I click the logout button
  • Then I am redirected to the landing page
  • Actual Result:
  • Test Result: ✅
  • Notes:

Incorrect Login Credentials

  • Description: Verify that login fails with incorrect credentials.
  • Given I am on the landing page
  • When I click on the "Log In" Button
  • When I enter an invalid username or password
  • Then I see an error message indicating login failed
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Creation

Successful map creation

  • Description: Verify that a new map can be created successfully.
  • Given I am logged in and on the map creation page
  • When I enter valid information for a new map and submit the form
  • Then the new map is created and appears in my map overview
  • Actual Result:
  • Test Result: ✅
  • Notes:

Edit existing Map

  • Description: Verify that an existing map can be edited.
  • Given I am logged in and have at least one map
  • When I select a map and edit its details
  • Then the changes are saved and reflected in the map overview
  • Actual Result:
  • Test Result:✅
  • Notes:

Map already exists

  • Description: Verify that creating a map with a name that already exists is not allowed.
  • Given I am logged in and have already created a map with a specific name
  • When I try to create another map with the same name
  • Then I see an error message indicating that the map already exists, and the map is not created
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Overview: More than 30 Maps should be visible

  • Description: Test that pagination works on the map overview screen.
  • Given I am on the map overview screen
  • When I create more than 30 maps
  • Then I can see all maps after scrolling to the bottom of the page
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Deletion

Map Deletion

  • Description: A map should no longer be available after it has been deleted.
  • Given I am on a map overview page
  • When I delete a map
  • Then the map is no longer available in the overview
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Search

Map Search

  • Description: Appropriate maps should be displayed for each search term.
  • Given I am on a map overview page
  • When I search for a map using the search field
  • Then the maps are filtered appropriately
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Timeline

Hide Timeline

  • Description: Timeline can be hidden through a toggle.
  • Given I am on a map page
  • When I click on the timeline toggle
  • Then I see that timeline is not visible anymore
  • Actual Result:
  • Test Result: ✅
  • Notes:

Remembering Timeline settings

  • Description: Last settings of a map timeline (visibility) get persisted between page visits.
  • Given I am on a map page
  • When I select specific visibility for the map timeline
  • When I refresh the page
  • Then I see the timeline settings I previously set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Toolbar

Adjust Toolbar Height

  • Description: Toolbar height can be adjusted by dragging.
  • Given I am on a map page
  • When I drag the horizontal handle of the toolbar
  • Then I see that the height of the toolbar has changed
  • Actual Result:
  • Test Result: ✅
  • Notes:

Adjust Toolbar Width

  • Description: Toolbar width can be adjusted by dragging.
  • Given I am on a map page
  • When I drag the vertical handle of the toolbar
  • Then I see that the width of the toolbar has changed
  • Actual Result:
  • Test Result: ✅
  • Notes:

Hide Toolbar

  • Description: Toolbar can be hidden through a toggle.
  • Given I am on a map page
  • When I click on the toolbar toggle
  • Then I see that toolbar is not visible anymore
  • Actual Result:
  • Test Result: ✅
  • Notes:

Remembering Toolbar settings

  • Description: Last settings of a map toolbar (height, width, visibility) get persisted between page visits.
  • Given I am on a map page
  • When I select specific height, width, visibility for a map toolbar
  • When I refresh the page
  • Then I see the same toolbar settings I previously set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Map Undo Redo

Undo Planting

  • Description: Undo a Planting to the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant and place it onto the map
  • When I click Undo in the Left Toolbar
  • Then I can no longer see the plant
  • Actual Result:
  • Test Result: ✅
  • Notes: Changed this testcase to only test undo (was duplicate of undo redo before)

Undo Redo Planting

  • Description: Undo and Redo a Planting to the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant and place it onto the map
  • When I click Undo in the Left Toolbar
  • Then I can no longer see the plant
  • When I click Redo in the Left Toolbar
  • Then I can see the plant again I planted
  • Actual Result:
  • Test Result: ✅
  • Notes:

Undo Redo Planting with Keybinding

  • Description: Undo and Redo a Planting to the map.
  • Given I am on the map page with the plant layer active
  • When I select a plant and place it onto the map
  • When I press STRG+Z
  • Then I can no longer see the plant
  • When I click STRG+Y
  • Then I can see the plant again I planted
  • Actual Result:
  • Test Result: ✅
  • Notes:

Successful undo deletion

  • Description: Verify that deleting an item from the map can be undone successfully.
  • Given I am on the map page with the plant layer active and there is at least one plant on the map
  • When I delete a plant from the map
  • Then the plant is removed from the map
  • When I click Undo in the Left Toolbar
  • Then the deleted plant reappears on the map
  • Actual Result:
  • Test Result: ✅
  • Notes:

Measuring Distances

Measure a distance

  • Description: Test whether distance can be measured successfully.
  • Given I am on a map page
  • When I click on the measurement button
  • When I measure a distance
  • Then I see a measurement line
  • Then I see the measured distance
  • Actual Result:
  • Test Result: ✅
  • Notes:

Measurement: Cancel measurement without deleting measurements

  • Description: Verify that measured distances don't disappear when the measurement mode is canceled using the button in the status panel.
  • Given I am on a map page
  • When I click on the measurement button
  • When I measure a distance
  • When I cancel the measurement mode using the status panel
  • Then the measurement layer is no longer active
  • Then I can still see the measured distance
  • Actual Result:
  • Test Result: ✅
  • Notes:

Measurement: Cancel measurement and delete all measurement lines

  • Description: Verify that measured distances disappear when the measurement mode is canceled using the measurement button.
  • Given I am on a map page
  • When I click on the measurement button
  • When I measure a distance
  • When I cancel the measurement mode using the measurement button in the toolbar
  • Then I can no longer see the measured distance
  • Actual Result:
  • Test Result: ✅
  • Notes:

Measurement: Delete measurements after measurement mode is deactivated

  • Description: Verify that measured distances don't disappear when the measurement mode is canceled using the button in the status panel.
  • Given I am on a map page
  • When I click on the measurement button
  • When I measure a distance
  • When I cancel the measurement mode using the status panel
  • When I click on the measurement button
  • Then I can no longer see the measured distance
  • Actual Result:
  • Test Result: ✅
  • Notes:

Measurement: Cancel measurement by selecting other layer

  • Description: Verify that measured distances don't disappear when measurement gets cancelled by selecting a different layer.
  • Given I am on a map page
  • When I click on the measurement button
  • When I measure a distance
  • When I select a different Layer from the layer list
  • Then the measurement layer is no longer active
  • Then I can still see the measured distance
  • Actual Result:
  • Test Result: ✅
  • Notes:

Multi Select

Successfully selecting plants - Shift Click

  • Description: Verify that multiple plants can be selected at once.
  • Given I am on the map page with the plant layer active and there are multiple plants on the map
  • When I hold the Shift key and click on several plants
  • Then all selected plants are highlighted or indicated as selected
  • Actual Result:
  • Test Result: ✅
  • Notes:

Successfully selecting plants - Drag&Drop

  • Description: Verify that multiple plants can be selected at once using drag and drop.
  • Given I am on the map page with the plant layer active and there are multiple plants on the map
  • When I click and hold the mouse button, then drag to draw a selection box around several plants
  • Then all plants within the selection box are highlighted or indicated as selected
  • Actual Result:
  • Test Result: ✅
  • Notes:

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:

Clear "Removed on"/"Added on" date

  • Description: Clear the "Removed on"/"Added on" of 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 and has a valid "Removed on"/"Added on" date
  • Then I clear the "Removed on"/"Added on" date
  • Then I have a valid Planting without the previous date
  • Actual Result: Clearing "Added on" instantly puts the current date
  • Test Result: ⚠️
  • Notes: Changes should still persist/be cleared after
    • Reloading the site
    • Switching from and to the selected planting Issue #2377

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

Read Only

Go Offline

  • Description: Put Browser Offline
  • Given I am on a map
  • When I put the browser to the offline mode (Firefox: Alt, Datei -> Offline Arbeiten)
  • Then I see the message "You are offline. The read-only mode was activated." and everything but measurement is read-only (see other test cases)
  • Actual Result:
  • Test Result: ✅
  • Notes:

Remembering View State of the map

Remembering View State

  • Description: Last View of the map (position of map and zoom) get persisted between map visits.
  • Given I am on a map page
  • When I change what part of the map I am viewing (panning, zooming)
  • When I refresh the page, or navigate away from the map and back to it
  • Then I see the same map view I previously set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Remembering Layers

  • Description: Last settings of the layers in a map (which layers are visible, layer opacity) get persisted between map visits.
  • Given I am on a map page
  • When I change what layers are visible, change the layer opacity
  • When I refresh the page, or navigate away from the map and back to it
  • Then I see the same layer settings I previously set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Remembering Drawing Layer settings

  • Description: Last settings in a drawing layer in a map (selected tab, color, stroke width, fill pattern) get persisted between map visits.
  • Given I am on a map page
  • When I select specific tab, color, stroke width, fill pattern on a drawing layer
  • When I refresh the page, or navigate away from the map and back to it
  • Then I see the same drawing layer settings I previously set
  • Actual Result:
  • Test Result: ✅
  • Notes:

Search Plants

  • Description: Show a selection of plants if the search input is empty.
  • Given I am on a map page with the plant layer active
  • When I click on the magnifying glass icon next to the plant's title
  • When I have an empty search box
  • Then I can see various plants as results
  • Actual Result:
  • Test Result: ✅
  • Notes:

No match was found

  • Description: Verify that searching for a plant that does not exist returns no results.
  • Given I am on a map page with the plant layer active
  • When I enter a search term that does not match any plant (eg. ----) in the database
  • Then I see a message indicating that no plants were found, or the search results are empty
  • Actual Result:
  • Test Result: ✅
  • Notes:

Shade Layer

Add Shading

  • Description: Add a new Shading to the map.
  • Given I am on the map page with the shade layer active
  • When I click on the 'Light' button
  • When I draw on the map
  • Then I can see that a new shading was added
  • Actual Result:
  • Test Result: ✅
  • Notes: Repeat this test for all Shading types

Remove Shading

  • Description: Remove a Shading from the map.
  • Given I am on the map page with the shade layer active and a Shading is selected
  • When I click on 'Delete shading' in the left toolbar
  • Then I can see that a new shading was deleted
  • Actual Result:
  • Test Result: ✅

Edit Shade Type

  • Description: Change the shade of a shading.
  • Given I am on the map page with the shade layer active and a Shading is selected
  • When I select different shade from the drop-down menu in the left toolbar
  • Then I can see that the shade is changed successfully
  • Actual Result:
  • Test Result: ✅
  • Notes: select each shading type at least once

Set Creation Date in the Future

  • Description: Update the date from which the shading should be active
  • Given I am on the map page with the shade layer active and a Shading is selected
  • When I select the current date in the timeline
  • When I select a creation date in the future
  • Then I can see that the shading is no longer shown on the map
  • Actual Result:
  • Test Result: ✅

Set Removal Date in the Future

  • Description: Update the date from which the shading should be active
  • Given I am on the map page with the shade layer active and a Shading is selected
  • When I select the current date in the timeline
  • When I select a creation date in the past
  • When I select a removal date in the future
  • Then I can see that the shading is shown on the map
  • Actual Result:
  • Test Result: ✅

Set Removal date in the Past

  • Description: Update the date until which the shading should be active
  • Given I am on the map page with the shade layer active and a Shading is selected
  • When I select the current date in the timeline
  • When I select a creation date in the past
  • When I select a removal date in the past after the creation date
  • Then I can see that the shading is no longer shown on the map
  • Actual Result:
  • Test Result: ✅

Translation

Default Translations English

  • Description: Verify default translation strings.
  • Given I am in a map and the current language is English
  • When I activate the plant labels and add a plant
  • Then all strings are in English
  • Actual Result:
  • Test Result: ✅
  • Notes: Use a plant with a common name eg. Tomato

Default Translations German

  • Description: Verify default translation strings.
  • Given I am in a map and the current language is German
  • When I activate the plant labels and add a plant
  • Then all strings are in German
  • Actual Result:
  • Test Result: ✅
  • Notes: Use a plant with a common name eg. Tomato

Change Translation in Maps

  • Description: Verify that a user can switch language in a map and stays in the map.
  • Given I am in a map and the current language is English
  • When I click on the "en" Drop Down
  • When I click "Deutsch"
  • Then I am still on the same map
  • And all the text is in German now
  • Actual Result:
  • Test Result: ✅
  • Notes:

Change Translation on Landingpage

  • Description: Verify that a user can switch language on the landing page.
  • Given I am on the landing page and the current language is English
  • When I click on the "en" Drop Down
  • When I click "Deutsch"
  • Then I am still on the Landing Page
  • And all the text is in German now
  • Actual Result:
  • Test Result: ✅
  • Notes: