If there is a leak, a wet spot will appear on the underside of the floor, allowing for an approximate location of the leak, ineffective for the ground floor without a basement.
dziubek102 wrote: 24h air test will give a reliable result.
Before covering the wires, a 24-hour water test should be performed, to be sure, repeated after making the screed.
I don't have much confidence in the air one.
A small offtopic about the appearance of a stain:
At a neighbor's room on the ground floor (a pre-war brick multi-family building), a stain appeared on the wall, the source of which could not be located. There were no water and sewage pipes in the vicinity. The stain initially widened and stabilized after a few weeks. The neighbor, having no choice, started "forging a stain". He reached the water pipes in the neighboring (!) House. The houses stand next to each other and, as it turned out, they have a common (!) Wall. In the neighboring house, the pipe supplied the bathroom and the wall and floor tiles were so tight that the owner of the bathroom did not have the slightest leakage.