editor focus tests: Add missing rejectOnError around edit callback