code: def test_checkbox_widget_display(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.checkbox renders correctly."""
      checkbox_elements = themed_app.locator(".stCheckbox")
      expect(checkbox_elements).to_have_count(8)
  
      for i, element in enumerate(checkbox_elements.all()):
          assert_snapshot(element, name=f"checkbox-{i}")
  
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_checkbox_widget_display(themed_app, assert_snapshot) without return types