diff --git a/public/app/plugins/datasource/parca/QueryEditor/QueryEditor.test.tsx b/public/app/plugins/datasource/parca/QueryEditor/QueryEditor.test.tsx index 3f4ea1620ab..8837006aed5 100644 --- a/public/app/plugins/datasource/parca/QueryEditor/QueryEditor.test.tsx +++ b/public/app/plugins/datasource/parca/QueryEditor/QueryEditor.test.tsx @@ -13,7 +13,7 @@ describe('QueryEditor', () => { it('should render without error', async () => { setup(); - expect(screen.findByText('process_cpu:cpu')).toBeDefined(); + expect(await screen.findByText(/process_cpu - cpu/)).toBeDefined(); }); it('should render options', async () => {