code: def test_cbmt004_chain_with_sliders(MULTI, dash_duo):
      app = Dash(__name__)
      app.layout = html.Div(
          [
              html.Button("Button", id="button"),
              html.Div(
                  [
                      html.Label(id="label1"),
                      dcc.Slider(id="slider1", min=0, max=10, value=0),
                  ]
              ),
              html.Div(
                  [
                      html.Label(id="label2"),
                      dcc.Slider(id="slider2", min=0, max=10, value=0),
                  ]
              ),
          ]
      )
  
      if MULTI:
  
          @app.callback(
              [Output("slider1", "value"), Output("slider2", "value")],
              [Input("button", "n_clicks")],
          )
          def update_slider_vals(n):
              if not n:
                  raise PreventUpdate
              return n, n
  
      else:
  
          @app.callback(
              Output("slider1", "value"), [Input("button", "n_clicks")]
          )
          def update_slider1_val(n):
              if not n:
                  raise PreventUpdate
              return n
  
          @app.callback(
              Output("slider2", "value"), [Input("button", "n_clicks")]
          )
          def update_slider2_val(n):
              if not n:
                  raise PreventUpdate
              return n
  
      @app.callback(
          Output("label1", "children"), [Input("slider1", "value")]
      )
      def update_slider1_label(val):
          return "Slider1 value {}".format(val)
  
      @app.callback(
          Output("label2", "children"), [Input("slider2", "value")]
      )
      def update_slider2_label(val):
          return "Slider2 value {}".format(val)
  
      dash_duo.start_server(app)
  
      dash_duo.wait_for_text_to_equal("#label1", "")
      dash_duo.wait_for_text_to_equal("#label2", "")
  
      dash_duo.find_element("#button").click()
      dash_duo.wait_for_text_to_equal("#label1", "Slider1 value 1")
      dash_duo.wait_for_text_to_equal("#label2", "Slider2 value 1")
  
      dash_duo.find_element("#button").click()
      dash_duo.wait_for_text_to_equal("#label1", "Slider1 value 2")
      dash_duo.wait_for_text_to_equal("#label2", "Slider2 value 2")
  
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 4 for calling a global function with example usage: test_cbmt004_chain_with_sliders(MULTI, dash_duo) and returns: str, str, n,  n, n, n