code: def test_text_input_widget_rendering(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that the st.text_input widgets are correctly rendered via screenshot matching."""
      text_input_widgets = themed_app.get_by_test_id("stTextInput")
      expect(text_input_widgets).to_have_count(11)
  
      assert_snapshot(
          text_input_widgets.nth(0), name="st_text_input-default"
      )
      assert_snapshot(
          text_input_widgets.nth(1),
          name="st_text_input-value_some_text",
      )
      assert_snapshot(
          text_input_widgets.nth(2), name="st_text_input-value_1234"
      )
      assert_snapshot(
          text_input_widgets.nth(3), name="st_text_input-value_None"
      )
      assert_snapshot(
          text_input_widgets.nth(4), name="st_text_input-placeholder"
      )
      assert_snapshot(
          text_input_widgets.nth(5), name="st_text_input-disabled"
      )
      assert_snapshot(
          text_input_widgets.nth(6), name="st_text_input-hidden_label"
      )
      assert_snapshot(
          text_input_widgets.nth(7),
          name="st_text_input-collapsed_label",
      )
      assert_snapshot(
          text_input_widgets.nth(8), name="st_text_input-callback_help"
      )
      assert_snapshot(
          text_input_widgets.nth(9), name="st_text_input-max_chars_5"
      )
      assert_snapshot(
          text_input_widgets.nth(10), name="st_text_input-type_password"
      )
  
file_path: streamlit/e2e_playwright/st_text_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_text_input_widget_rendering(themed_app, assert_snapshot) without return types