There must be a pin-hole in the cable insulation. If you want a reliable repair, and the cable is sealed into the flyback transformer (i.e. non-replaceable), you'll need to locate the pinhole, clean the cable with IPA for several inches either side, and dry thoroughly, then patch the insulation with clear silicone self-amalgamating tape, building it up to double the existing diameter at the pinhole, and tapering it over a few inches either side of the damage to give enough creepage distance along the cable jacket to self-amalgamating tape joint. As silicone self-amalgamating tape is quite soft, you should probably remove the anode cap from the cable so you can add heatshrink over the whole repair.
Testing for defects by arcing to ground is risky - it can burn out the flyback chopper transistor (line output transistor in TVs), and even burn out the transformer.