The fact that it does not fill completely can be related to a problem with the water-level switch, that regulates the water level.
See from Repairclinic:
"This switch is
usually a diaphragm device with a small, clear tube attached between
the switch and the bottom of the washer's outer tub. As the water level
in the tub increases, the pressure on the air in the tube increases.
When the pressure reaches a certain level, it activates the switch,
shuts off the water, and signals the timer to begin the agitate cycle.
If the switch is defective, it may prematurely signal the water to shut
off. If so, you probably need to replace the water-level switch."
However, when it is only the switch the mashine usually completes the cycle, but with less water than normal.
A possibilty is that either the timer is faulty or there is a problem with the water supply.
Check that water is coming from water supply with regular pressure, and that hoses back there are not obstructed.
More likely you will have to replace the timer.
See again from Repairclinic:
"When the cycle doesn't advance, it's probably the timer or a cold-water supply problem:
the timer, if your washing machine fills with water and begins
agitating, but the timer never advances--or if the washer is in a spin
cycle and the timer won't advance. Then you need to replace the timer.
may be a cold-water supply problem, if the washing machine fills with
water, agitates, drains, and spins, but then doesn't fill with rinse
water. See There's no cold water."
You can find parts at the following websites, you need to input your model number. If the part is not listed contact them.RepairclinicPartselect
Don't forget to rate the solution.