code: def test_first_metric_in_first_row(app: Page):
      expect(
          app.locator("[data-testid='stMetricLabel']").nth(0)
      ).to_have_text("User growth")
      expect(
          app.locator("[data-testid='stMetricValue']").nth(0)
      ).to_have_text(" 123 ")
      expect(
          app.locator("[data-testid='stMetricDelta']").nth(0)
      ).to_have_text(" 123 ")
  
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 1 for calling a global function with example usage: test_first_metric_in_first_row(app) without return types