A Gen Z uprising that ended 15 years of rule faces its first electoral test amid economic strain and intensifying regional rivalries.