Set Appliance State:

Isolate Mains Power to appliance as per TOPs P4
Set Multimeter to Resistance Set meter to measure resistance
Disconnect X2 from the PCB

Measurement:

Check for continuity (zero resistance) between pin 1 on X2 and the black & white wire at the spark generator.
Inspect harness and connector for good overall condition.
Note:
Wires may be multicoloured.