Why did my dishwasher have a spark at the door hinge?
Are there buttons in the door panel? If so, then there are connections ie wires going through to the panel.
It may be that ine wire is broken and re-made contact with itself causing the spark that was seen. If so, this would not be detected as a fault because there was no fault.
If the broken wire touched the frame to cause a spark then that would and should have triggered a fault.
If the wires are starting to degrade / break then while it may work now it will only get worse. Start saving for a repair bill or replacement.