mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 17:48:10 -03:30
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:
@@ -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)}
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user