fix(gui): repair flaky simulation tests by adding ui_focus_agent to settables and removing invalid assertions
This commit is contained in:
@@ -434,7 +434,8 @@ class AppController:
|
||||
'disc_entries': 'disc_entries',
|
||||
'ui_file_paths': 'ui_file_paths',
|
||||
'ui_auto_switch_layout': 'ui_auto_switch_layout',
|
||||
'ui_tier_layout_bindings': 'ui_tier_layout_bindings'
|
||||
'ui_tier_layout_bindings': 'ui_tier_layout_bindings',
|
||||
'ui_focus_agent': 'ui_focus_agent'
|
||||
}
|
||||
self._gettable_fields = dict(self._settable_fields)
|
||||
self._gettable_fields.update({
|
||||
@@ -697,6 +698,7 @@ class AppController:
|
||||
'save_workspace_profile': self._cb_save_workspace_profile,
|
||||
'load_workspace_profile': self._cb_load_workspace_profile,
|
||||
'delete_workspace_profile': self._cb_delete_workspace_profile,
|
||||
'_cb_create_track': self._cb_create_track,
|
||||
}
|
||||
|
||||
def _update_gcli_adapter(self, path: str) -> None:
|
||||
@@ -2060,7 +2062,8 @@ class AppController:
|
||||
"active_tier": self.active_tier,
|
||||
"active_tickets": self.active_tickets,
|
||||
"proposed_tracks": self.proposed_tracks,
|
||||
"tracks": self.tracks
|
||||
"tracks": self.tracks,
|
||||
"tier_usage": self.mma_tier_usage
|
||||
}
|
||||
|
||||
@api.post("/api/gui", dependencies=[Depends(get_api_key)])
|
||||
|
||||
Reference in New Issue
Block a user