waited is a verb.until she wasn't looking is a subordinate clause telling you more about the verb. The subordinate clause until she wasn't looking is being used as an adverbial.