Ours are usually done the other way round. The wiring is put in place and pokes out through holes in the board, then when it is fully boarded, the boxes are put in and connected up.
Steve.
When I built my house in 1984 in New York state wiring was done in 3 stages with a inspection at each stage.
1. Meter housing and circuit breaker panel and associated wiring installed.
Once that was inspected then a meter would be installed by the power company and the power turned on.
2. "Rough in wiring" Basically what was shown in the first photo but to US code (Wiring boxes, wiring fastened as required ETC.
Once this was inspected the dry wall and other covering could be installed. It was understood that a couple of circuits using this wiring would have outlets installed, and be connected and used during construction. Usually one outlet on each floor and two or more next to the panel.
3. Instillation of all devices. Outlets, switches, light fixtures, ETC complete with cover plates. The only exception was that the circuit breaker panel cover was to be displayed next to the panel to prove you had not lost it but not installed. At this inspection the inspector has the option of checking each outlet for proper wiring with a 3 bulb tester, and asking you to remove any cover plates to check your work. If you pass. Your wiring is complete. A report is turned over to the town and is part of the inspections need for a certificate of occupancy.
I passed.