Manual Test Protocol layer management template
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: 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 a rectangle in Drawing Layer
- When I add a 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: