code: def test_interact_with_icon():
      randomPixmap = QtGui.QPixmap(64, 64)
      randomPixmap.fill(QtGui.QColor("red"))
  
      parent = Parameter.create(name="parent", type="group")
  
      @interact.decorate(
          runActionTemplate=dict(icon=randomPixmap),
          parent=parent,
          runOptions=RunOptions.ON_ACTION,
      )
      def a():
          """"""
  
      groupItem = parent.child("a").itemClass(parent.child("a"), 1)
      buttonPixmap = groupItem.button.icon().pixmap(randomPixmap.size())
  
      # hold references to the QImages
      images = [pix.toImage() for pix in (randomPixmap, buttonPixmap)]
  
      imageBytes = [fn.ndarray_from_qimage(img) for img in images]
      assert np.array_equal(*imageBytes)
  
imports: from functools import wraps
  import numpy
  import pyqtgraph
  import pytest
  from pyqtgraph import functions
  from pyqtgraph.parametertree import InteractiveFunction, Interactor, interact, RunOptions
  from pyqtgraph.parametertree import Parameter
  from pyqtgraph.parametertree.Parameter import PARAM_TYPES
  from pyqtgraph.parametertree.parameterTypes import GroupParameter
  from pyqtgraph.Qt import QtGui
label_desc: Use image node_id 19 for calling a global function with example usage: test_interact_with_icon() without return types