From 7fbe01352f35de91d46a3a572216f96847297711 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 12 May 2021 14:03:53 -0400 Subject: [PATCH] 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. --- .../ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx | 2 +- .../shared/ExecutionEnvironmentForm.test.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx b/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx index 59dff9fc16..854d331c88 100644 --- a/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx +++ b/awx/ui_next/src/screens/ExecutionEnvironment/shared/ExecutionEnvironmentForm.jsx @@ -95,7 +95,7 @@ function ExecutionEnvironmentFormFields({ /> ', () => { }); 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); });