From 0041072c47f851ced9c4b65759fbb8f74604aef7 Mon Sep 17 00:00:00 2001 From: SagarRajput-7 Date: Sat, 17 May 2025 02:47:47 +0530 Subject: [PATCH] feat: updated test case --- .../DashboardVariablesSelection/VariableItem.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.test.tsx b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.test.tsx index fac9e3de59e5..a8f60268c678 100644 --- a/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.test.tsx +++ b/frontend/src/container/NewDashboard/DashboardVariablesSelection/VariableItem.test.tsx @@ -167,7 +167,7 @@ describe('VariableItem', () => { , ); - expect(screen.getByTitle('ALL')).toBeInTheDocument(); + expect(screen.getByText('ALL')).toBeInTheDocument(); }); test('calls useEffect when the component mounts', () => {