diff options
Diffstat (limited to 'spec/frontend/monitoring/mock_data.js')
-rw-r--r-- | spec/frontend/monitoring/mock_data.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/spec/frontend/monitoring/mock_data.js b/spec/frontend/monitoring/mock_data.js index a8443c08b00..4611e6f1b18 100644 --- a/spec/frontend/monitoring/mock_data.js +++ b/spec/frontend/monitoring/mock_data.js @@ -642,7 +642,7 @@ const generateMockTemplatingData = data => { const responseForSimpleTextVariable = { simpleText: { - label: 'var-simpleText', + label: 'simpleText', type: 'text', value: 'Simple text', }, @@ -650,7 +650,7 @@ const responseForSimpleTextVariable = { const responseForAdvTextVariable = { advText: { - label: 'var-Variable 4', + label: 'Variable 4', type: 'text', value: 'default', }, @@ -658,7 +658,8 @@ const responseForAdvTextVariable = { const responseForSimpleCustomVariable = { simpleCustom: { - label: 'var-simpleCustom', + label: 'simpleCustom', + value: 'value1', options: [ { default: false, @@ -682,7 +683,7 @@ const responseForSimpleCustomVariable = { const responseForAdvancedCustomVariableWithoutOptions = { advCustomWithoutOpts: { - label: 'var-advCustomWithoutOpts', + label: 'advCustomWithoutOpts', options: [], type: 'custom', }, @@ -690,7 +691,8 @@ const responseForAdvancedCustomVariableWithoutOptions = { const responseForAdvancedCustomVariableWithoutLabel = { advCustomWithoutLabel: { - label: 'var-advCustomWithoutLabel', + label: 'advCustomWithoutLabel', + value: 'value2', options: [ { default: false, @@ -710,7 +712,8 @@ const responseForAdvancedCustomVariableWithoutLabel = { const responseForAdvancedCustomVariable = { ...responseForSimpleCustomVariable, advCustomNormal: { - label: 'var-Advanced Var', + label: 'Advanced Var', + value: 'value2', options: [ { default: false, |