diff --git a/awx/ui_next/src/components/DetailList/CodeDetail.js b/awx/ui_next/src/components/DetailList/CodeDetail.js index 4bba4416c8..5e926c6f64 100644 --- a/awx/ui_next/src/components/DetailList/CodeDetail.js +++ b/awx/ui_next/src/components/DetailList/CodeDetail.js @@ -17,6 +17,7 @@ import Popover from '../Popover'; function CodeDetail({ value, label, mode, rows, helpText, dataCy }) { const labelCy = dataCy ? `${dataCy}-label` : null; const valueCy = dataCy ? `${dataCy}-value` : null; + const editorId = dataCy ? `${dataCy}-editor` : 'code-editor'; return ( <> @@ -27,12 +28,13 @@ function CodeDetail({ value, label, mode, rows, helpText, dataCy }) { data-cy={labelCy} >