code: def test_handles_date_selection(app: Page):
      """Test that selection of a date on the calendar works as expected."""
      app.get_by_test_id("stDateInput").first.click()
  
      # Select '1970/01/02':
      app.locator(
          '[data-baseweb="calendar"] [aria-label^="Choose Friday, January 2nd 1970."]'
      ).first.click()
  
      expect(app.get_by_test_id("stMarkdown").first).to_have_text(
          "Value 1: 1970-01-02", use_inner_text=True
      )
  
file_path: streamlit/e2e_playwright/st_date_input_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 3 for calling a global function with example usage: test_handles_date_selection(app) without return types