code: def test_dataframe_input_format_rendering(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.dataframe renders various data formats correctly via snapshot testing."""
      dataframe_elements = app.get_by_test_id("stDataFrame")
      expect(dataframe_elements).to_have_count(34)
  
      # The dataframe component might require a bit more time for rendering the canvas
      app.wait_for_timeout(250)
  
      for i, element in enumerate(dataframe_elements.all()):
          assert_snapshot(element, name=f"st_dataframe-input_data_{i}")
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_dataframe_input_format_rendering(app, assert_snapshot) without return types