Shown for sim: the game with simulated drones, on this computer. This part isn't run on desktop; the version menu has the others.
Circle a point, then fly a route › A circle, a route, and a tower not run
As a commander of a team, I want to give a drone the orders of a ground station, so that it watches a place, and then patrols.
The test behind the tutorial Circle a point, then fly a route: every step it takes, what it checks and what it saw.
Start
From the setup of Towers.
Everything it starts with

1 When the commander joins the game
When the commander joins the game Then the seat of the app is Blue
Expected behaviour: The app takes the Blue seat, The camera starts at the base of the team, The top bar shows the towers that each team holds, The card of each drone shows its icon, The ADVISOR panel is empty when the advisor has no proposal.
- the seat of the app is Blue · The app takes the Blue seat
- the towers on the app's map are 5 · The app takes the Blue seat
- the point of the battlefield camera is the Blue base · The camera starts at the base of the team
- the heading of the battlefield camera is 0 deg · The camera starts at the base of the team
- the towers held by Blue in the top bar are 1 · The top bar shows the towers that each team holds
- the icon on the card of the first Blue drone is a plane · The card of each drone shows its icon
- the proposal in the ADVISOR panel is none · The ADVISOR panel is empty when the advisor has no proposal
2 When the commander selects the first Blue drone
When the commander selects the first Blue drone Then the selected drone is the first Blue drone
Expected behaviour: A click on a drone selects it.
- the selected drone is the first Blue drone · A click on a drone selects it
- the unit panel of the app is shown · The UNIT panel shows the details of the selected drone
- the class in the unit panel is standard · The UNIT panel shows the details of the selected drone
- the mass in the unit panel is 1.1 kg · The UNIT panel shows the details of the selected drone
3 When the commander draws a circle of 120 m on the battlefield
When the commander draws a circle of 120 m on the battlefield Then the order of the first Blue drone is circle a point
Expected behaviour: CIRCLE sends the selected drone to circle a point at the distance that you drag.
- the order of the first Blue drone is circle a point · CIRCLE sends the selected drone to circle a point at the distance that you drag
- the radius of the circle of the first Blue drone is between 100 and 140 m · CIRCLE sends the selected drone to circle a point at the distance that you drag
- the points in the route of the first Blue drone are 0 · CIRCLE sends the selected drone to circle a point at the distance that you drag
- the unit panel of the app is shown · The UNIT panel shows the details of the selected drone
- the class in the unit panel is standard · The UNIT panel shows the details of the selected drone
- the mass in the unit panel is 1.1 kg · The UNIT panel shows the details of the selected drone
4 When the game runs for 2 minutes
When the game runs for 2 minutes Then the distance of the first Blue drone from the centre of its circle is at least 80 m And the distance of the first Blue drone from the centre of its circle is at most 170 m
Expected behaviour: A drone sent to circle a point flies round it at that distance.
- the distance of the first Blue drone from the centre of its circle is between 80 and 170 m · A drone sent to circle a point flies round it at that distance
- the unit panel of the app is shown · The UNIT panel shows the details of the selected drone
- the class in the unit panel is standard · The UNIT panel shows the details of the selected drone
- the mass in the unit panel is 1.1 kg · The UNIT panel shows the details of the selected drone
- the distance of the first Blue drone from the centre of its circle is at least 80 m · the story
- the distance of the first Blue drone from the centre of its circle is at most 170 m · the story
5 When the commander adds two points to the route of the selected drone
When the commander adds two points to the route of the selected drone Then the points in the route of the first Blue drone are 2
Expected behaviour: Two points in a row give a route of two.
- the order of the first Blue drone is go to a point · Two points in a row give a route of two
- the points in the route of the first Blue drone are 2 · Two points in a row give a route of two
- the unit panel of the app is shown · The UNIT panel shows the details of the selected drone
- the class in the unit panel is standard · The UNIT panel shows the details of the selected drone
- the mass in the unit panel is 1.1 kg · The UNIT panel shows the details of the selected drone
6 When the game runs for 2 minutes
When the game runs for 2 minutes Then the points in the route of the first Blue drone are 1
Expected behaviour: A drone flies its route one point after the other.
- the points in the route of the first Blue drone are 1 · A drone flies its route one point after the other
- the unit panel of the app is shown · The UNIT panel shows the details of the selected drone
- the class in the unit panel is standard · The UNIT panel shows the details of the selected drone
- the mass in the unit panel is 1.1 kg · The UNIT panel shows the details of the selected drone
7 When the commander sends the selected drone to the west tower
When the commander sends the selected drone to the west tower Then the points in the route of the first Blue drone are 0
Expected behaviour: A right-click on a tower sends the selected drone to take it, Any other order ends the route.
- the order of the first Blue drone is take the west tower · A right-click on a tower sends the selected drone to take it
- the points in the route of the first Blue drone are 0 · Any other order ends the route
- the unit panel of the app is shown · The UNIT panel shows the details of the selected drone
- the class in the unit panel is standard · The UNIT panel shows the details of the selected drone
- the mass in the unit panel is 1.1 kg · The UNIT panel shows the details of the selected drone