code: def test_cbcx007_triggered_id(dash_duo):
      app = Dash(__name__)
  
      btns = ["btn-{}".format(x) for x in range(1, 6)]
  
      app.layout = html.Div(
          [
              html.Div([html.Button(btn, id=btn) for btn in btns]),
              html.Div(id="output"),
          ]
      )
  
      @app.callback(
          Output("output", "children"),
          [Input(x, "n_clicks") for x in btns],
      )
      def on_click(*args):
          if not ctx.triggered:
              raise PreventUpdate
          for btn in btns:
              if btn in ctx.triggered_prop_ids.values():
                  assert btn == ctx.triggered_id
                  return f"Just clicked {btn}"
  
      dash_duo.start_server(app)
  
      for i in range(1, 5):
          for btn in btns:
              dash_duo.find_element("#" + btn).click()
              dash_duo.wait_for_text_to_equal(
                  "#output", f"Just clicked {btn}"
              )
  
file_path: dash/tests/integration/callbacks/test_callback_context.py
imports: import json
  import operator
  import pytest
  from dash import Dash, ALL, Input, Output, html, dcc, callback_context, ctx
  from dash.exceptions import PreventUpdate, MissingCallbackContextException
  import dash.testing.wait
  from selenium.webdriver.common.action_chains import ActionChains
label_desc: Use image node_id 7 for calling a global function with example usage: test_cbcx007_triggered_id(dash_duo) and returns: str, btn