A multimeter and YouTube are your friends.
The reason it’s not working on the electric side could be a bad element, faulty thermostat, failed external mini switch or loose connection at any junction
When ours failed it was a failed connection of the hot lead to the external mini switch. Replaced the spade fitting on the wire lead and the mini switch
No pictures
Lyle