Measuring inside the iframe removed the cause. The editor now opens oversized pages already fitted, so the zoom loop rarely has anything to do.
But nothing checks the screenshots themselves. A person still looks at them after every run.
What specific value or UI state could a test have checked in your case to catch the false pass?