code: def test_components_iframe_rendering(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that our components v1 API correctly renders elements via screenshot matching."""
  
      elements = themed_app.locator("iframe")
      expect(elements).to_have_count(3)
  
      assert_snapshot(elements.nth(0), name="st_components-html")
      assert_snapshot(elements.nth(1), name="st_components-iframe")
  
imports: import re
  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_components_iframe_rendering(themed_app, assert_snapshot) without return types