code: def test_dvui002_disable_ui_config(dash_duo):
      app = Dash(__name__)
      app.layout = html.Div(
          [
              html.P(id="tcid", children="Hello Disable UI"),
              dcc.Graph(
                  id="broken", animate=3
              ),  # error ignored by disable
          ]
      )
  
      dash_duo.start_server(
          app,
          debug=True,
          use_reloader=False,
          use_debugger=True,
          dev_tools_hot_reload=False,
          dev_tools_ui=False,
      )
  
      dash_duo.wait_for_text_to_equal("#tcid", "Hello Disable UI")
      logs = str(wait.until(dash_duo.get_logs, timeout=1))
      assert (
          "Invalid argument `animate` passed into Graph" in logs
      ), "the error should present in the console without DEV tools UI"
  
      assert not dash_duo.find_elements(
          ".dash-debug-menu"
      ), "the debug menu icon should NOT show up"
  
file_path: dash/tests/integration/devtools/test_devtools_ui.py
imports: from time import sleep
  import flask
  from dash import Dash, Input, Output, dcc, html
  import dash.testing.wait
  from dash_test_components import WidthComponent
  from tests.assets.todo_app import todo_app
label_desc: Use image node_id 2 for calling a global function with example usage: test_dvui002_disable_ui_config(dash_duo) without return types