File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
datalab/tests/features/common Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,29 @@ def __misc_unit_function(win: DLMainWindow) -> None:
192192 set_current = False ,
193193 )
194194
195+ # Get selected object UUIDs
196+ __print_test_result ("Get selected object UUIDs" )
197+ uuids = win .get_sel_object_uuids ()
198+ execenv .print (uuids )
199+
200+ # Select objects by UUIDs
201+ __print_test_result ("Select objects by UUIDs" )
202+ win .select_objects (uuids )
203+
204+ # Get object shapes
205+ __print_test_result ("Get object shapes" )
206+ win .get_object_shapes (uuids [0 ])
207+
208+ # Select groups by UUIDs
209+ __print_test_result ("Select groups by UUIDs" )
210+ win .select_groups ([1 ])
211+ uuids = win .get_sel_object_uuids ()
212+ win .select_groups (uuids )
213+
214+ # Delete metadata
215+ __print_test_result ("Delete metadata" )
216+ win .delete_metadata ()
217+
195218 # Close application
196219 __print_test_result ("Close application" )
197220 win .close_application ()
You can’t perform that action at this time.
0 commit comments