A wavefront sensor is used as a direct observation tool to image the Gouy phase shift in photonic nanojets created by micrometer-sized dielectric spheres. The amplitude and phase distributions of light are found in good agreement with a rigorous electromagnetic computation. Interestingly the observed phase shift when travelling through the photonic jet is a combination of the awaited π Gouy shift and a phase shift induced by the bead refraction. Such direct spatial phase shift observation using wavefront sensors would find applications in microscopy, diffractive optics, optical trapping, and point spread function engineering.