code: def pytest_runtest_makereport(
      item, call
  ):  # pylint: disable=unused-argument
      # execute all other hooks to obtain the report object
      outcome = yield
      if not _installed:
          return
      rep = outcome.get_result()
  
      # we only look at actual failing test calls, not setup/teardown
      if (
          rep.when == "call"
          and rep.failed
          and hasattr(item, "funcargs")
      ):
          for name, fixture in item.funcargs.items():
              try:
                  if name in {"dash_duo", "dash_br", "dashr", "dashjl"}:
                      fixture.take_snapshot(item.name)
              except Exception as e:  # pylint: disable=broad-except
                  print(e)
  
file_path: dash/dash/testing/plugin.py
imports: import pytest
  from .consts import SELENIUM_GRID_DEFAULT
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_runtest_makereport(item, call) without return types