code: def test_inbs001_all_types(dash_dcc):
      def input_id(type_):
          return f"input_{type_}"
  
      app = Dash(__name__)
      app.layout = html.Div(
          [
              dcc.Input(
                  id=input_id(_), type=_, placeholder=f"input type {_}"
              )
              for _ in ALLOWED_TYPES
          ]
          + [html.Div(id="output")]
          + [
              dcc.Input(
                  id=input_id(_) + "2",
                  type=_,
                  placeholder=f"input type {_}",
              )
              for _ in ALLOWED_TYPES
          ]
      )
  
      @app.callback(
          Output("output", "children"),
          [Input(input_id(_), "value") for _ in ALLOWED_TYPES],
      )
      def cb_render(*vals):
          return " | ".join((val for val in vals if val))
  
      dash_dcc.start_server(app)
  
      assert (
          dash_dcc.find_element("#input_hidden").get_attribute("type")
          == "hidden"
      ), "hidden input element should present with hidden type"
  
      for atype in ALLOWED_TYPES[:-1]:
          dash_dcc.find_element(f"#input_{atype}").send_keys(
              f"test intp001 - input[{atype}]"
          )
  
      with pytest.raises(WebDriverException):
          dash_dcc.find_element("#input_hidden").send_keys(
              "no interaction"
          )
  
      dash_dcc.percy_snapshot("inbs001 - dcc callback output rendering")
  
      assert dash_dcc.get_logs() == []
  
imports: import pytest
  from selenium.common.exceptions import WebDriverException
  from dash import Dash, Input, Output, dcc, html
label_desc: Use image node_id 1 for calling a global function with example usage: test_inbs001_all_types(dash_dcc) and returns: str, type_, str