Timer?

Everything seems to work on my washer (agitates and spins) but it won’t advance from one cycle to the next. I replaced the timer but it’s doing the same thing. Did I get a bad timer or is something else causing this? Thanks.