Given there are plenty of DMV drive test videos, it seems random. OK, not said it's a law.
I was told that they wont allow drive tests in a Tesla because of drivers aids, but read complaints of people failing due to regen braking and perception of brake pedal use.
I don't have a Tesla so unsure if the cams can be turned off.
Perhaps if you took those tests in a bus that had a dashcam? Cameras inside those places are not common, like dashcams are on public roadways, which is different than in those buildings.
The thing is, it's not recording the test, the occupants, it's recording the surrounding area.
Moot point now, but anyone wants that protective video, just hide the camera.