planner-interactions.md
August 3, 2020 ยท View on GitHub
The following table describes the interactions with nodes and routes in the planner map. This is intended for manual testing of these interactions.
Test results per browser:
- C = Chrome
- F = Firefox
- S = Safari
| Nr | planner interaction | C | F | S | expected result |
|---|---|---|---|---|---|
| 1 | hover over node | OK | ? | ? | cursor changes (+ yellow highlight) to indicate node is clickable |
| 1a | hover over node, with ctrl-key down | OK | ? | ? | cursor changes (+ yellow highlight) to indicate node is clickable |
| 2 | hover over route in empty plan | OK | ? | ? | no cursor change, route is not clickable |
| 2a | hover over route in empty plan, with ctrl-key down | OK | ? | ? | cursor changes (+ yellow highlight) to indicate route is clickable |
| 3 | hover over route in plan with at least a start marker | OK | ? | ? | cursor changes (+ yellow highlight) to indicate that the route is clickable (note: highlight may be partial due to technical limitation) |
| 3a | hover over route in plan with at least a start marker, with ctrl-key down | OK | ? | ? | cursor changes (+ yellow highlight) to indicate that the route is clickable (note: highlight may be partial due to technical limitation) |
| 4 | click node in empty plan | OK | ? | ? | adds blue start marker |
| 4a | click node in empty plan, with ctrl-key down | OK | ? | ? | open node details popup |
| 5 | click route in empty plan | OK | ? | ? | not possible, route cannot be starting point |
| 5b | click route in empty plan, with ctrl-key down | OK | ? | ? | open route details popup |
| 6 | click node in plan with start marker only | OK | ? | ? | adds leg and green end marker |
| 7 | click node in plan with last leg node-to-node | OK | ? | ? | adds leg, and green end marker, previous green end marker becomes brown via marker |
| 8 | click route in plan with start marker only | OK | ? | ? | adds leg, adds brown via marker on the coordinate that was clicked and adds green end marker on destination node |
| 9 | click node in plan with last leg via-route | OK | ? | ? | adds leg and green end marker, previous green end marker becomes invisible (brown route via marker remains) |
| 10 | click route in plan with last leg node-to-node | OK | ? | ? | adds leg, adds brown via marker on the coordinate that was clicked and adds green end marker on destination node, previous green end marker becomes brown via marker |
| 11 | in plan with start marker only, drag blue start marker, drop on other node | OK | ? | ? | plan start is moved |
| 12 | in plan with first leg node-to-node, drag blue start marker, drop on other node | OK | ? | ? | plan start is moved, first leg is recalculated |
| 13 | in plan with first leg via-route, drag blue start marker, drop on other node | OK | ? | ? | plan start is moved, first leg is recalculated (keeps going through route-via-point, end marker can change) |
| 14 | drag blue start marker, drop on route | OK | ? | ? | not supported, no cursor/highlight change when hovering over route - marker jumps back to original position |
| 15 | in plan with last leg node-to-node, drag green end marker, drop on other node | OK | ? | ? | plan destination is moved, last leg is recalculated |
| 16 | in plan with last leg via-route, drag green end marker, drop on other node | OK | ? | ? | plan destination is moved, last leg is recalculated |
| 17 | in plan with last leg node-to-node, drag green end marker, drop on route | OK | ? | ? | end marker moved, leg recalculated |
| 18 | in plan with last leg via-route, drag green end marker, drop on route | OK | ? | ? | end marker moved, route-via-markers are kept |
| 19 | drag brown node via marker, drop on other node | OK | ? | ? | via point is moved, legs are recalculated |
| 20 | drag brown via-route via marker, drop on other node | OK | ? | ? | via point is moved, legs are recalculated |
| 21 | drag brown node via marker, drop on route | OK | ? | ? | via point is moved, legs are recalculated |
| 22 | drag brown via-route via marker, drop on route | OK | ? | ? | via point is moved, legs are recalculated |
| 23 | drag node-to-node-leg, drop on node | OK | ? | ? | via point is move, legs are recalculated |
| 24 | drag node-to-node-leg, drop on route | OK | ? | ? | via point is moved, legs are recalculated |
| 25 | drag via-route-leg, drop on node | OK | ? | ? | via point is moved, legs are recalculated |
| 26 | drag via-route-leg, drop on route | OK | ? | ? | via point is moved, legs are recalculated |
| 27 | single click on brown node via marker | OK | ? | ? | via marker is removed, and new leg is calculated connection previous leg start node to next leg end node |
| 28 | single click on brown route via marker | OK | ? | ? | via marker is removed, and new leg is calculated connection previous leg start node to next leg end node |
| 29 | click reverse | OK | ? | ? | plan reversed |
| 30 | plan with via-route, click reverse | OK | ? | ? | plan reversed |
| 31 | shift drag rectangle | OK | ? | ? | zoom in to selected area |
| 32 | click "R" button, without plan | OK | ? | ? | error popup |
| 33 | click "R" button, with plan | OK | ? | ? | zoom in/out to make planned route fit map view |
| 34 | click spyglass button, enter location | OK | ? | ? | zoom and pan to choosen location |
| 35 | click "target" button (with browser permission) | OK | ? | ? | zoom and pan to what the browser thinks is the current location |
| 35 | click "target" button (without browser permission) | OK | ? | ? | error popup |
| 36 | click double-ended arraow button in upper right corner | OK | ? | ? | map is shown fullscreen |
save and restore plan with via-route via clipboard link or QR code