The diverter is a motor that drives a disk with a hole in it. The purpose is to allow water from the pump to flow to either the bottom washarm or the upper rack wash arm. It should pause, not run continuously. The diverter motor has a momentary contact position switch that tells the control board when the motor has reached the next position. The problem could be wire connections to diverter, a bad diverter or possibly a bad control.