Its a good question and a conundrum that people may not realise when they book flights.

It's very unclear but the way I see it is if you have had both jabs (the last at least two weeks prior to departure) you do not have to test.
You do though have to book two tests for when you get back, one taken on the second day after returning and one on the eighth day. These I believe are up to 200 quid!
You also have to take the "quick test" before you leave Menorca (or any amber country) two days before departure and test negative.

I believe if you tested positive, you would have to isolate (or quarantine) for ten days which could be expensive.

You have to ask yourself, "is it feckin worth all the hassle?"