Right now, in random battles there is no team preview, so even after the battle ends you can't know what your opponent had and watching the replay you can't even know what you had.
I think having this knowledge would be nice, since it could be of help to analyze the battle, the reasons behind...