16118: Adds test checking writable/readonly collection UI changes.
[arvados-workbench2.git] / src / views-components / resource-properties-form / property-key-field.tsx
index 1f92118885690992b19cb6c81e5a88eaea47c959..d17f50d46530484b07a6682314eb8527b2e10d02 100644 (file)
@@ -16,11 +16,13 @@ export const PROPERTY_KEY_FIELD_ID = 'keyID';
 
 export const PropertyKeyField = connectVocabulary(
     ({ vocabulary, skipValidation }: VocabularyProp & ValidationProp) =>
+        <span data-cy='property-field-key'>
         <Field
             name={PROPERTY_KEY_FIELD_NAME}
             component={PropertyKeyInput}
             vocabulary={vocabulary}
             validate={skipValidation ? undefined : getValidation(vocabulary)} />
+        </span>
 );
 
 const PropertyKeyInput = ({ vocabulary, ...props }: WrappedFieldProps & VocabularyProp) =>