refactor test transition to vote page.