Drop the word name from image field input

This field is labeled as just "Image" in other places, so we want
it to match. Also, "name" can be confusing because users will think
they just need to provide the image name instead of the full image
location, which includes registry and tag version.
This commit is contained in:
Jake McDermott
2021-05-12 14:03:53 -04:00
parent e970620672
commit 7fbe01352f
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ function ExecutionEnvironmentFormFields({
/>
<FormField
id="execution-environment-image"
label={t`Image name`}
label={t`Image`}
name="image"
type="text"
validate={required(null)}

View File

@@ -152,7 +152,7 @@ describe('<ExecutionEnvironmentForm/>', () => {
});
test('should display form fields properly', () => {
expect(wrapper.find('FormGroup[label="Image name"]').length).toBe(1);
expect(wrapper.find('FormGroup[label="Image"]').length).toBe(1);
expect(wrapper.find('FormGroup[label="Description"]').length).toBe(1);
expect(wrapper.find('CredentialLookup').length).toBe(1);
});