Set Appliance State:

Isolate Mains Power to appliance as per TOPs P4
Set Multimeter to Resistance Set meter to measure resistance
Remove the plug from the gas valve and unplug the
connector marked X20 from the PCB

Measurement:

Check harness for continuity across the gas valve leads and the right hand two positions (blue and red) of X20.
Check the general lead condition.