Set Appliance State:

Isolate Mains Power to appliance as per TOPs P4
Set Multimeter to Resistance Set meter to measure resistance
Remove the connector from the pump assembly

Measurement:

Measure the resistance between pin 5 (brown) and pin 11 (blue) on connector X2 to the corresponding connection at the pump harness.
Measure the resistance between the earth on the pump harness to a suitable earth point.
Expect continuity / zero resistance on each test.
Also visually inspect the condition of the harness and connectors.