I would just responded, "well, now I know..."

There is room for improvement. But she could approach you in an "acceptable" way and cut the sarcasm... But I get her disappointment in finding out that you had already spoken with the teacher.

But you are both new at this... Grace from and for each other would work here...