Don't wait until next time. Maybe, your boss has a bad or not good impresssion of you because of this experience.
In addition to 一千零六夜's suggested message, you may start the message with "Thank you for taking time to check this....... I am sure this type of misunderstanding will not occur again."
CC your boss. I read another message of yours regarding the conflict btw you and QA team. Again, don't wait until next time. Your boss might think that you are not good at communication if you wait.