code: def test_multiselect_single_selection(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Should allow selections."""
      select_for_kth_multiselect(app, "Female", 1, True)
      expect(app.locator(".stMultiSelect span").nth(1)).to_have_text(
          "Female", use_inner_text=True
      )
      assert_snapshot(
          app.locator(".stMultiSelect").nth(1),
          name="multiselect-selection",
      )
      expect(app.locator("[data-testid='stText']").nth(1)).to_have_text(
          "value 2: ['female']", use_inner_text=True
      )
  
file_path: streamlit/e2e_playwright/st_multiselect_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 14 for calling a global function with example usage: test_multiselect_single_selection(app, assert_snapshot) without return types