Rain does not fill toilets with water unless you remove the toilet lid
I have placed some toilets during the rain and they weren’t filled with water. It doesn’t matter if the toilet lid is opened or closed. If I remove the toilet lid enitrely the toilet fills perfectly fine.