code: def test_time_input_widget_rendering(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that the time input widgets are correctly rendered via screenshot matching."""
      time_input_widgets = themed_app.get_by_test_id("stTimeInput")
      expect(time_input_widgets).to_have_count(9)
  
      assert_snapshot(
          time_input_widgets.nth(0), name="st_time_input-8_45"
      )
      assert_snapshot(
          time_input_widgets.nth(1), name="st_time_input-21_15_help"
      )
      assert_snapshot(
          time_input_widgets.nth(2), name="st_time_input-disabled"
      )
      assert_snapshot(
          time_input_widgets.nth(3), name="st_time_input-hidden_label"
      )
      assert_snapshot(
          time_input_widgets.nth(4),
          name="st_time_input-collapsed_label",
      )
      assert_snapshot(
          time_input_widgets.nth(5), name="st_time_input-callback"
      )
      assert_snapshot(
          time_input_widgets.nth(6), name="st_time_input-step_60"
      )
      assert_snapshot(
          time_input_widgets.nth(7), name="st_time_input-empty"
      )
      assert_snapshot(
          time_input_widgets.nth(8),
          name="st_time_input-value_from_state",
      )
  
file_path: streamlit/e2e_playwright/st_time_input_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 1 for calling a global function with example usage: test_time_input_widget_rendering(themed_app, assert_snapshot) without return types