SIM001 › The ground station › Ground control station › Planning a mission
Planning at the altitude limit › ALT+ from 290 m passed
As a pilot planning over the mountains, I want the plan altitude to stop at its limit, so that I can't plan the plane higher than it should fly.
The test behind the tutorial Planning at the altitude limit: every step it takes, what it checks and what it saw.
Start
From the setup of Planning a mission, and:
Given the plan altitude is 290 m
Everything it starts with
Given the game clock is off And the link is connected And the vehicle is disarmed And the autopilot mode is MANUAL And the map tool is PLAN And the plan has 0 items And the plan altitude is 290 m And the last plan item is none And the takeoff is not planned And the vehicle mission is empty And the home position is set And the waypoints are unchecked And the mission file is missing And the measured distance is hidden And the vehicle's current item is 0 And the plane is on the ground

- Every arranged state read back as arranged (16)
1 When the operator raises the plan altitude
When the operator raises the plan altitude Then the plan altitude is 300 m
Expected behaviour: ALT+ raises the plan altitude.

- the plan altitude is 300 m · ALT+ raises the plan altitude
- the last plan item is none · An empty plan has no last item
2 When the operator raises the plan altitude
When the operator raises the plan altitude Then the plan altitude is 300 m
Expected behaviour: ALT+ stops at 300 m.

- the plan altitude is 300 m · ALT+ stops at 300 m
- the last plan item is none · An empty plan has no last item