Fix "field should not have an error" step: do not generate invalid CSS selectors