code: def test_multiselect_clear_all(app: Page):
      """Should clear all options when clicking clear all."""
      select_for_kth_multiselect(app, "Female", 1, True)
      app.locator(
          '.stMultiSelect [role="button"][aria-label="Clear all"]'
      ).first.click()
      expect(app.locator("[data-testid='stText']").nth(1)).to_have_text(
          "value 2: []"
      )
  
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 5 for calling a global function with example usage: test_multiselect_clear_all(app) without return types