code: def test_first_graph_fullscreen(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test if the first graph shows in fullscreen."""
  
      # Hover over the parent div
      app.locator(".stGraphVizChart").nth(0).hover()
  
      # Enter fullscreen
      click_fullscreen(app)
  
      first_graph_svg = get_first_graph_svg(app)
      # The width and height unset on the element on fullscreen
      expect(first_graph_svg).not_to_have_attribute("width", "79pt")
      expect(first_graph_svg).not_to_have_attribute("height", "116pt")
  
      svg_dimensions = first_graph_svg.bounding_box()
      assert svg_dimensions["width"] == 1256
      assert svg_dimensions["height"] == 662
      assert_snapshot(first_graph_svg, name="graphviz_fullscreen")
  
file_path: streamlit/e2e_playwright/st_graphviz_chart_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 6 for calling a global function with example usage: test_first_graph_fullscreen(app, assert_snapshot) without return types