code: def test_checkbox_values_on_click(app: Page):
      """Test that st.checkbox updates values correctly when user clicks."""
      checkbox_elements = app.locator(".stCheckbox")
      expect(checkbox_elements).to_have_count(8)
  
      for checkbox_element in checkbox_elements.all():
          checkbox_element.click(delay=50)
          wait_for_app_run(app)
  
      markdown_elements = app.locator(".stMarkdown")
      expected = [
          "checkbox 1 - value: False",
          "checkbox 2 - value: True",
          "checkbox 3 - value: True",
          "checkbox 4 - value: True",
          "checkbox 4 - clicked: True",
          "checkbox 5 - value: False",
          "checkbox 6 - value: True",
          "checkbox 7 - value: True",
          "checkbox 8 - value: True",
      ]
  
      for markdown_element, expected_text in zip(
          markdown_elements.all(), expected
      ):
          expect(markdown_element).to_have_text(
              expected_text, use_inner_text=True
          )
  
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 3 for calling a global function with example usage: test_checkbox_values_on_click(app) without return types