code: def test_header_display(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that st.header renders correctly with dividers."""
      header_elements = app.locator(".stHeadingContainer")
      expect(header_elements).to_have_count(16)
  
      for i, element in enumerate(header_elements.all()):
          if i < 8:
              assert_snapshot(element, name=f"header-divider-{i}")
  
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_header_display(app, assert_snapshot) without return types