From cd262ce35d443e712db65f1d1570473b208fecbb Mon Sep 17 00:00:00 2001 From: Sai Medhini Reddy Maryada Date: Wed, 28 Aug 2024 21:19:34 -0700 Subject: [PATCH] added --- public/pages/workflow_detail/workflow_detail.test.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/pages/workflow_detail/workflow_detail.test.tsx b/public/pages/workflow_detail/workflow_detail.test.tsx index 7f669d2e..163a849f 100644 --- a/public/pages/workflow_detail/workflow_detail.test.tsx +++ b/public/pages/workflow_detail/workflow_detail.test.tsx @@ -55,6 +55,9 @@ describe('WorkflowDetail', () => { test('renders the page with a div element', () => { const { container } = renderWithRouter(); // Render the component + // Log the full rendered HTML + console.log("Rendered HTML:", container.innerHTML); + // Check if there's at least one div element in the rendered output const divElements = container.querySelectorAll('div'); console.log("Div elements found:", divElements); @@ -63,3 +66,4 @@ describe('WorkflowDetail', () => { expect(divElements.length).toBeGreaterThan(0); }); }); +