code: def test_handles_step_correctly(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that the step parameter is correctly applied."""
      app.get_by_test_id("stTimeInput").nth(6).locator("input").click()
  
      # Take a snapshot of the time selection dropdown:
      selection_dropdown = app.locator('[data-baseweb="popover"]').first
      assert_snapshot(
          selection_dropdown, name="st_time_input-step_60_dropdown"
      )
      # Select the second option:
      selection_dropdown.locator("li").nth(1).click()
      # Check that selection worked:
      expect(app.get_by_test_id("stMarkdown").nth(7)).to_have_text(
          "Value 7: 00:01:00", use_inner_text=True
      )
  
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 4 for calling a global function with example usage: test_handles_step_correctly(app, assert_snapshot) without return types