No, the lenses are generally not vibration tested.
Only a very small percentage of lenses on the market are designed to withstand vibrations and shocks.
Most lenses have a protection class of IP20, which offers minimal protection against dust and no protection against water.
Key Points:
Vibration Resistance: Only a few lenses (in the low single-digit percentage) are vibration-resistant.
General Quality: Most lenses are not guaranteed to perform well under vibration or shock conditions.
Protection Class: Guessed approximately 98% of lenses have only IP20 protection.
See also:
Are the lens elements glued into the lens barrels?
What are the challenges in glueing lens elements into the lens barrels?