I was recently on EZY2397 HESH to EGGW. The Pilot left the cockpit on multiple occasions during that flight.
Admittedly the first incident was on the ground when just before take as we are rolling on to the runway a child was violently sick. It emerged that the child had gastroenteritis and had done for 7 days. This poor lad was so ill I cannot believe he was allowed to board in the first place.
However, half way through the flight the FO and Pilot both left the cockpit (at different times) to talk to the cabin crew at the front of the aircraft.....yet there are many on this thread saying it's not allowed? What about toilet breaks etc?