SIM001

SIM001 › Towers › Towers

Shown for sim: the game with simulated drones, on this computer. This part isn't run on desktop; the version menu has the others.

Test report

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
Screenshot
From before this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.

    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.

    Not run since this page changed.
    Not run since this page changed.