A gerund is a noun that is made when you add -ing to a verb.
So "She was dancing with her best friend" does not have a gerund, since "dancing" is part of the verb phrase "was dancing." Same goes for "After school gets out, I will be swimming," since "will be swimming" is a verb phrase.