Automotive criteria depends on the auto maker and where the component is located on the vehicle. If it is in a splash zone then salt spray may be applicable. If it is not, then high temp/high humidity is usually more appropriate. Accellerated environmental testing of Mg usually does not directly correlate with real use due to numerous variables including air quality, temperature, exposure time, humidity, condesation, etc. Corrosion is time dependent and the other variable often change quite frequenly relative to the overall time scale. Therefore these accellerated test are better for comparing materials, coatings, and designs than predicting end life.
A common and effective test (non-splash zone) would be 80 degrees C at 80% relative humidity for a given time (say 500 or 1000 hours). CASS and other spray tests yield very different results than high temp/high humidity for obvious reasons.
If you are evaluating coating, anodizing (alone or as a prep for painting) is very effective for non-conductive applications. Henkel also offers a non-chromate version. If you need electrical or thermal conductivity however, metallic coating might be the only option. Nickel being the best perhaps. As mentioned, metallic coating are "barrier coatings" and it may be impossible to get total coverage on Mg. Therefore, expect local galvanic corrosion sites where the coating is discontinous. Spray test will reveal these sites quickly. Temp/humidity tests will take longer to unfold, but you will surely find them.
DD