code: def test_dtps0014_disabed_days_timeout(dash_dcc):
      app = Dash(__name__)
  
      min_date = pd.to_datetime("2010-01-01")
      max_date = pd.to_datetime("2099-01-01")
      disabled_days = [
          x
          for x in pd.date_range(min_date, max_date, freq="D")
          if x.day != 1
      ]
  
      app.layout = html.Div(
          [
              html.Label("Operating Date"),
              dcc.DatePickerSingle(
                  id="dps",
                  min_date_allowed=min_date,
                  max_date_allowed=max_date,
                  disabled_days=disabled_days,
              ),
          ]
      )
      dash_dcc.start_server(app)
      date = dash_dcc.wait_for_element("#dps", timeout=5)
  
      """
      WebDriver click() function hangs at the time of the react code
      execution, so it necessary to check execution time.
      """
      start_time = time.time()
      date.click()
      assert time.time() - start_time < 5
  
      dash_dcc.wait_for_element(".SingleDatePicker_picker", timeout=5)
      assert dash_dcc.get_logs() == []
  
file_path: dash/components/dash-core-components/tests/integration/calendar/test_date_picker_single.py
imports: from datetime import datetime, timedelta
  import pandas
  import time
  import pytest
  import werkzeug
  from dash import Dash, Input, Output, html, dcc, no_update
label_desc: Use image node_id 6 for calling a global function with example usage: test_dtps0014_disabed_days_timeout(dash_dcc) without return types