From 6314cf9588b2ddd92c125acbe83467a8dc073571 Mon Sep 17 00:00:00 2001 From: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:26:54 +0200 Subject: [PATCH] Fix typos in Loki template variable tests (#72721) --- .../datasource/loki/components/VariableQueryEditor.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/datasource/loki/components/VariableQueryEditor.test.tsx b/public/app/plugins/datasource/loki/components/VariableQueryEditor.test.tsx index 81a4259c334..c8f6298e6f8 100644 --- a/public/app/plugins/datasource/loki/components/VariableQueryEditor.test.tsx +++ b/public/app/plugins/datasource/loki/components/VariableQueryEditor.test.tsx @@ -42,10 +42,10 @@ describe('LokiVariableQueryEditor', () => { expect(onChange).not.toHaveBeenCalled(); - await selectOptionInTest(screen.getByLabelText('Query type'), 'Label values'); + await selectOptionInTest(screen.getByLabelText('Query type'), 'Label names'); expect(onChange).toHaveBeenCalledWith({ - type: LokiVariableQueryType.LabelValues, + type: LokiVariableQueryType.LabelNames, label: '', stream: '', refId,