test(editor): Intercept credentials save and test request and wait for them to complete before doing assertions