code: def test_text_input_shows_instructions_when_dirty(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.text_input shows the instructions correctly when dirty."""
      text_input = app.get_by_test_id("stTextInput").nth(9)
  
      text_input_field = text_input.locator("input").first
      text_input_field.fill("123")
  
      assert_snapshot(
          text_input, name="st_text_input-input_instructions"
      )
  
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 3 for calling a global function with example usage: test_text_input_shows_instructions_when_dirty(app, assert_snapshot) without return types