code: def test_dot_string(app: Page, assert_snapshot: ImageCompareFunction):
      """Test if it renders charts when input is a string (dot language)."""
  
      title = app.locator(".stGraphVizChart > svg > g > title").nth(5)
      expect(title).to_have_text("Dot")
  
      assert_snapshot(
          app.locator(".stGraphVizChart > svg").nth(5),
          name="st_graphviz_chart_dot_string",
      )
  
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 9 for calling a global function with example usage: test_dot_string(app, assert_snapshot) without return types