code: def test_reset_on_other_widget_change(app: Page):
      button_element = (
          app.get_by_test_id("stButton").locator("button").first
      )
      checkbox_element = app.get_by_test_id("stCheckbox")
      button_element.click()
      expect(app.get_by_test_id("stMarkdown").nth(0)).to_have_text(
          "value: True"
      )
      expect(app.get_by_test_id("stMarkdown").nth(1)).to_have_text(
          "value from state: True"
      )
      checkbox_element.click()
      expect(app.get_by_test_id("stMarkdown").nth(0)).to_have_text(
          "value: False"
      )
      expect(app.get_by_test_id("stMarkdown").nth(1)).to_have_text(
          "value from state: False"
      )
  
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 7 for calling a global function with example usage: test_reset_on_other_widget_change(app) without return types