A long-time state Labor government is under the pump with crucial by-elections likely to reveal the extent of voters' dissatisfaction after a turbulent summer.