Washer won't spin or drain

When I start the machine, it fills and agitates fine. When it finishes the wash (agitation) cycle, it stops when it should start the drain/spin cycle. The same thing occurs during the rinse cycle. If I advance the time it won’t do anything but fill and agitate
Does this sound like a lid switch or a timer problem? :

Eddie

Sounds like the lid switch, but it is easy to check out. Just by pass it and see if it spins, if it does replace the lid switch and you are all set.