1. Remove the sunroof switch.
2. Inspect for continuity between the sunroof switch terminals using an ohmmeter.


Sunroof switch removal/installationMazda 6 Service Manual: Starter removal/installation
Warning
When the battery cables are connected, touching the vehicle body with starter
terminal B will generate sparks. This can cause personal injury, fire, and
damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
1. Di ...
Mazda 6 Service Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...