Sunday’s election is a test for the progressive, pro-democracy movement in Thailand, which has repeatedly been blocked from taking power despite success at the polls.