First of all, I think that is a terrible example for our Wiki. It was already there when I made my edits, and I did not pay much attention to it. I will work on coming up with a better, real-world, example.
Having said that, the Action works as designed, and as I expected. As soon as the While conditions are NOT met, the loop is exited. This means that
- Finder is NOT frontmost
- The Keys ⌘⇧ are pressed
THEN the loop will exit.
The Action is a loop, NOT the macro.