code: def test_shows_clear_cache_dialog_when_c_is_pressed(app: Page):
      app.keyboard.type("c")
      expect(app.get_by_role("dialog")).to_be_visible()
      expect(app.get_by_role("dialog")).to_have_text(
          """
  Clear cachesAre you sure you want to clear the app's function caches?This will remove all cached entries from functions using @st.cache, @st.cache_data, and @st.cache_resource.CancelClear caches
      """
      )
  
imports: from playwright.sync_api import Page, expect
label_desc: Use image node_id 1 for calling a global function with example usage: test_shows_clear_cache_dialog_when_c_is_pressed(app) without return types