Andrea wanted to go on the school trip.
Finally, the results were posted and saw that she had passed.
Andrea had to do a homework to get on the list to attend.
Andrea had to pass a test to get on the list to attend.