Fix replace-selector-input test