code: def test_selectbox_widget_rendering(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that the selectbox widgets are correctly rendered via screenshot matching."""
      selectbox_widgets = themed_app.get_by_test_id("stSelectbox")
      expect(selectbox_widgets).to_have_count(12)
  
      assert_snapshot(
          selectbox_widgets.nth(0), name="st_selectbox-default"
      )
      assert_snapshot(
          selectbox_widgets.nth(1),
          name="st_selectbox-formatted_options",
      )
      assert_snapshot(
          selectbox_widgets.nth(2), name="st_selectbox-no_options"
      )
      assert_snapshot(
          selectbox_widgets.nth(3), name="st_selectbox-more_options"
      )
      assert_snapshot(
          selectbox_widgets.nth(4), name="st_selectbox-disabled"
      )
      assert_snapshot(
          selectbox_widgets.nth(5), name="st_selectbox-hidden_label"
      )
      assert_snapshot(
          selectbox_widgets.nth(6), name="st_selectbox-collapsed_label"
      )
      assert_snapshot(
          selectbox_widgets.nth(7), name="st_selectbox-callback_help"
      )
      assert_snapshot(
          selectbox_widgets.nth(8), name="st_selectbox-empty_selection"
      )
      assert_snapshot(
          selectbox_widgets.nth(9),
          name="st_selectbox-empty_selection_placeholder",
      )
      assert_snapshot(
          selectbox_widgets.nth(10),
          name="st_selectbox-dataframe_options",
      )
      assert_snapshot(
          selectbox_widgets.nth(11),
          name="st_selectbox-value_from_state",
      )
  
file_path: streamlit/e2e_playwright/st_selectbox_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 1 for calling a global function with example usage: test_selectbox_widget_rendering(themed_app, assert_snapshot) without return types