Hi.
You are on the right track.First the diod then the magnetron ( to the ground).
Here are the breakdown diagrams and
Interior and Ventilation parts for Whirlpool GH8155XJB0 - AppliancePartsPros.com
Simon.
Post the results.
Below find the link how to test this.