When taking a driver's test and someone is crossing the road, do I....?

wait until they get to the other side of the road (still on road but not on my side) or until they get onto the sidewalk? Would I obstruct traffic if I do wait for them to get onto the sidewalk? I live in Alberta if that matters. Thank you.
10 answers 10