code: def test_number_input_widget_display(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.number_input renders correctly."""
      number_input_elements = themed_app.get_by_test_id("stNumberInput")
      expect(number_input_elements).to_have_count(12)
  
      assert_snapshot(
          number_input_elements.nth(0), name="st_number_input-default"
      )
      assert_snapshot(
          number_input_elements.nth(1), name="st_number_input-value_1"
      )
      assert_snapshot(
          number_input_elements.nth(2), name="st_number_input-min_max"
      )
      assert_snapshot(
          number_input_elements.nth(3), name="st_number_input-step_2"
      )
      assert_snapshot(
          number_input_elements.nth(4), name="st_number_input-max_10"
      )
      assert_snapshot(
          number_input_elements.nth(5),
          name="st_number_input-disabled_true",
      )
      assert_snapshot(
          number_input_elements.nth(6),
          name="st_number_input-label_hidden",
      )
      assert_snapshot(
          number_input_elements.nth(7),
          name="st_number_input-label_collapsed",
      )
      assert_snapshot(
          number_input_elements.nth(8), name="st_number_input-on_change"
      )
      assert_snapshot(
          number_input_elements.nth(9),
          name="st_number_input-small_width",
      )
      assert_snapshot(
          number_input_elements.nth(10),
          name="st_number_input-value_none",
      )
      assert_snapshot(
          number_input_elements.nth(11),
          name="st_number_input-value_none_min_1",
      )
  
file_path: streamlit/e2e_playwright/st_number_input_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 1 for calling a global function with example usage: test_number_input_widget_display(themed_app, assert_snapshot) without return types