Merge branch 'sg/t6050-failing-editor-test-fix' into maint * sg/t6050-failing-editor-test-fix: t6050-replace: make failing editor test more robust