SIM001 › Flying in the sim › The simulator
Watching from every view › Throw it, then step through the views passed
As a pilot, I want to see the plane from the pilot box, from behind it and from its nose camera, so that I can fly the way I like and watch it the way I want.
The test behind the tutorial Watching from every view: every step it takes, what it checks and what it saw.
Start
From the setup of The simulator.
Everything it starts with
Given the throttle is 0 % And the pitch stick is centred And the roll stick is centred And the wings are level And the flight controller is missing And the flight mode is MANUAL And the rates are high And differential thrust is on And the view is line of sight And auto-zoom is on And the help screen is hidden And the sim is running And the battery is at least 99 % And the game is free flight And the game clock is off And the plane is in hand

- Every arranged state read back as arranged (16)
1 When the throttle is 80 %
When the throttle is 80 % Then the plane is flying
Expected behaviour: Throttle up throws the plane.

- the plane is flying · Throttle up throws the plane
2 When the pilot changes the view
When the pilot changes the view Then the view is chase
Expected behaviour: Chase follows the plane.

- the view is chase · Chase follows the plane
3 When the pilot changes the view
When the pilot changes the view Then the view is FPV
Expected behaviour: FPV looks out of the nose.

- the view is FPV · FPV looks out of the nose
4 When the pilot changes the view
When the pilot changes the view Then the view is line of sight
Expected behaviour: Line of sight is the view from the pilot box.

- the view is line of sight · Line of sight is the view from the pilot box