(?)
1) Was she cleaning her room for 2 hours yesterday?
2) Were they swimming in the river when you came?
(-)
1) I wasn't playing the guitar when the telephone rang.
2) She wasn't watering the flowers when someone knocked at the door.
3) They weren't playing football when it started to rain.