While the plumber is on the way, the water is stopped at the shut off under the fixture or the suite's own valve, but only where that valve can be reached without standing under the wet ceiling or in water. In a condo, the valves on the floor and the risers are controlled by building management, who are called at once.
Nobody goes near the panel, a switch or a light fitting that water may reach, and nobody stands under a ceiling that sags or bulges: leave the room and keep others out of it. The City of Toronto says to stay away from electrical equipment, to contact Toronto Hydro to have the power shut off where water has risen above outlets or is near the electrical panel, and to have a licensed electrical contractor assess the hazards. The plumber, and the electrical contractor where water has reached the wiring, assess the area before the ceiling is touched. The as found photos are taken from a safe spot.
We only use ECRA/ESA-Licensed Electrical Contractors.