How to not lose frame, but still dont be like i just need ONS?

How to react to her shit tests?

How to train her to act in a proper (my) way and is it even possible?