code: def test_stcp001_clear_data_on_all_types(store_app, dash_dcc):
      dash_dcc.start_server(store_app)
  
      assert dash_dcc.wait_for_contains_text("#output", store_app.uuid)
  
      dash_dcc.multiple_click("#btn", 3)
      wait.until(
          lambda: dash_dcc.get_local_storage() == {"n_clicks": 3},
          timeout=1,
      )
  
      # button click sets clear_data=True on all type of stores
      dash_dcc.find_element("#clear-btn").click()
  
      dash_dcc.wait_for_text_to_equal("#output", "")
  
      assert (
          not dash_dcc.find_element("#output").text
          and not dash_dcc.get_local_storage()
          and not dash_dcc.get_session_storage()
      ), "set clear_data=True should clear all data in three storage types"
  
      assert dash_dcc.get_logs() == []
  
file_path: dash/components/dash-core-components/tests/integration/store/test_component_props.py
imports: import json
  import time
  from pytest import approx
  from dash import Dash, Input, State, Output, dcc, html
  from dash.exceptions import PreventUpdate
  import dash.testing.wait
label_desc: Use image node_id 1 for calling a global function with example usage: test_stcp001_clear_data_on_all_types(store_app, dash_dcc) without return types