code: def test_click_increment_count(app: Page):
      button_element = (
          app.get_by_test_id("stButton").locator("button").first
      )
      button_element.click()
      expect(app.get_by_test_id("stMarkdown").nth(3)).to_have_text(
          "times clicked: 1"
      )
      button_element.click()
      expect(app.get_by_test_id("stMarkdown").nth(3)).to_have_text(
          "times clicked: 2"
      )
      button_element.click()
      expect(app.get_by_test_id("stMarkdown").nth(3)).to_have_text(
          "times clicked: 3"
      )
  
file_path: streamlit/e2e_playwright/st_button_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 6 for calling a global function with example usage: test_click_increment_count(app) without return types