still won't work

Whirlpool washer began by noit filling up with water. Replaced the water inlet valve with no luck. Was advised to replace the motor control unit, which has been done. Washer worked for about 1/2 of a wash cycle and is not full of water and won’t do anything. Have about $300 in new parts on a broken washer. Please advise as to what next.