When does a light ray at the interface of two media not deviate?
When a light ray is incident perpendicular to a surface's interface, it does not deviate.
When a light beam strikes a surface at a greater than critical angle, it does not refract but instead reflects back into the original medium.