<?xml version="1.0" ?>
<pqevents>
  <pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menu_View" />

  <!-- hide Node Editor -->
  <pqevent object="pqClientMainWindow/menubar/menu_View" command="activate" arguments="Node Editor" />

  <!-- Enforce viewport size -->
  <pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuTools" />
  <pqevent object="pqClientMainWindow/menubar/menuTools" command="activate" arguments="actionTesting_Window_Size" />

  <!-- Create Sphere -->
  <pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuSources" />
  <pqevent object="pqClientMainWindow/menubar/menuSources/Alphabetical" command="activate" arguments="SphereSource" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />

  <!-- Test node editor toolbar -->
  <!-- show node editor -->
  <pqevent object="pqClientMainWindow/menubar/menu_View" command="activate" arguments="Node Editor" />
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/ZoomButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/LayoutButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/CycleVerbosityButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/ViewNodesCheckbox" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/AutoLayoutCheckbox" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/ResetButton" command="activate" arguments="" />

  <!-- Change property of the sphere from the classic tab (not testable from the node editor yet) -->
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/EndTheta/DoubleRangeWidget/DoubleLineEdit" command="set_string" arguments="180" />

  <!-- Apply from node editor -->
  <pqevent object="pqClientMainWindow/pqNodeEditorWidget/nodeEditorWidget/toolbar/ApplyButton" command="activate" arguments="" />

  <!-- Close node editor for reliable baseline capture -->
  <pqevent object="pqClientMainWindow/menubar/menu_View" command="activate" arguments="Node Editor" />
</pqevents>
