This commit is contained in:
@@ -136,8 +136,13 @@ func _run() -> void:
|
||||
screen.active_scene.close_orders()
|
||||
screen.active_scene.configure_orders({"state": "final_orders", "activeOrderCodes": [], "activeOrders": [], "chart": [], "finalOrdersDeadlineUtc": "2026-08-14T12:00:00Z"})
|
||||
_assert(screen.active_scene.is_computer_open() and screen.active_scene.orders_window.visible, "final orders should automatically open the Orders app")
|
||||
_assert(screen.active_scene.orders_submit_final_button.visible and not screen.active_scene.orders_advance_button.visible, "final orders should expose submission and lock time advancement")
|
||||
_assert(not screen.active_scene.close_orders(), "the Orders app should remain locked open during final orders")
|
||||
_assert(screen.active_scene.orders_submit_final_button.visible and not screen.active_scene.orders_submit_final_button.disabled \
|
||||
and not screen.active_scene.orders_advance_button.visible, "final orders should expose an enabled submission while locking time advancement")
|
||||
_assert(screen.active_scene.orders_status.text.contains("Pending results do not need to return"), "final review should clearly explain pending orders")
|
||||
_assert(screen.active_scene.close_orders(), "the Orders app should remain closable during final review")
|
||||
_assert(screen.active_scene.close_computer(), "the computer should remain closable during final review")
|
||||
screen.active_scene.open_computer()
|
||||
screen.active_scene.open_orders()
|
||||
screen.active_scene.final_orders_mode = false
|
||||
screen.active_scene.close_orders()
|
||||
screen.active_scene.close_computer()
|
||||
|
||||
Reference in New Issue
Block a user