code: def test_select_frame_labels():
      dataset = foz.load_zoo_dataset("quickstart-video")
  
      session = fo.launch_app(dataset)
  
      ids = [
          dataset.first().frames.first().detections.detections[0].id,
          dataset.last().frames[120].detections.detections[-1].id,
      ]
  
      tag_counts = dataset.count_label_tags()
      assert tag_counts == {}
  
      view = dataset.select_labels(ids=ids)
      count = view.count("frames.detections.detections")
      assert count == 2
  
      tag_counts = dataset.count_label_tags()
      assert tag_counts == {}
  
      view.tag_labels("test")
  
      tag_counts = dataset.count_label_tags()
      assert tag_counts == {"test": 2}
  
      selected_labels = session.selected_labels
      assert selected_labels == []
  
      session.select_labels(tags="test")
  
      num_selected_labels = len(session.selected_labels)
      assert num_selected_labels == 2
  
imports: import unittest
  import fiftyone
  import fiftyone.zoo
label_desc: Use image node_id 3 for calling a global function with example usage: test_select_frame_labels() without return types