code: def test_set_value_correctly_when_click(app: Page):
      """Test that st.radio returns the correct values when the selection is changed."""
      for index, element in enumerate(
          app.get_by_test_id("stRadio").all()
      ):
          if index not in [2, 3]:  # skip disabled and no-options widget
              element.locator('label[data-baseweb="radio"]').nth(
                  1
              ).click(force=True)
              wait_for_app_run(app)
  
      expected = [
          "value 1: male",
          "value 2: male",
          "value 3: None",
          "value 4: female",
          "value 5: male",
          "value 6: male",
          "value 7: male",
          "value 8: male",
          "value 9: italics text",
          "value 10: B",
          "value 11: maybe",
          "value 12: male",
          "radio changed: False",
          "value 13: male",
      ]
  
      for markdown_element, expected_text in zip(
          app.get_by_test_id("stMarkdown").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_set_value_correctly_when_click(app) without return types