Shown for sim: the game with simulated drones, on this computer. This part isn't run on desktop; the version menu has the others.
Watch your drone on the battlefield › Follow a drone to the west tower not run
As a commander of a team, I want to move the camera over the battlefield, so that I see my drones where they fight.
The test behind the tutorial Watch your drone on the battlefield: 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 point of the battlefield camera is the Blue base
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 clicks the west tower on the minimap
When the commander clicks the west tower on the minimap Then the point of the battlefield camera is the west tower
Expected behaviour: A click on the minimap moves the camera there.

- the point of the battlefield camera is the west tower · A click on the minimap moves the camera there
- 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 commander sends the selected drone to the west tower
When the commander sends the selected drone to the west tower Then the order of the first Blue drone is take the west tower
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
5 When the game runs for 2 minutes
When the game runs for 2 minutes Then the west tower on the Blue map is held by Blue And the first Blue drone is in the west circle
Expected behaviour: A drone sent to a tower that nobody fights for takes it, The app flies its drones itself, The map of the app shows its drones where their telemetry puts them, The game server is the umpire of the app, and not its map.

- the west tower on the Blue map is held by Blue · A drone sent to a tower that nobody fights for takes it
- the drones that the app flies in AGENT mode are at least 1 · The app flies its drones itself
- the position reports that the app heard from its drones are at least 10 · The map of the app shows its drones where their telemetry puts them
- the maps of the game that the game server sent the app are 0 · The game server is the umpire of the app, and not its map
- 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 first Blue drone is in the west circle · the story
6 When the commander turns the battlefield camera to the right
When the commander turns the battlefield camera to the right Then the heading of the battlefield camera is 45 deg
Expected behaviour: E turns the camera to the right.

- the heading of the battlefield camera is 45 deg · E turns the camera to the right
- 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 centres the battlefield on the selected drone
When the commander centres the battlefield on the selected drone Then the point of the battlefield camera is the west tower
Expected behaviour: Space moves the camera to the selected drone.

- the point of the battlefield camera is the west tower · Space moves the camera to the selected drone
- 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