code: def test_number_input_has_correct_value_on_increment_click(app: Page):
      """Test that st.number_input has the correct value on increment click."""
      number_input_up_buttons = app.locator(
          ".stNumberInput button.step-up"
      )
      expect(number_input_up_buttons).to_have_count(11)
      for i, button in enumerate(number_input_up_buttons.all()):
          if i not in [5, 9]:
              button.click()
              wait_for_app_run(app)
  
      markdown_elements = app.get_by_test_id("stMarkdown")
  
      expected = [
          "number input 1 (default) - value: 0.01",
          "number input 2 (value=1) - value: 2",
          "number input 3 (min & max) - value: 2",
          "number input 4 (step=2) - value: 2",
          "number input 5 (max=10) - value: 1",
          "number input 6 (disabled=True) - value: 0.0",
          "number input 7 (label=hidden) - value: 0.01",
          "number input 8 (label=collapsed) - value: 0.01",
          "number input 9 (on_change) - value: 0.01",
          "number input 9 (on_change) - changed: True",
          "number input 10 (small width) - value: 0",
          "number input 11 (value=None) - value: None",
          "number input 12 (value from state & min=1) - value: 11",
      ]
  
      for markdown_element, expected_text in zip(
          markdown_elements.all(), expected
      ):
          expect(markdown_element).to_have_text(
              expected_text, use_inner_text=True
          )
  
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 5 for calling a global function with example usage: test_number_input_has_correct_value_on_increment_click(app) without return types