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