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
Add 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:
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:
Examples: | step | | 1 | | 1.1 | | 1.11 | | 2.5 | | 5 | | 5.55 |
Autoscaling
- 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.