Skip to content
Snippets Groups Projects
Commit 475d5077 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

fix(add-user): add data-test to add user

parent 58a63d3c
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ const AddUserForm = ({ roles, journal, error }) => {
validate={[emailValidator]}
/>
</RowItem>
<RowItem>
<RowItem data-test="role-selector">
<Label> Role*</Label>
<ValidatedField
component={input => <Menu {...input} options={roleOptions} />}
......@@ -51,7 +51,7 @@ const AddUserForm = ({ roles, journal, error }) => {
<Label> Affiliation </Label>
<ValidatedField component={TextField} name="affiliation" />
</RowItem>
<RowItem>
<RowItem data-test="title-selector">
<Label> Title </Label>
<ValidatedField
component={input => <Menu {...input} options={journal.title} />}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment