In extreme cases, it could take as long as the original development. Your latest masterpiece must be rigorously evaluated on a range of mobile, tablet and desktop devices with differing OSs, screen resolutions, and capabilities. The days of checking functionality in a couple of browsers are long gone.
Website testing has become increasingly complex.