@@ -116,7 +116,7 @@ describe('Console Application Simulation', () => {
116116 // Verify content from help_page (part of kitchen sink)
117117 await waitFor ( ( ) => {
118118 expect ( screen . getByText ( / A p p l i c a t i o n G u i d e / i) ) . toBeInTheDocument ( ) ;
119- } ) ;
119+ } , { timeout : 10000 } ) ;
120120 expect ( screen . getByText ( / W e l c o m e t o t h e O b j e c t S t a c k C o n s o l e / i) ) . toBeInTheDocument ( ) ;
121121 } ) ;
122122
@@ -126,7 +126,7 @@ describe('Console Application Simulation', () => {
126126 // Verify Dashboard Title
127127 await waitFor ( ( ) => {
128128 expect ( screen . getByText ( / S a l e s O v e r v i e w / i) ) . toBeInTheDocument ( ) ;
129- } ) ;
129+ } , { timeout : 10000 } ) ;
130130
131131 // Verify Widget Rendering (Bar Chart)
132132 expect ( screen . getByText ( / S a l e s b y R e g i o n / i) ) . toBeInTheDocument ( ) ;
@@ -216,7 +216,7 @@ describe('Console Application Simulation', () => {
216216 // Verify Report Title
217217 await waitFor ( ( ) => {
218218 expect ( screen . getByText ( / S a l e s P e r f o r m a n c e R e p o r t / i) ) . toBeInTheDocument ( ) ;
219- } ) ;
219+ } , { timeout : 10000 } ) ;
220220
221221 // Verify Description
222222 expect ( screen . getByText ( / M o n t h l y b r e a k d o w n o f s a l e s / i) ) . toBeInTheDocument ( ) ;
@@ -246,7 +246,7 @@ describe('Console Application Simulation', () => {
246246 renderApp ( '/kitchen_sink' ) ;
247247 await waitFor ( ( ) => {
248248 expect ( screen . getByRole ( 'heading' , { name : / K i t c h e n S i n k / i } ) ) . toBeInTheDocument ( ) ;
249- } ) ;
249+ } , { timeout : 10000 } ) ;
250250
251251 // Verify the form can be opened (showing metadata was loaded)
252252 const newButton = screen . getByRole ( 'button' , { name : / N e w / i } ) ;
@@ -255,7 +255,7 @@ describe('Console Application Simulation', () => {
255255 // Verify form loaded with schema-based fields
256256 await waitFor ( ( ) => {
257257 expect ( screen . getByRole ( 'dialog' ) ) . toBeInTheDocument ( ) ;
258- } ) ;
258+ } , { timeout : 10000 } ) ;
259259
260260 // Form should render based on mocked schema
261261 // The actual field labels might differ based on implementation
@@ -271,7 +271,7 @@ describe('Console Application Simulation', () => {
271271
272272 await waitFor ( ( ) => {
273273 expect ( screen . getByRole ( 'heading' , { name : / K i t c h e n S i n k / i } ) ) . toBeInTheDocument ( ) ;
274- } ) ;
274+ } , { timeout : 10000 } ) ;
275275
276276 const newButton = screen . getByRole ( 'button' , { name : / N e w / i } ) ;
277277 expect ( newButton ) . toBeInTheDocument ( ) ;
@@ -290,17 +290,17 @@ describe('Console Application Simulation', () => {
290290
291291 await waitFor ( ( ) => {
292292 expect ( screen . getByRole ( 'heading' , { name : / K i t c h e n S i n k / i } ) ) . toBeInTheDocument ( ) ;
293- } ) ;
293+ } , { timeout : 10000 } ) ;
294294
295295 // Verify data source was called to load grid data
296296 await waitFor ( ( ) => {
297297 expect ( findSpy ) . toHaveBeenCalledWith ( 'kitchen_sink' , expect . any ( Object ) ) ;
298- } ) ;
298+ } , { timeout : 5000 } ) ;
299299
300300 // Verify grid displays the loaded data
301301 await waitFor ( ( ) => {
302302 expect ( screen . getByText ( 'Item 1' ) ) . toBeInTheDocument ( ) ;
303- } ) ;
303+ } , { timeout : 5000 } ) ;
304304 expect ( screen . getByText ( 'Item 2' ) ) . toBeInTheDocument ( ) ;
305305 } ) ;
306306
@@ -378,7 +378,7 @@ describe('Kanban Integration', () => {
378378 // Assert: Prop Mapping - verify schema props are reflected in DOM
379379 await waitFor ( ( ) => {
380380 expect ( screen . getByText ( 'To Do' ) ) . toBeInTheDocument ( ) ;
381- } ) ;
381+ } , { timeout : 10000 } ) ;
382382
383383 // Use getAllByText for "In Progress" since it appears in both header and badge
384384 const inProgressElements = screen . getAllByText ( 'In Progress' ) ;
@@ -472,12 +472,12 @@ describe('Kanban Integration', () => {
472472 // Wait: for async metadata fetch and rendering
473473 await waitFor ( ( ) => {
474474 expect ( screen . getByText ( 'To Do' ) ) . toBeInTheDocument ( ) ;
475- } ) ;
475+ } , { timeout : 10000 } ) ;
476476
477477 // Assert: Check that the UI was generated and data appears
478478 await waitFor ( ( ) => {
479479 expect ( screen . getByText ( 'Task 1' ) ) . toBeInTheDocument ( ) ;
480- } ) ;
480+ } , { timeout : 10000 } ) ;
481481
482482 expect ( screen . getByText ( 'Task 2' ) ) . toBeInTheDocument ( ) ;
483483 expect ( screen . getByText ( 'Task 3' ) ) . toBeInTheDocument ( ) ;
@@ -517,7 +517,7 @@ describe('Kanban Integration', () => {
517517 // Wait for render - should not crash and should show empty state
518518 await waitFor ( ( ) => {
519519 expect ( screen . getByText ( 'To Do' ) ) . toBeInTheDocument ( ) ;
520- } ) ;
520+ } , { timeout : 10000 } ) ;
521521
522522 // Kanban should render without errors, just with empty columns
523523 expect ( screen . queryByText ( 'Error' ) ) . not . toBeInTheDocument ( ) ;
@@ -586,7 +586,7 @@ describe('Kanban Integration', () => {
586586 // Assert: Read - seeded data appears in the UI
587587 await waitFor ( ( ) => {
588588 expect ( screen . getByText ( 'Implement Feature X' ) ) . toBeInTheDocument ( ) ;
589- } ) ;
589+ } , { timeout : 10000 } ) ;
590590
591591 expect ( screen . getByText ( 'Fix Bug Y' ) ) . toBeInTheDocument ( ) ;
592592 expect ( screen . getByText ( 'Review PR Z' ) ) . toBeInTheDocument ( ) ;
@@ -629,7 +629,7 @@ describe('Kanban Integration', () => {
629629 // Wait for cards to render
630630 await waitFor ( ( ) => {
631631 expect ( screen . getByText ( 'Task Alpha' ) ) . toBeInTheDocument ( ) ;
632- } ) ;
632+ } , { timeout : 10000 } ) ;
633633
634634 // Note: Drag & Drop interaction with @dnd-kit in JSDOM is complex
635635 // This test verifies the setup is correct and the callback is wired
@@ -672,7 +672,7 @@ describe('Kanban Integration', () => {
672672 // Wait for rendering
673673 await waitFor ( ( ) => {
674674 expect ( screen . getByText ( 'Low Priority Task' ) ) . toBeInTheDocument ( ) ;
675- } ) ;
675+ } , { timeout : 10000 } ) ;
676676
677677 // All tasks should be visible and grouped by status
678678 expect ( screen . getByText ( 'High Priority Task' ) ) . toBeInTheDocument ( ) ;
@@ -733,7 +733,7 @@ describe('Kanban Integration', () => {
733733 // Wait for initial render
734734 await waitFor ( ( ) => {
735735 expect ( screen . getByText ( 'Open Task' ) ) . toBeInTheDocument ( ) ;
736- } ) ;
736+ } , { timeout : 10000 } ) ;
737737
738738 // Verify initial state
739739 expect ( screen . getByText ( 'Open Task' ) ) . toBeInTheDocument ( ) ;
0 commit comments