Fix graphical final orders workflow
Deploy STEP3 UAT / deploy (push) Canceled after 0s

This commit is contained in:
hz
2026-08-14 19:31:31 -05:00
parent 25c2188264
commit 030bcf6d7a
2 changed files with 18 additions and 15 deletions
+7 -2
View File
@@ -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()