code: def test_cbmt011_callbacks_triggered_on_generated_output(dash_duo):
      app = Dash(__name__, suppress_callback_exceptions=True)
  
      call_counts = {"tab1": Value("i", 0), "tab2": Value("i", 0)}
  
      app.layout = html.Div(
          [
              dcc.Dropdown(
                  id="outer-controls",
                  options=[
                      {"label": i, "value": i} for i in ["a", "b"]
                  ],
                  value="a",
              ),
              dcc.RadioItems(
                  options=[
                      {"label": "Tab 1", "value": 1},
                      {"label": "Tab 2", "value": 2},
                  ],
                  value=1,
                  id="tabs",
              ),
              html.Div(id="tab-output"),
          ]
      )
  
      @app.callback(
          Output("tab-output", "children"), Input("tabs", "value")
      )
      def display_content(value):
          return html.Div([html.Div(id="tab-{}-output".format(value))])
  
      @app.callback(
          Output("tab-1-output", "children"),
          Input("outer-controls", "value"),
      )
      def display_tab1_output(value):
          call_counts["tab1"].value += 1
          return 'Selected "{}" in tab 1'.format(value)
  
      @app.callback(
          Output("tab-2-output", "children"),
          Input("outer-controls", "value"),
      )
      def display_tab2_output(value):
          call_counts["tab2"].value += 1
          return 'Selected "{}" in tab 2'.format(value)
  
      dash_duo.start_server(app)
  
      dash_duo.wait_for_text_to_equal(
          "#tab-output", 'Selected "a" in tab 1'
      )
      dash_duo.wait_for_text_to_equal(
          "#tab-1-output", 'Selected "a" in tab 1'
      )
      assert call_counts["tab1"].value == 1
      assert call_counts["tab2"].value == 0
  
      dash_duo.find_elements('input[type="radio"]')[1].click()
  
      dash_duo.wait_for_text_to_equal(
          "#tab-output", 'Selected "a" in tab 2'
      )
      dash_duo.wait_for_text_to_equal(
          "#tab-2-output", 'Selected "a" in tab 2'
      )
      assert call_counts["tab1"].value == 1
      assert call_counts["tab2"].value == 1
  
      assert not dash_duo.get_logs()
  
file_path: dash/tests/integration/callbacks/test_multiple_callbacks.py
imports: import time
  from multiprocessing import Value, Lock
  import pytest
  from dash import Dash, Input, Output, State, callback_context, html, dcc, dash_table
  from dash.exceptions import PreventUpdate
  import dash.testing.wait
label_desc: Use image node_id 11 for calling a global function with example usage: test_cbmt011_callbacks_triggered_on_generated_output(dash_duo) and returns: html, str, str