Inspect for continuity between the power outside mirror switch terminals using an ohmmeter.


Power outside mirror switch removal/installation
Rearview mirrorMazda 6 Service Manual: Rocking the Vehicle
WARNING
Do not spin the wheels at more than 56 km/h (35 mph), and do not allow
anyone to stand behind a wheel when pushing the vehicle: When the vehicle
is stuck, spinning the wheels at high speed is dangerous. The spinning tire could
overheat and explode. This could cause serious injuries.
...
Mazda 6 Service Manual: Inspection of dtcs for condition detection mode
Note
The cruise set indicator light will illuminate for 3 seconds,
when condition detection mode is on.
If the RESUME/ACCEL switch on the cruise control switch is
malfunctioning, the cruise set indicator light will not give a correct
indication when you inspect the system.
1. Drive ...