code: def test_empty_expander_not_rendered(app: Page):
      """Test that an empty expander is not rendered."""
      expect(app.get_by_text("Empty expander")).not_to_be_attached()
  
file_path: streamlit/e2e_playwright/st_expander_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 5 for calling a global function with example usage: test_empty_expander_not_rendered(app) without return types