code: def test_none_results_in_dash_in_value(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      assert_snapshot(
          themed_app.locator('[data-testid="stMetric"]').nth(7),
          name="metric-with-none-value",
      )
  
file_path: streamlit/e2e_playwright/st_metric_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 8 for calling a global function with example usage: test_none_results_in_dash_in_value(themed_app, assert_snapshot) without return types