Morning Experimental, welcome to ETO .. .. .. ..
Before you embark on a lengthy search for a faulty cable .. ..
IMHO it's much more likely to be a mechanical problem than an electrical one .. .. 3 things to check ..
1. Check that the drain hose, usually ribbed rubber is not either clogged or kinked in some way preventing drainage. Dishwashers don't drain particularly quickly so even a partial obstruction may give a problem.
Also, there is a drain filter inside the tub - checked that is isn't clogged or obstructed. They are usually on the bottom panel of the tub to one side. If your machine is a Bosch, it may be underneath the bottom panel.
2. Check that the Drain Valve is operating .. .. usually the drain hose is attached to the drain valve with a hose clip.
3. Check the pressure switch; If this switch is faulty the machine will not know there is water in it. These come in a variety of shapes and sizes, googling 'dishwasher pressure switch' will give you some idea. It can be identified by a small tube attached, often clear plastic. Easily checked by removing it and blowing into the tube inlet - listening for the click - but CAUTION .. if your tub is full of water pulling off this tube will drain it all over your feet !
If all of this is OK, then you're more likely to have an electrical problem.
I hope this helps
S