code: def test_nested_expanders(app: Page):
      """Test that st.expander may not be nested inside other expanders."""
      exception_message = app.locator(".stException .message")
  
      expect(exception_message).to_have_text(
          "StreamlitAPIException: Expanders may not be nested inside other expanders."
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_nested_expanders(app) without return types