GE washer/dryer combo

GE washer/dryer combo- when put on any wash cycle, it fills for about 10 seconds, then it agitates for about 5 seconds, then dumps all the water and starts to fill again. I’ve replaced the main board and selector switch- neither made any difference. Any ideas?