code: def test_clsd015_clientside_chained_callbacks_returning_promise(
      dash_duo,
  ):
      app = Dash(__name__, assets_folder="assets")
  
      app.layout = html.Div(
          [
              html.Div(id="input", children=["initial"]),
              html.Div(id="div-1"),
              html.Div(id="div-2"),
          ]
      )
  
      app.clientside_callback(
          ClientsideFunction(
              namespace="clientside", function_name="chained_promise"
          ),
          Output("div-1", "children"),
          Input("input", "children"),
      )
  
      @app.callback(
          Output("div-2", "children"), Input("div-1", "children")
      )
      def callback(value):
          return value + "-twice"
  
      dash_duo.start_server(app)
  
      dash_duo.wait_for_text_to_equal("#div-1", "initial-chained")
      dash_duo.wait_for_text_to_equal("#div-2", "initial-chained-twice")
  
imports: from multiprocessing import Value, Lock
  from dash import Dash, Input, Output, State, ClientsideFunction, ALL, html, dcc
  from selenium.webdriver.common.keys import Keys
label_desc: Use image node_id 14 for calling a global function with example usage: test_clsd015_clientside_chained_callbacks_returning_promise(dash_duo) and returns: unknown