General

  • Tester: Johannes Ziehengraser
  • Date/Time: 04.11.2024 14:00
  • Duration: 1h
  • Commit/Tag: 0633057e3b0d427fa9a30e1fb343f34db99d3f49
  • Setup: local build
  • Planned tests: -27
  • Executed tests: -26
  • ✔️Passed tests: -24
  • ⚠️Problematic tests: -2
  • ❌Failed tests: -0

Manual Test Protocol

  • 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 have an empty search box
  • Then I can see wanted plants as results
  • Actual Result:
  • Test Result: ✔️
  • Notes:

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:

Base Layer

  • Description: Check whether the maps background image is displayed correctly.
  • 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:

Grid

  • 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:

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:
  • Test Result: ⚠️
  • Notes: Check if all actions can be done as described.
    1. Could not be tested. The guided tour would not open for me, because I already finished it. I was not able to trigger it again. Created an Issue.
    2. Has not yet been noticed.
    3. Class 3: Essential functionality is faulty
    4. Level 4: Correction planning is still open

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.

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:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Layer Management: Undo deletion

  • Description: Test if deleted layer can be restored
  • Given I am on a map with some drawing on a drawing layer.
  • When I delete the drawing layer
  • Then Layer disappears from layer list and drawings are deleted from map
  • When I press undo
  • Then Layer appears again at same position as it was before deletion and drawings are visible again.
  • Actual Result:
  • Test Result: ✔️
  • Notes:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Layer Management: 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:

Heatmap (only in dev branch)

  • Description: Test whether the heatmap endpoints generates the image correctly.
  • Given I am on a map page with the plant layer active
  • When I start planting a plant
  • Then I see suitable places for that plant
  • Actual Result:
  • Test Result:
  • Notes:

Map Overview: More than 30 Layers 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:
    1. Could not be tested. Not enough test data maps have been created.
    2. Has not yet been noticed.
    3. Class 5: Minor deviation
    4. Level 4: Correction planning is still open

Measurement: 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:

Closing remarks

  • How is the current state of the software? The design got an overhaul and the frontpage got few nice fixes for small devices. But it could still improve for small displays.

  • Have the quality objectives been achieved? Yes.

  • What are the consequences drawn from the current state, including: how can future errors be avoided, how can the development process be improved?

    • Upgrade to diesel@2.0.4 should be done soon. (cargo audit fix -> diesel vulnerability)