Ice maker motor

Ice motor does not turn arm. Removed bottom plate to examine. two wires were loose but would not push back into plastic socket for connection to first set of prongs on male side of harness so can’t test motor. all other parts appear to be working