diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/fields/uploader.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/fields/uploader.tsx index 9e9a4803a579..3d5b783828b9 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/fields/uploader.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/fields/uploader.tsx @@ -53,14 +53,10 @@ export function Uploader({ onUpload }: Props) { }; return ( - + >} initialPromptText={PROMPT_TEXT} @@ -72,13 +68,17 @@ export function Uploader({ onUpload }: Props) { ); } -const TESTING_SCRIPT_LABEL = i18n.translate( +const FORM_ROW_LABEL = i18n.translate( 'xpack.synthetics.createPackagePolicy.stepConfigure.monitorIntegrationSettingsSection.browser.uploader.fieldLabel', { defaultMessage: 'Testing script', } ); +const TESTING_SCRIPT_LABEL = i18n.translate('xpack.synthetics.monitorEdit.uploader.ariaLabel', { + defaultMessage: 'Input for uploading a script file for your monitor', +}); + const PROMPT_TEXT = i18n.translate('xpack.synthetics.monitorConfig.uploader.label', { defaultMessage: 'Select or drag and drop a .js file', });