The behavior of a dishwasher when the electricity goes off during a cycle can vary depending on the specific model and manufacturer. In general, most dishwashers do not automatically restart from the exact point where they left off if the power is interrupted.
When the power supply is restored after an outage, some dishwashers may resume the cycle from the point it was interrupted, while others may require manual intervention to restart the cycle. This typically involves selecting the desired program again and pressing the start button.
To get accurate information about a particular dishwasher model, it's always best to consult the manufacturer's documentation or contact their customer support for specific details on how that particular dishwasher behaves in the event of a power outage.