After clicking the "Save changes" button, we were sometimes checking expectations that were already true before clicking the button, so it was possible that the request generated by that button didn't finish before the test did. So now we're checking that the button is no longer present, which is only true after the request has finished.