A sign goes up outside and the assumption is immediate: I am being evicted. Usually you are not, and the rules here are more protective than most tenants realise.
What does not change
A sale does not end your tenancy. The buyer steps into the landlord's shoes and takes the property subject to your lease: same rent, same terms, same rights. Your deposit transfers with it, and so does the interest owed on it.
Showings
Twenty-four hours' written notice, stating the reason and a time between 8am and 8pm. Every showing, every time.
You do not have to leave, and you do not have to tidy or stage the unit.
No lockbox access without your agreement.
Open houses are not authorised by the entry provisions in the way individual showings are. You can decline one.
Constant showings at unreasonable hours, or entry without notice, is interference with your reasonable enjoyment and is what a T2 application exists for. That said, a landlord who asks nicely and offers something in return is worth working with. You will get a better outcome negotiating a schedule than refusing everything.
If the buyer wants to move in
This is the one case where a sale can end your tenancy. A purchaser who in good faith requires the unit for themselves, a spouse, a parent or a child, or a caregiver for one of those people, can require the seller to serve you an N12.
At least sixty days' notice, ending on the last day of a rental period. A genuine intention to occupy. And one month's rent in compensation, or an offer of another acceptable unit, paid by the termination date. If the compensation is not paid, the notice is void.
You are not obliged to move out because you received an N12. If you do not agree, the landlord must apply to the Board and get an order, and you can put your case at the hearing.
Full detail is in N12 and Personal Use.
Your last month's rent deposit is applied to your final month. You are owed interest on that deposit for every year it was held. And if the buyer never moves in, you may have a bad-faith claim for up to twelve months' rent even after you have gone.