Fixed rich test e2e test - should detect click outside to save edit