Connect physical elevators and staff commutes to construction, saves, and cutaway UI
This commit is contained in:
@@ -69,6 +69,10 @@ func _run() -> void:
|
||||
_panel.apply_button.pressed.emit()
|
||||
_expect(_assignment(&"staff_akane").get(&"facility_id") == _receptions[0],
|
||||
"paused Apply assigns the receptionist to the chosen completed facility")
|
||||
_expect(_runtime.staff_service.get_staff(&"staff_akane").state == StaffRuntime.State.COMMUTING
|
||||
and _runtime.facility_service.get_instance(_receptions[0]).active_staff_ids.is_empty(),
|
||||
"paused Apply visibly starts a commute and does not invent facility attendance")
|
||||
_expect("出勤中" in _panel.staff_detail_label.text, "staff panel distinguishes physical commuting from active duty")
|
||||
_expect("変更しました" in _panel.result_label.text and "毎日" in _panel.staff_detail_label.text,
|
||||
"assignment success and recurring schedule are visible in Japanese")
|
||||
_test_rejected_assignment()
|
||||
|
||||
Reference in New Issue
Block a user